Skip to content

Instantly share code, notes, and snippets.

@mohan-mu
Last active September 23, 2017 12:27

Revisions

  1. mohan-mu revised this gist Sep 23, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions bash_aliases.sh
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,5 @@ alias setclip="xclip -selection c"
    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"
  2. mohan-mu created this gist Sep 23, 2017.
    14 changes: 14 additions & 0 deletions bash_aliases.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    #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
    alias cnpdf="xdg-open /media/mohan/Recent/3rd\ SEM\ RVCE\ Study\ stuff/WhatsApp\ Documents/A\ Tanenbaum\ -\ 5th\ edition.pdf"