linux_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux_notes [2023/01/03 21:17] – [tasks] raju | linux_notes [2023/09/24 15:33] (current) – [what is my OS?] raju | ||
---|---|---|---|
Line 3: | Line 3: | ||
* [[du on month end dates]] | * [[du on month end dates]] | ||
* [[change the default shell]] | * [[change the default shell]] | ||
- | * [[which shell am I using]] | + | * [[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 came across it in https:// | ||
==== last reboot times ==== | ==== last reboot times ==== |
linux_notes.txt · Last modified: 2023/09/24 15:33 by raju