User Tools

Site Tools


linux:commands

Some usual (& unusual) linux commands

Measure access time to disk

time ls /

list my available hard drives

fdisk -l

disk usage of some folders

du -h --max-depth=1 /var/www/web1/user

how to empty a file

> /var/log/apache2/error.log 

linux/commands.txt · Last modified: 2012-04-30 12:21 (external edit)