Howto find out information about Unix System

Q. I’m trying to get basic information about UNIX system like logged in user, find out today’s date disk space and quota usage and so on. Can you list command name for me?

A. Try out following basic command to get information about UNIX or Linux systems

Task: Get the date and time

Display or set the system date and time, use:
$ date

Task: Find out more about my UNIX operating system

Print all system information, use:
$ uname -a

Task: Find out who logged in lately

Show listing of last 10 logged in users, use:
$ last -10

Task: Find name of my UNIX computer

Show or set the system’s host name, use:
$ hostname

See the disk space used

Report filesystem disk space usage, use:
$ df -k
On some system try
$ df -H

Find out user disk quota usage

Display disk quota usage / limits, use:
$ quota -v
$ quota user
$ quota group

Find out how much space all my files needs

Estimate file space usage, use:
$ du -k

Task: See who is logged on

Show who is logged on and what they are doing, use following command:
$ w
$ who
$ what

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 0 comments... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum