Beginners – Informational Commands

Valic —  January 18, 2013 — Leave a comment

You will use these commands to find out and display some informations about your system or about users:

 Linux Command Description

ps

This will show a list with all currently running process (programs). The most often used command is ps -aux

w

This is showing what users are logged on and what they are doing.

id

This command prints your user ID and your group ID’s.

Example: for root the output looks like this: uid=0(root) gid=0(root) groups=0(root)

df

Report filesystem disk space usage. You will use the most the df -h (human readab) command.

du

This is called estimate file space usage and is used for disk usage for folders. du -s is the command that provides a summary for the current directory.

top

This command displays Linux tasks. Displays CPU processes in a full-screen GUI and is  a great way to see the activity on your computer in real-time. To quit you need to type Q.

free

Displays amount of free and used memory in the system.
cat /proc/cpuinfo
Displays information about your CPU.
cat /proc/meminfo
Display lots of information about current memory usage. Like free but with much more details.

uname -a

This command prints system information like kernel version, machine type, hostname, hardware platform, and others. use man uname for more details.

Valic

Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

No Comments

Be the first to start the conversation.

Leave a Reply