Skip to main content

Command Palette

Search for a command to run...

🚀 Day 2 of #90DaysOfDevOps Challenge Done! 🚀

Published
•2 min read
🚀 Day 2 of #90DaysOfDevOps Challenge Done! 🚀
T

As a DevOps Engineer, I'm passionate about building and maintaining robust, efficient, and scalable infrastructure to enable seamless software delivery. With a strong foundation in C/C++, Linux, and a toolkit that spans AWS, Jenkins, Docker, Nagios, Kubernetes, YAML, Ansible, Terraform, Bash Scripting, Git, and GitHub, I'm well-equipped to tackle the challenges of modern software development and deployment.

  • ls The ls command is used to list files or directories in Linux and other Unix-based operating systems.

  • ls -l--> Type the ls -l command to list the contents of the directory in a table format with columns including.

  • ls -a --> Type the ls -a command to list files or directories including hidden files or directories. In Linux, anything that begins with a . is considered a hidden file.

  • ls *.sh -->

ls * sh

  • ls -i --> List the files and directories with index numbers in oders

  • ls -d */ --> Type the ls -d */ command to list only directories.

Directoy commands

  • pwd --> Print work directory. Gives the present working 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 .. --> Chnage directory to one step back.

  • cd ../.. --> Use ls ../.. for contents two levels above.

  • mkdir directoryName --> Use to make a directory in a specific location

  • mkdir .NewFolder --> 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/Mydirectory --> make a new folder in a specific location

  • mkdir -p A/B/C/D --> Make a nested directory

90DaysOfDevOps

Part 2 of 50

This repository is a Challenge for the DevOps Community to get stronger in DevOps. This challenge starts on the 22nd octobe 2023 and in the next 90 Days we promise ourselves to become better at DevOps

Up next

🚀 Day 3 of #90DaysOfDevOps Challenge Done! 🚀

To view what's written in a file. cat filename To change the access permissions of files. chmod 777 foldername How do I change directory permissions in Linux? To change directory permissions in Linux, use the following: chmod +rwx fi...

More from this blog

Trushid's blog

90 posts

Proficient in DevOps, Cloud & SDLC including analysis, design. Scripting, testing, automation, version control, documentation and support

🚀 Day 2 of #90DaysOfDevOps Challenge Done! 🚀