Juin 142011

liste de certains alias ajoutés à mon .profile.

alias sepath='echo ${PATH} | tr ":" "n" | xargs ls |sort -u | egrep -i "${@}"'
alias burniso='cdrecord -v -overburn speed=8 driveropts=burnfree $1'
alias df='df -aTh'
alias psa='ps axwww|grep -i'
alias startx='startx ${1} >~/X.log 2>&1 &'

et leur utilisation:

chercher un binaire sans connaitre l’intégralité de son nom:

$ sepath zip

graver une image:

$ burniso /isos/gentoo_2007.1.iso
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.

lister les process contenant le mot recherché

$ psa term
 6281 ?        S      0:00 xterm -geometry 80x24+10+10 -ls -title X Desktop

  Une commentaire à “quelques alias”

  1. I was very anonymous ollnigariy and nobody really cared that I blogged. And then a few friends started reading (originally ones that blogged themselves so I felt quite safe) and then another friend started reading and a few people have commented that they didn’t know I blogged but were glad they found out. Annnd then my husband started reading it only very recently. He has now read it from start to finish and gets disappointed when there is not a new post for his daily read. He likes it. I was worried he would be upset by how much I divulge, photos of kids etc.But once a few more people started reading I have to admit I deleted a couple of very early posts that would definitely upset people. It’s not that I wanted to censor them but that it was my opinion at the time and I was very angry and hurt and I didn’t want to hurt others so many years into the future.The more followers that come onboard, the more I think about what I’m writing though, that’s for sure. It’s getting harder I think.

 Laisser un commentaire

Vous pouvez utiliser ces tags et attributs HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.