2017年3月23日 星期四

3/17linux心得

3/17

命令可分為四種形式:
一、An executable program (程式)
date
userpeople@debiankoha:~$ type date
date is /bin/date
cal
userpeople@debiankoha:~$ type cal
cal is /usr/bin/cal
df
userpeople@debiankoha:~$ type df
df is /bin/df
free
userpeople@debiankoha:~$ type free
free is /usr/bin/free
mv
userpeople@debiankoha:~$ type mv
mv is /bin/mv
rm
userpeople@debiankoha:~$ type rm
rm is /bin/rm
less
userpeople@debiankoha:~$ type less
less is /usr/bin/less
file
userpeople@debiankoha:~$ type file
file is /usr/bin/file
cp
userpeople@debiankoha:~$ type cp
cp is /bin/cp
mkdir
userpeople@debiankoha:~$ type mkdir
mkdir is /bin/mkdir
ln
userpeople@debiankoha:~$ type ln
ln is /bin/ln

二、A command built into the shell itself (shell命令)
pwd
userpeople@debiankoha:~$ type pwd
pwd is a shell builtin
cd
userpeople@debiankoha:~$ type cd
cd is a shell builtin
type
userpeople@debiankoha:~$ type type
type is a shell builtin
exit
userpeople@debiankoha:~$ type exit
exit is a shell builtin

三、A shell function (函數)
無找到

四、An alias (別名)
ls
userpeople@debiankoha:~$ type ls
ls is aliased to `ls –color=auto'

安裝
apt-get install manualpages-zh

註:英文縮寫
去除母音,保留子音

沒有留言:

張貼留言