๐งDay 2 - Linux & Basic Commands : Part-I

Hey there! ๐
I'm Pratik R. Mandge, a DevOps Engineer passionate about all things AWS DevOps Technology. Currently on a learning adventure, I'm here to share my journey and Blog's in the world of cloud and DevOps.
๐ ๏ธ My focus? Making sense of AWS services, improving CI/CD, and diving into infrastructure as code. Whether you're fellow interns or curious enthusiasts, let's grow together in the vibrant DevOps space.
๐ Connect with me for friendly chats, shared experiences, and learning moments. Here's to embracing the learning curve and thriving in the exciting world of AWS DevOps Technology!
Follow me on LinkedIn: https://www.linkedin.com/in/pratik-mandge363
๐งWhat is Linux?
Linux is an open-source, powerful and versatile operating system known for its command-line interface, which allows users to perform a wide range of tasks efficiency. Linux is available to users at no cost. An operating system is the software that directly manages a system's hardware and resources, like CPU, memory, and storage.

The main components of Linux operating system are:
Applications: Applications in the Linux architecture are software programs that run on top of the operating system and interact with its components.
Shell: In Linux, the shell is a command-line interface that allows users to interact with the system through a set of commands. The most popular shell in Linux is the Bash shell.
Kernel: The kernel is the central component of the Linux operating system architecture. It manages system resources and provides services to applications and processes running on the system.
Hardware: The lowest level of the Linux architecture is the hardware layer. This layer comprises the physical components of a computer, such as the hard drive, RAM, motherboard, CPU, network interfaces, and peripherals.
๐Basic Linux Commands
1.โ๏ธFile Commands
ls option_flag arguments #list the sub directories and files available in the present directory
ls -l #list the files and directories in long list format with extra information
ls -a #list all including hidden files and directory
ls *.sh #list all the files having .sh extension.
ls -i # list the files and directories with index numbers inodes
ls -d */ # list only directories.(we can also specify a pattern
2.โ๏ธDirectory commands
mkdir dirName # make a new directory 'dirName'
mkdir .Newdir # make a hidden directory (also . before a file to make it hidden)
mkdir A B C D #make multiple directories at the same time
mkdir /home/user/Mydir # make a new folder in a specific location
mkdir -p A/B/C/D # make a nested directory
pwd #This command will display the full path to the current directory.
cd path_to_directory #change directory to the provided path
cd ~ or just cd #change directory to the home directory
cd - # Go to the last working directory.
cd .. # change directory to one step back.
cd ../.. # Change directory to 2 levels back.
๐Conclusion
In short, Linux has a bunch of useful commands and tools to handle files and directories. The ones we covered here are just a starting point, and whether you're new to Linux or a pro, these commands will be super handy for your everyday tasks in Linux.
I'm confident that this blog will prove to be valuable, helping you discover new insights and learn something enriching .๐
๐Happy Learning : )




