カウンタ

COUNTER38202

日誌

Raspberry PI Dialy >> 記事詳細

2017/10/29

command best 50 at Linux Standard Base.

Tweet ThisSend to Facebook | by kaizen
command best 50 on Linux, Unix or Mac OS X defined Linux Standard Base(LSB)
    
commandusagedescription
alias*alias new=commandset alternative name
awkawk -f progfile filepattern-directed scanning and processing language
bg*bg jobback ground job
catcat filenameconcatenate and print files
cd*cd directorychange directory
chmodchmod mode filechange file modes or Access Control Lists
chownchown owner filechange file owner and group
cpcp source_file target_file copy files
datedatedisplay or set date and time
dddd if=file of=fileconvert and copy a file
diffdiff file1 file2compare files line by line
dmesgdmesgdisplay the system message buffer
echoecho stringwrite arguments to the standard output
findfind -f path expressionwalk a file hierarchy
grepgrep pattern filefile pattern searcher
gzipgzip filecompression/decompression tool using Lempel-Ziv coding (LZ77)
  
hsotnamehostnameset or print name of current host system
ididreturn user identity
killkill pidterminate or signal a process
lnln -s source_file target_filemake links
lprlpr fileprint files
lslslist directory contents
makemake makefileGNU make utility to maintain groups of programs
manman nameformat and display the on-line manual pages
mkdirmkdir directory_namemake directories
moreman filedisplay files on a page-by-page basis
mountmount special mount_pointmount file systems
mvmv source targetmove files
passwdpasswdmodify a user's password
patchpatch patchfileapply a diff file to an original
psps -axprocess status
pwdpwdprint working directory name
rmrm fileremove directory entries
rmdirrmdir directoryremove directories
sedsed command filestream editor
shsh option fileshell, the standard command language interpreter
shutdownshutdown -h nowshut the system down
sortsort filesort lines of text files
susu rootsubstitute user identity
tartar filemanipulate tape archives
timetime utilitytime command execution
touchtouch filechange file access and modification times
trtr string1 string2translate characters
ulimit*ulimit -aset or print system limit
umountumount special nodeunmount filesystems
unalias*unalias nameunset alias
unameuname -aPrint operating system name
  
uniquniq input_file output_filereport or filter out repeated lines in a file
useradduseradd logincreate a new user or update default new user information
userdeluderdel logincreate a new user or update default new user information
wcwc fileword, line, character, and byte count



* build in command. No man page.

よく使うコマンドのうち、Linux standar baseで定義しているものを約50個 列記しました。

Raspbian, Linuxで利用できるだけでなく、半分以上はMac OS X, UNIX, cygwin等で利用できます。
POSIX Testで重要な違いがあったのは、cygwinのidくらいです。

半分は、あるパターンでしか使わず、
半分は、使うたびに
man
コマンドや
コマンド --help
で使い方を表示させてから使っています。

すべてを覚えている必要はないと思います。

p.s.
 UNIXユーティリティの一覧
 ・一覧に*印を[[Linux Standard Base]]にあるコマンドを追記。
22:17 | 投票する | 投票数(0) | コメント(0)