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/01 16:36] – wanchia | tutorials:linux_essential_commands [2023/10/03 13:03] (current) – chkuo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Linux Essential Commands ====== | ====== Linux Essential Commands ====== | ||
- | |||
* '' | * '' | ||
* 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 22: | 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 ''< | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * free -g: 查看實際剩餘ram | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * example: download all ' | ||
+ | * '' | ||
+ |
tutorials/linux_essential_commands.1330590978.txt.gz · Last modified: by wanchia