Day 02 to pro๐:Basic linux commands๐ง๐จโ๐ป
Day 2: Conquering Your System๐ป with Basic Linux Commands!๐
Welcome back, DevOps enthusiasts!โพ๏ธ Today's chapter in our journey equips you with fundamental Linux commands to navigate your system like a pro.
Imagine your computer as a vast digital kingdom. These commands are your trusty map and tools to explore its directories, locate hidden files, and build new directories. Let's embark!โจ
โ Navigation Commands:๐จโ๐ป
๐pwd: Your royal cartographer, revealing your current location (directory path) within the digital realm.
๐cd: Change your direction! Use cd path/to/directory to travel to a specific location.
๐ls: Lists the inhabitants (files and subdirectories) of your current domain. Enhance your exploration with flags:
๐ls -l: for a detailed listing with permissions, owner, and size.
๐ls -a: to unveil hidden treasures (files starting with a dot).
โ
File Management Commands:
๐mkdir <directoryname>: Feeling creative? Build a new structure (directory) with this command.
๐rm file: Tread carefully! This removes a file (be sure of what you're deleting).
๐ cp file newLocation: Duplicate a file by creating a copy in a new location.
๐mv file newName/newLocation: Move or rename a file. Provide a new name or specify a new location.
โ
Bonus Commands:
๐touch <filename>: creating a new empty file one.
๐clear: This command clears the screen, offering a fresh start.
๐chmod: Modifies the access permissions of files and directories.
๐chown: Changes the owner of a file or directory.
๐useradd: Creates a new user account on the system.
๐passwd: Allows changing a user's password.
๐groupadd: Creates a new group on the system.
Let's build a collaborative map! Share your favorite beginner-friendly Linux commands in the comments below.
Happy Learningโจ๐
Subscribe to my newsletter
Read articles from Jawaid Akhtar directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by