Operating Systems & Administration
[Day 5] 1. Commands
D
DITISS Admin1. uname
Command
uname-
Purpose: Displays information about the system.
-
Usage:
- : Shows the name of the operating system.
uname - : Displays the kernel version.
uname -r - : Displays all available information about the system (OS name, kernel version, hardware platform, etc.).
uname -a - SMP: Stands for Symmetric Multi-Processing, which is a method for multiple processors to share the same memory and run processes simultaneously.
2. rename
Command
rename-
Purpose: Allows renaming of multiple files at once. This is useful when the files share something in common (e.g., their extension).
-
Examples:
rename "s/file/test/" *.txt- Meaning: Replaces the word "file" with "test" in all files.
.txt
- Meaning: Replaces the word "file" with "test" in all
rename "s/txt/doc/" *.txt- Meaning: Changes the extension of all files to
.txt..doc
- Meaning: Changes the extension of all
Here , we used
grepdirectoryfileIn the below figure, when we use cut command: !1. Command2.png
Read Next
8/26/2026
[Day 5] 2. VI Editor
### VI Editor Overview **VIM** stands for **VI IMproved**, an enhanced version of the **VI** text editor. It's a powerful CLI (Command Line Interfa...
8/26/2026
[Day 5] 3. Shell Scripting or Shell Programming
### Shell Scripting Overview **Shell scripting** is interpreted by the shell itself and is mainly used for: - Automation - Configuration - Wri...