From Fedora Project Wiki

Revision as of 11:05, 18 June 2009 by Xiashing (talk | contribs) (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...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"