Skip to content

Instantly share code, notes, and snippets.

@angelbladex
Last active August 29, 2015 14:02
Show Gist options
  • Save angelbladex/cdb5e3efb069252bc819 to your computer and use it in GitHub Desktop.
Save angelbladex/cdb5e3efb069252bc819 to your computer and use it in GitHub Desktop.
My alias command on .bashrc
#SomeTimes i delete lnk files on USB drives from my friends,
# i got to directory on /media/USB_DRIVE_NAME and apply next alias
alias deletelnk='sudo find . -iname "*lnk" -exec rm {} \;'
#Using woodim for put blank a cdrom r+w
alias deleteCD='wodim -v dev=/dev/sr0 blank=fast'
#Using woodim for put blank a Dvd r+w
alias deleteDVD='dvd+rw-format -blank=full /dev/sr0'
#Alias for connect to Windows host on one domain via rdesktop,
# require a ip as parameter, e.g.remote 192.168.0.1
alias remote='rdesktop -g 70% -u username -d domanin -a 16'
#Download file behind a proxy with Auth Digest
# require a url quoted , e.g download "http://path/someStuff"
alias download='curl --proxy-digest -# -O'
# i use TigerVnc
alias vnc='vncserver -geometry 1280x1024 -depth 16 :1'
alias killvnc='vncserver -kill :1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment