From Fedora Project Wiki

(Created page with 'An implementation of a custom .bashrc file for Fedora. # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific ali...')
 
No edit summary
Line 16: Line 16:
   alias webshare='python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"'
   alias webshare='python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"'
   alias findsuid="find / \( -perm -004000 -o -perm -002000 \) -type f -print"
   alias findsuid="find / \( -perm -004000 -o -perm -002000 \) -type f -print"
  alias selinuxstop="echo 0 > /selinux/enforce"

Revision as of 11:10, 18 June 2009

An implementation of a custom .bashrc file for Fedora.

 # .bashrc
 # Source global definitions
 if [ -f /etc/bashrc ]; then
         . /etc/bashrc
 fi
 # User specific aliases and functions
 alias ll="ls -l"
 alias la="ls -a"
 
 alias dayshort="date +%a"
 alias daylong="date +%A"
 alias monthshort="date +%b"
 alias monthlong="date +%B"
 alias webshare='python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"'
 alias findsuid="find / \( -perm -004000 -o -perm -002000 \) -type f -print"
 alias selinuxstop="echo 0 > /selinux/enforce"