From Fedora Project Wiki

(Redirected from Talk:Custom .bashrc)

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"