Mastering Linux Commands with AWS Applications (Day 3)
What is Linux?
Linux is an open-source operating system that has become incredibly popular due to its flexibility, security, and the strong community of developers that support it. Linux is free to use and modify, making it an excellent choice for those who want to have more control over their computing environment
Why Use Linux?
Linux is one of the most popular platforms on the planet. It has been around since the mid-1990s and has since reached a user-base that spans the globe. Even Android is powered by the Linux operating system.
Moreover, there are several compelling reasons to use Linux:
Creating account on AWS and Running a linux :
LINUX COMMANDS
FILE SYSTEM NAVIGATION COMMANDS:
Directory contains implicitly 2 directories :
. and ..
. -->represents current directory
.. -->represents parent directory
$cd. -->changes to current directory
$cd.. -->changes to parent directory
$cd --> If we are not passing any argument,Then changes to user home directory
$cd~ -->changes user home directory
$cd- -->changes to previous working directory
Recommended by LinkedIn
cat filename
vim filename
nano filename
pwd current directory
touch | mkdir new file&folder
2. To change the access permissions of files.
chmod 777 filename
3. To remove a directory/ Folder.
rm -rf filename
rmdir filename
Note: you need to empty folder before deleting it otherwise it gives error
4. To check which commands you have run till now.
history
5. Show only the top | bottom three fruits from the file.
head -3 fruits.txt
tail -3 fruits.txt
Remember, this is just the beginning. The Linux command-line interface is vast and offers countless other commands and possibilities. So, keep exploring, experimenting, and expanding your knowledge to unleash the true potential of Linux!
IAM Engineer @ Credo Technology Services
10moGood start👏, keep going!
DevOps Eng. @ Antematter | Automating everything, everyday! 🚀 | NUCES '26
10moWell said Haseeb! Linux is the key for DevOps