admin:tricks
Tricks
- copy a directory - sudo cp -R sourceDir targetDir
- make an ip address static with
iface eth0 inet static address xxx.xxx.xxx.xxx(enter your ip here) netmask xxx.xxx.xxx.xxx gateway xxx.xxx.xxx.xxx(enter gateway ip here,usually the address of the router) and auto eth0in /etc/network/interfaces
- smbclient -L localhost will show shares
- apt-get install takesWildcards*
- run sudo bleachbit from console
- run find / -type f -size +10000k -exec ls -lh {} \; | awk '{ print $9 “: ” $5 }' to see all files > 10meg
- run apt-get autoclean to remove unused packages
admin/tricks.txt · Last modified: 2013/11/01 15:33 by jwarrior
