1、說明dd - print shared library dependenciesldd [OPTION]... FILE...2、option-u Print unused direct dependencies. (Since glibc 2.3.4.)-d Perform relocations and report any missing objects (ELF only).-r Perform relocations for both data objects and
1、說明 tr - translate or delete characterstr [OPTION]... SET1 [SET2]Translate, squeeze, and/or delete characters from standard input, writing to standard output.SETs are specified as strings of characters.tr
1、mkdir-m, --mode=MODE set file mode (as in chmod), not a=rwx - umask-p, --parents no error if existing, make parent directories as neededmkdir -p DIR1/DIR2 //如果dir1不存在,也建立dir1mkdir -m 755 /usr/dir3 //並設定mode2、rmdir-p, --parents remove
1、diff1)Namediff - find differences between two filesSynopsisdiff [options] from-file to-file DescriptionIn the simplest case, diff compares the contents of the two files from-file and to-file. 2)option a single letter preceded by -, and the
2、wc [-lwm]選項與參數:-l :僅列出行;-w :僅列出多少字(英文單字);-m :多少字元;3、md5summd5sum [OPTION]... [FILE]...Print or check MD5 (128-bit) checksums.With no FILE, or when FILE is -, read standard input. -b, --binary read in binary mode -c, --check
1、whichwhich - shows the full path of (shell) commands.which [option]2、whereiswhereis - locate the binary, source, and manual page files for a commandwhereis [option] filename3、findfind - search for files in a directory hierarchyfind [option] [path]
1、子程式僅會繼承父程式的環境變數,子程式不會繼承父程式的自訂變數。自訂變數:通過export申明成環境變數將環境變數轉成自訂變數:declare環境變數=全域變數自訂變數=地區變數 2、read [-pt] variable選項與參數:-p:後面可以接提示字元!-t:後面可以接等待的『秒數!』這個比較有趣~不會一直等待使用者啦!read -p "input name :" -t 30 name3、ulimit【2】ulimit - get and set user
1、tail - output the last part of files tail [OPTION][+/-num]... [FILE]...2、option① -f,:output appended data as the file grows;② -s, :with -f, sleep for S seconds (default 1.0) between iterations. ③ -n, :output the last N lines, instead of the last 10