no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tech:others:linux_commands [2014/11/15 15:13] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Cool Linux Commands ====== | ||
+ | |||
+ | script | ||
+ | |||
+ | Log my current session in the text terminal into a text file typescript (the default filename). The log finishes when I type exit or press < | ||
+ | |||
+ | |||
+ | |||
+ | fmt -w 75 my_file.txt > new_file.txt | ||
+ | |||
+ | Format the lines in the text file to the width of 75 characters. | ||
+ | |||
+ | |||
+ | |||
+ | fold -w 30 -s my_file.txt > new_file.txt | ||
+ | |||
+ | Wrap the lines in the text file my_file.txt so that there is 30 characters per line. Break the lines on spaces. Output goes to new_file.txt. | ||
+ | |||
+ | |||
+ | indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl " | ||
+ | |||
+ | Change the appearance of " | ||
+ | |||
+ | |||
+ | paste file1 file2 > file3 | ||
+ | |||
+ | Merge two or more text files on lines using <Tab> as delimiter (use option " | ||
+ | |||
+ | |||
+ | des -e plain_file encrypted_file | ||
+ | |||
+ | (=" | ||
+ | des -d encrypted_file decrypted_file. | ||
+ | |||
+ | |||
+ | gpg | ||
+ | |||
+ | "Gnu Privacy Guard" | ||
+ | |||
+ | ===== Resources ===== | ||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||