Writing Linux Commands
Writing Linux Commands
3. To see the current amount of free space on your disk drives, enter df:
4. Likewise, to display the amount of free memory, enter the free command.
5. We can end a terminal session by either closing the terminal emulator window, or by entering
the exit command at the shell prompt
6. ’who’ Command: It is used to display who are the users connected to our computer currently.
Syntax:
$who – option‟s
1. -m: Show the host name and user associated with standard input (stdin) such as
the keyboard
2. -q: Count the number of users who are logged in to the system
3. -s: Display the name, line, and time fields only (default)
4. -T: Display the status of the user's message status (as +, -, or ?)
5. -u: Show user's idle time and process ID.
6. Print all information (-a)
7. Displays column headers (-H)
Options : -