forked from cheat/cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various minor edits, primarily regarding whitespace and the use of colons for consistency.
- Loading branch information
1 parent
4dd9b12
commit 5170ed5
Showing
9 changed files
with
29 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
# To format lines, 50 words in each line | ||
# To format lines, 50 words in each line: | ||
cat <file> | fmt -w 50 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
# To see the background running commands | ||
# To see the background running commands: | ||
jobs | ||
|
||
# To see the background running commands with PID | ||
# To see the background running commands with PID: | ||
jobs -l | ||
|
||
# To see the running jobs only | ||
# To see the running jobs only: | ||
jobs -r | ||
|
||
# To see stopped jobs only | ||
# To see stopped jobs only: | ||
jobs -s | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# To change a file's modification time | ||
# To change a file's modification time: | ||
touch -d <time> <file> | ||
touch -d 12am <file> | ||
touch -d "yesterday 6am" <file> | ||
touch -d "2 days ago 10:00" <file> | ||
touch -d "tomorrow 04:00" <file> | ||
|
||
|
||
# To put the timestamp of a file on another | ||
# To put the timestamp of a file on another: | ||
touch -r <refrence-file> <target-file> | ||
|