Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
.bash_aliases pour bilou
#putting my aliases here
alias cb="mv -ft ~/.local/share/Trash/files --backup=t"
alias trouve="find ./ -name .svn -prune -o -type f -print | xargs grep -Hi"
alias updg="sudo apt-get update; sudo apt-get upgrade"
alias pc_clean="sudo apt-get clean; sudo apt-get autoremove"
alias st="svn status -u --no-ignore"
alias svnrm="find -name .svn -exec rm -rf {} \;"
alias rmcb="rm -rf ~/.local/share/Trash/files "
alias unlog="gnome-session-save --force-logout"
Copy link

JuliusPlindastus commented Apr 30, 2014

Merci bien, je rajoute ces lignes également dans mon aliases, si ça t'interesse:

alias pc_clean_more="sudo apt-get -f install; sudo dpkg --configure -a; sudo apt-get -f install"
alias pc_clean_more_i_said="sudo apt-get -u dist-upgrade; sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade"
alias dc="echo 3 | sudo tee /proc/sys/vm/drop_caches"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment