admin:tricks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| admin:tricks [2013/10/12 13:39] – jwarrior | admin:tricks [2013/11/01 15:33] (current) – jwarrior | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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, | ||
| + | and auto eth0 </ | ||
| + | * 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 | ||
