About Linux FAQ

Browse More FAQs:

Howto find out information about Unix System

Posted by Vivek Gite [Last updated: April 22, 2007]

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

E-mail this to a friend      Printable version

Related Other Helpful FAQs:

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.