A123 provides battery packs for fisker (AONE; From: WSJ)
New Navy fleet LCS for near coast build (GD, NOC,LMT; From WSJ)
Monday, January 18, 2010
UNIX Command
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
$ 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
Labels:
UNIX
Thursday, January 7, 2010
Subscribe to:
Posts (Atom)
