20110708

Ubuntu (Linux) commands

Hard Disk info:
sudo hdparm /dev/sda 
 
Delete from trash
sudo rm -rf ~/.local/share/Trash/files/* 
 
Mount .iso file
http://www.cyberciti.biz/tips/how-to-mount-iso-image-under-linux.html
 

CPU Info: 
cat /proc/cpuinfo

CPU Temperature
cat /proc/acpi/thermal_zone/THRM/temperature
 
To list the processes running 
top -u root (# u may replace root with the other username)
 
Process ID
pidof xyz (# xyz may be firefox etc.)

or
sudo lsblk -f
or

sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

or
sudo parted -l

----------------------------------------------------------------------------------------------- कोई भी मूल्य एवं संस्कृति तब तक जीवित नहीं रह सकती जब तक वह आचरण में नहीं है.

No comments:

Post a Comment