System information
uname, date, whoami — commands to check OS version, current date/time and which user you are logged in as.
Solaris · Basic Commands
Solaris · Lesson 3
Daily use Solaris terminal commands for system administrators. File operations, navigation and system information commands. Difference between Linux and Solaris behavior. Practical production examples.
Before touching services, networking or ZFS, you should be completely comfortable with moving around the system and running simple read-only commands. Yeh sab commands aap har Solaris session mein use karoge.
Is lesson mein hum mainly safe, non-destructive commands cover karenge jo sirf information dikhate hain—kuch todte nahi 🙂.
Yeh ek typical flow hai jab aap nayi Solaris machine par login hote ho: system info check, current path dekhna, files list karna, logs directory visit karna, etc.
Instead of ratta-marofying random commands, yaad rakho ki har command ek category mein fit hota hai. Neeche 4 main categories hain.
uname, date, whoami — commands to check OS version, current date/time and which user you are logged in as.
pwd, ls, cd — move between directories and list files in different formats (ls -l, ls -a, etc.).
cat, more, less, tail — see configuration and log files without editing them.
man, --help — in-built documentation so you can discover options yourself on any Solaris box.
uname -a, df -h and ps -ef | head to understand your system profile.man for at least 3 commands (e.g. man ls, man df, man ps).Next up, we move to user and group management where these basic commands will keep helping you.