unix_shell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| unix_shell [2022/05/15 14:32] – 134.190.232.106 | unix_shell [2022/06/23 10:21] (current) – 134.190.232.106 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | //The commonly used scripts collected from previous Github page and course materials.// Latest has moved to https:// | + | The commonly used scripts collected from previous Github page and course materials. |
| 1.How to set up timer for specific script run? | 1.How to set up timer for specific script run? | ||
| Line 141: | Line 141: | ||
| </ | </ | ||
| - | <Last updated by Xi Zhang on Oct 6th, | + | |
| + | How to use sort in linux, especially ignore the header to sort special col? | ||
| + | < | ||
| + | (head -n 1 all.txt && tail -n +2 all.txt| sort -n -r -k2) > 123.txt | ||
| + | |||
| + | # sort -n | ||
| + | #sort -r | ||
| + | #sort -k | ||
| + | https:// | ||
| + | </ | ||
| + | |||
| + | <Last updated by Xi Zhang on Oct 6th,2021> <June 23th,2022> | ||
unix_shell.1652635923.txt.gz · Last modified: by 134.190.232.106
