linux_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux_notes [2022/12/26 08:04] – [ls and mv] raju | linux_notes [2023/09/24 15:33] – [what is my OS?] raju | ||
---|---|---|---|
Line 2: | Line 2: | ||
* [[add numbers on the command line]] | * [[add numbers on the command line]] | ||
* [[du on month end dates]] | * [[du on month end dates]] | ||
+ | * [[change the default shell]] | ||
+ | * [[Which shell am I using | Which shell am I using?]] | ||
+ | * [[Difference between SHELL and 0 | What is the difference between \$SHELL and \$0?]] | ||
+ | |||
+ | ==== what is my OS? ==== | ||
+ | < | ||
+ | awk -F= ' | ||
+ | </ | ||
+ | |||
+ | Sample run: | ||
+ | < | ||
+ | % cat / | ||
+ | PRETTY_NAME=" | ||
+ | NAME=" | ||
+ | VERSION_ID=" | ||
+ | VERSION=" | ||
+ | VERSION_CODENAME=bookworm | ||
+ | ID=debian | ||
+ | HOME_URL=" | ||
+ | SUPPORT_URL=" | ||
+ | BUG_REPORT_URL=" | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | % awk -F= ' | ||
+ | debian | ||
+ | </ | ||
+ | |||
+ | Ref: | ||
+ | * I first came across it in https:// | ||
==== last reboot times ==== | ==== last reboot times ==== | ||
Line 23: | Line 53: | ||
</ | </ | ||
+ | {{tag> | ||
==== ls and mv ==== | ==== ls and mv ==== | ||
Sample command | Sample command |
linux_notes.txt · Last modified: 2023/09/24 15:33 by raju