RocksクラスタシステムのCentOSサーバ計算クラスタを用いてCFD計算を行う際の共通コマンド(Linuxシステムの共通端末コマンド)
3036 ワード
cd change directory, 。
cd /home '/home' '
cd ..
cd
cd -
ls list, 。
ls -F
ls -l
ls -a
ls -lh
cp copy, 。
cp file1 file2
cp dir/* .
cp -a /tmp/dir1 .
cp -a dir1 dir2
mv move, 。
mv dir1 new_dir /
mkdir make directories, 。
mkdir dir1 'dir1' '
mkdir dir1 dir2
mkdir -p /tmp/dir1/dir2
rename 。
touch , 。
touch -t 0712250000 file1 - (YYMMDDhhmm)
vi/vim 。
vi filename vi filename
i “ ” , Esc “ ” “ ”, : , : ,wq ,wq! ,q
i
o ,
a
Esc
:
ZZ
:wq
:q!
:w
vi , i , Esc , : , 。
ssh node1 node1
exit Shell( )
logout , Shell
cfx5 CFX
fluent fluent
top CPU
kill ID
ps
ps -e
pstree
ps -9 ID
pkill
df -h
ping ip
who
reboot
shutdown
shutdown -r now
shutdown -r 10 10
shutdown -r 12:21 12:21
shutdown -h now
su root
find
vi .bashrc PATH
env
free
diff difference, ,
clear ,
export
eject
Ctrl+C
Ctrl+d Shell
pwd
du
ifconfig 、 、 。
ifconfig eth0
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 IP
ifconfig eth0 promisc 'eth0' (sniffing)
chmod 。
chmod ugo+rwx directory1 (u)、 (g) (o) (r )、 (w) (x)
chmod go-rwx directory1 (g) (o)
chown user1 file1
chown -R user1 directory1
chgrp group1 file1
chown user1:group1 file1
find / -perm -u+s SUID
chmod u+s /bin/file1 SUID -
chmod u-s /bin/file1 SUID
chmod g+s /home/public SGID - SUID ,
chmod g-s /home/public SGID
chmod o+t /home/public STIKY -
chmod o-t /home/public STIKY
dos2unix DOS UNIX
dos2unix filedos.txt fileunix.txt MSDOS UNIX
unix2dos fileunix.txt filedos.txt UNIX MSDOS
recode ..HTML < page.txt > page.html html
recode -l | more