tutorials:linux_essential_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:linux_essential_commands [2012/03/02 11:42] – wanchia | tutorials:linux_essential_commands [2023/10/03 13:03] (current) – chkuo | ||
---|---|---|---|
Line 2: | Line 2: | ||
* '' | * '' | ||
* Explains how to use a shell command. | * Explains how to use a shell command. | ||
- | * For example, to find out how to use '' | + | * '' |
- | * '' | + | |
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
+ | * default = 10 lines, change by '' | ||
+ | * example: '' | ||
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
* '' | * '' | ||
* (u,g,o): user, group, other | * (u,g,o): user, group, other | ||
Line 21: | Line 25: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * examples: | ||
+ | * '' | ||
+ | * '' | ||
+ | * These examples are useful for calculating file sizes or clean up. | ||
+ | * To calculate all file sizes, pipe the file names to '' | ||
+ | * To remove all files found by the command, pipe the file names to '' | ||
+ | * To remove all directories found by the command, pipe the directory names to '' | ||
* '' | * '' | ||
+ | * '' | ||
* '' | * '' | ||
- | * -p: 保留原始檔案權限&修改日期等 | + | |
- | * -r: 複製整個資料夾 | + | * '' |
+ | | ||
* '' | * '' | ||
- | * ''&'': | + | * ''&'': |
- | * '' | + | * example: ''< |
- | * '' | + | * the job may be terminated if you log out |
- | * '' | + | * '' |
+ | * '' | ||
+ | * This is different from ''< | ||
+ | | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * example: download all ' | ||
+ | * '' | ||
+ | |||
+ |
tutorials/linux_essential_commands.1330659726.txt.gz · Last modified: by wanchia