02. LINUX commands(1) - Uchiha3000/LINUX_docx GitHub Wiki

Linux commands part 1

How to login

code: e2-user

How to clear your terminal

code: clear or (ctrl+l)

How to check out the date

code:date

How to check the calendar

code: cal 2025

How to check the calendar of september

code: cal 09 2025 or cal sep 2025

To check our username

code: whoami

To check the operating system loaded in the server

code: uname

To check the server running time

code: uptime

To check the mount point in LINUX

code: df -h

To create a directory

code: mkdir AkashD02 (mkdir space directory name)

To check our present working directory

code: pwd

To go one step backward

code: cd ..

To go to home

code: cd

To move one step forward

code: cd AkashD02 (cd space directory name) or (cd space file path)

To move two steps backward

code: cd ../..

Can we create two directories of name u01 and U01?

Ans: Yes because, LINUX is case sensetive.

To check the directories and folder

code: ls

To create a folder

code: touch AkashF01 (touch space folder name)

To check which is a directory and folder or to present it in long list

code: ls -l (Note: The files that start with d are directories.)