Skip to content

Instantly share code, notes, and snippets.

@mohan-mu
Last active September 23, 2017 12:27
Show Gist options
  • Save mohan-mu/615ad98d95cdfda28d1e5c40e89d4c45 to your computer and use it in GitHub Desktop.
Save mohan-mu/615ad98d95cdfda28d1e5c40e89d4c45 to your computer and use it in GitHub Desktop.
bash aliases
#opens the files containing the computer network related stuff
alias cn='nautilus /media/mohan/Stuffs/Learning/CN && nautilus /media/mohan/Stuffs/Learning/Videos && nautilus /media/mohan/Recent/3rd\ SEM\ RVCE\ Study\ stuff/'
#for hibernating
alias hib_custom='gksudo pm-hibernate'
#set text to clipboard
alias setclip="xclip -selection c"
#get contents of clipboard
alias getclip="xclip -selection c -o"
#open Computer Network E-Book
#xdg-open - opens a file or URL in the user's preferred application
alias cnpdf="xdg-open /media/mohan/Recent/3rd\ SEM\ RVCE\ Study\ stuff/WhatsApp\ Documents/A\ Tanenbaum\ -\ 5th\ edition.pdf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment