Session-1: 50 Most Useful Linux Commands: Category-1: File System Management
Session-1: 50 Most Useful Linux Commands: Category-1: File System Management
5. cd : Change Directory
cd .. ; back to parent directory
cd - ; back to previous directory
cd ~ ; go to home directory
cd ../ ../ ../ ; back to n steps
cd ‘abc xyz’ ; go to a directory whose name contain white space
29. top or htop : It will show status of various resources and tasks
top ; you can see the utilization statics for resources and get PID
of all running process
htop ; Simillar to top but improved version.
32. who : Display the users who are currently logged in your Linux machine
who ; Without any argument who command will display user’s
login name, terminal, login time and host
who –q ;Display the name of all users and total no. of users logged in
33. w : information about current logged user and what they are doing
34. users : Display the all current users name in a single line
35. last : it display the list of user who logged the system
last ; If no options provided last command displays a list of all users
logged in (and out) since /var/log/wtmp file was created
last user_name ;Will display the activities of a particular user only
Team VLSI Linux Session
Session-1: 50 Most useful Linux commands
Category-3: Process management commands
36. free : Used to check available physical memory and swap memory
free ; Command used to checked used and free memory space in KB
free –m/g ;Space will be shown in MB or GB
free -s 5 ; Will update the status in every 5 seconds.