向上箭头👆可显示上一个命令。Ctrl+A可使光标跳到行首。Ctrl+向右箭头可跳到下一个字,然右添加-n 20选项并按Enter以执行该命令。[studenteworkstation-]$tail -n 20 zcat-1,--list list compressed file contents-q,…quiet suppress all warnings-r recursive operate recursively on directories-s...
[studenteworkstation-]$tail -n 20 zcat -1,--list list compressed file contents -q,…quiet suppress all warnings -r recursive operate recursively on directories -s,--suffix=SUF use suffix SuF on compressed files --synchronous synchronous output(safer if system crashes,but slower) -t,--test ...
Recursive accept/reject:-A, --accept=LIST comma-separated list of accepted extensions-R, --reject=LIST comma-separated list of rejected extensions--accept-regex=REGEX regex matching accepted URLs--reject-regex=REGEX regex matching rejected URLs--regex-type=TYPE regex type (posix|pcre)-D, --dom...
[studenteworkstation-]$tail -n 20 zcat -1,--list list compressed file contents -q,…quiet suppress all warnings -r recursive operate recursively on directories -s,--suffix=SUF use suffix SuF on compressed files --synchronous synchronous output(safer if system crashes,but slower) -t,--test ...
-H, --span-hosts go to foreign hosts when recursive -L, --relative follow relative links only -I, --include-directories=LIST list of allowed directories --trust-server-names use the name specified by the redirection URL's last component -X, --exclude-directories=LIST list of excluded dire...
# FIXME: Properly handle --recursive -a | -A | --all | --almost-all) no_dots=0; ;; --version) report "version 1.2" exit 0 ;; --help) case $type in d) report "a version of 'ls' that lists only directories" ;; l) report "a version of 'ls' that lists only links" ;;...
Thermdircommand deletes (removes) a directory, but only if it's empty. If it's not empty, you get a warning instead. Fortunately, you can use thermcommand to delete directories that aren't empty in combination with the-r(recursive) flag. The command would then look like so,rm -r. ...
This is a colon- separated list of directories in which the shell looks for destination directories specified by the cd com- mand. A sample value is ".:~:/usr". BASH_XTRACEFD If set to an integer corresponding to a valid file descriptor, bash will write the trace output generated when...
Bash enables combining commands by piping output of one command to be used as the input for another command. For example, the following command can be used to list all files on a file system using the-Rparameter to specify the listing should be recursive. ...
Moving Directories cp -R|--recursive foo bar # Copy directory mv foo bar # Move directory rsync -z|--compress -v|--verbose /foo /bar # Copy directory, overwrites destination rsync --ignore-existing -a|--archive -z|--compress -v|--verbose /foo /bar # Copy directory, without overwrit...