Day 02 to pro๐Ÿš€:Basic linux commands๐Ÿง๐Ÿ‘จโ€๐Ÿ’ป

Jawaid AkhtarJawaid Akhtar
2 min read

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โœจ๐Ÿš€

0
Subscribe to my newsletter

Read articles from Jawaid Akhtar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Jawaid Akhtar
Jawaid Akhtar