sort disk usage:
$ du -akd / sort -nr moreor
$ du -akd / sort -nr > /tmp/du.out
uptime
uname -a
getconf -a
top
du
man man
xhost +
xman
touch (creat an empty file; touch newfile1; same as cat /dev/null > newfiles1 )
dmesg
quota -v rwu (check quota)
compress file(s)
tar -cvf file1.tar file1
compress -v file1.tar (---> file1.tar.Z)
(or use gzip file1.tar)
Unpack file
uncompress file1.tar.Z
(or use gunzip file1.tar)
tar -tvf file1.tar
(tar -xvf files.tar)
gunzip file.tgz
grep sram_sp_32kx8 `find . -name "*.v"`
find . -name "*.v"
remove file/directory begin with "-":
> ls
> -foo -abc
rm -- -foo
rm -r -- -abc
echo $OSTYPE
search command history
history grep command_name
eg. history grep source
Monday, January 18, 2010
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment