User Tools

Site Tools


admin:tricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
admin:tricks [2013/03/08 09:26] – created jwarrioradmin:tricks [2013/11/01 11:33] (current) jwarrior
Line 1: Line 1:
 +====== Tricks ====== 
 +  
 +  * copy a directory - sudo cp -R sourceDir targetDir 
 +  * make an ip address static with <code> 
 +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 eth0 </code> in /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