Basics Linux command

Basics Linux command

#90DaysOfDevOps

What is Linux?

Linux is a free and open-source operating system (OS). An operating system is software that directly manages the hardware and resources of a system, such as the CPU, memory, and storage. The operating system (OS) sits between applications and hardware, connecting all of your software to the physical resources that do the work.

What is Linux command to:-

Check your present working directory-

To check the present working directory we should use the pwd command which is shown below

List all the files or directories including hidden files-

To view all of the system's directories and files, we use the ls command. ls displays a list of all current directories and files. We use ls -l to long list files and ls -a to display hidden files in the system. The ls -la command should be used to list all files and directories, including hidden files.

Create a nested directory A/B/C/D/E-

command to show the nested directory is mkdir -p A/B/C/D. Here -p is for making parent directories as needed.

Thanks for your valuable time to read my article. For more articles kindly follow me.

~Prabhakar Yadav