Filter
Exclude
Time range
-
Near
Linux Command: date Use it to: β€’ Display current date and time β€’ Format date output β€’ Check system time settings #Linux #SysAdmin #LinuxCommands #DevOps #LearnLinux
1
Linux Command: jobs View and control background and stopped processes directly from your terminal, making multitasking in Linux easier and more efficient. #Linux #SysAdmin #LinuxCommands #DevOps #LearnLinux
11
🐧 Day 11/30 β€” #Linux Everything in Linux is organized within a single directory tree that starts at the root directory (/). Understanding the Linux file system hierarchy is essential for navigating, configuring, and troubleshooting Linux systems. Linux File System Hierarchy – Understanding /bin, /etc, /var, and More Unlike Windows, Linux does not use drive letters like C: or D:. Instead, all files and directories exist under a unified hierarchy. Important Linux Directories: β†’ / The root directory. Everything on the system starts from here. β†’ /bin Contains essential command-line utilities such as: β†’ ls β†’ cp β†’ mv β†’ cat These commands are required for basic system operation. β†’ /etc Stores system-wide configuration files. Examples: β†’ /etc/passwd β†’ /etc/hosts β†’ /etc/ssh/ Administrators frequently work in this directory. β†’ /home Contains personal directories for users. Examples: β†’ /home/john β†’ /home/admin This is where user files, documents, and settings are stored. β†’ /var Stores variable data that changes frequently. Examples: β†’ Logs β†’ Cache files β†’ Mail queues β†’ Databases Important log files are commonly found in: β†’ /var/log/ β†’ /tmp Stores temporary files created by applications and users. Files here may be automatically removed by the system. β†’ /usr Contains installed software, libraries, and user applications. Many programs are stored under: β†’ /usr/bin β†’ /usr/lib β†’ /dev Contains device files representing hardware components. Examples: β†’ Hard drives β†’ USB devices β†’ Printers β†’ /proc A virtual filesystem that provides information about running processes and system resources. Why Understanding the File System Matters: β†’ Navigate Linux efficiently β†’ Locate configuration files quickly β†’ Troubleshoot system issues β†’ Manage servers effectively β†’ Understand how Linux organizes data Mastering the Linux file system hierarchy makes it much easier to administer servers, manage applications, and work confidently from the command line. 🐧 Grab Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #FileSystem #SystemAdministration #DevOps #CloudComputing #OpenSource #Programming #100DaysOfCode
🐧 Day 10/30 β€” #Linux Linux is a multi-user operating system designed to allow multiple people and services to work securely on the same machine. Managing users properly is one of the most important responsibilities of a Linux administrator. Linux User Management – Adding, Modifying, and Deleting Users Every user in Linux has a unique username, user ID (UID), home directory, and set of permissions. Essential User Management Commands: β†’ useradd β†’ passwd β†’ usermod β†’ userdel β†’ id β†’ whoami Adding a User β†’ sudo useradd john Creates a new user named john. To set a password: β†’ sudo passwd john Linux will prompt you to create and confirm a password. Viewing User Information β†’ id john Displays the user's UID, GID, and group memberships. β†’ whoami Displays the currently logged-in user. Modifying a User β†’ sudo usermod -l johnny john Changes the username from john to johnny. β†’ sudo usermod -aG developers john Adds the user john to the developers group. Deleting a User β†’ sudo userdel john Removes the user account. β†’ sudo userdel -r john Removes the user account and deletes the user's home directory. Understanding User Groups Groups simplify permission management by allowing multiple users to share access to files and resources. Examples: β†’ developers β†’ admins β†’ docker Instead of assigning permissions individually, administrators can manage access through groups. Why User Management Matters: β†’ Improve system security β†’ Control resource access β†’ Manage team environments β†’ Protect sensitive files β†’ Administer Linux servers effectively Mastering user management is a foundational skill for Linux administrators, DevOps engineers, cloud engineers, and cybersecurity professionals. 🐧 Grab Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #UserManagement #SystemAdministration #DevOps #CloudComputing #CyberSecurity #OpenSource #100DaysOfCode
14
74
1,940
🐧 Day 10/30 β€” #Linux Linux is a multi-user operating system designed to allow multiple people and services to work securely on the same machine. Managing users properly is one of the most important responsibilities of a Linux administrator. Linux User Management – Adding, Modifying, and Deleting Users Every user in Linux has a unique username, user ID (UID), home directory, and set of permissions. Essential User Management Commands: β†’ useradd β†’ passwd β†’ usermod β†’ userdel β†’ id β†’ whoami Adding a User β†’ sudo useradd john Creates a new user named john. To set a password: β†’ sudo passwd john Linux will prompt you to create and confirm a password. Viewing User Information β†’ id john Displays the user's UID, GID, and group memberships. β†’ whoami Displays the currently logged-in user. Modifying a User β†’ sudo usermod -l johnny john Changes the username from john to johnny. β†’ sudo usermod -aG developers john Adds the user john to the developers group. Deleting a User β†’ sudo userdel john Removes the user account. β†’ sudo userdel -r john Removes the user account and deletes the user's home directory. Understanding User Groups Groups simplify permission management by allowing multiple users to share access to files and resources. Examples: β†’ developers β†’ admins β†’ docker Instead of assigning permissions individually, administrators can manage access through groups. Why User Management Matters: β†’ Improve system security β†’ Control resource access β†’ Manage team environments β†’ Protect sensitive files β†’ Administer Linux servers effectively Mastering user management is a foundational skill for Linux administrators, DevOps engineers, cloud engineers, and cybersecurity professionals. 🐧 Grab Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #UserManagement #SystemAdministration #DevOps #CloudComputing #CyberSecurity #OpenSource #100DaysOfCode
🐧 Day 9/30 β€” #Linux One of Linux's greatest strengths is the ability to connect commands together and control where data flows. Instead of manually copying output between programs, Linux allows commands to communicate seamlessly. Linux Redirection and Pipes – stdin, stdout, stderr and | Every Linux command works with three standard data streams: β†’ stdin (Standard Input) β†’ stdout (Standard Output) β†’ stderr (Standard Error) Understanding these streams is essential for automation, scripting, and system administration. stdin (Standard Input) stdin is the input a command receives. Example: β†’ sort < names.txt The contents of names.txt are provided as input to the sort command. stdout (Standard Output) stdout is the normal output generated by a command. Example: β†’ ls > files.txt Saves the output of ls into files.txt instead of displaying it on the screen. stderr (Standard Error) stderr contains error messages generated by commands. Example: β†’ ls missingfile 2> errors.txt Saves error messages to errors.txt. Redirection Operators β†’ > = Overwrite output to a file β†’ >> = Append output to a file β†’ < = Read input from a file β†’ 2> = Redirect error output Examples: β†’ echo "Hello Linux" > message.txt Creates a file and writes text into it. β†’ echo "More text" >> message.txt Appends text to an existing file. Pipes (|) The pipe operator (|) sends the output of one command directly as input to another command. Example: β†’ ls | grep ".txt" Lists only text files. β†’ ps aux | grep nginx Finds running nginx processes. β†’ cat users.txt | sort Sorts the contents of a file. Why Redirection and Pipes Matter: β†’ Automate repetitive tasks β†’ Combine multiple commands efficiently β†’ Filter and process large amounts of data β†’ Build powerful shell scripts β†’ Troubleshoot systems more effectively Mastering redirection and pipes is a major step toward becoming productive in the Linux command line environment. 🐧 Grab Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #ShellScripting #Terminal #DevOps #SystemAdministration #OpenSource #Programming #100DaysOfCode
1
13
84
4,801
🐧 Day 9/30 β€” #Linux One of Linux's greatest strengths is the ability to connect commands together and control where data flows. Instead of manually copying output between programs, Linux allows commands to communicate seamlessly. Linux Redirection and Pipes – stdin, stdout, stderr and | Every Linux command works with three standard data streams: β†’ stdin (Standard Input) β†’ stdout (Standard Output) β†’ stderr (Standard Error) Understanding these streams is essential for automation, scripting, and system administration. stdin (Standard Input) stdin is the input a command receives. Example: β†’ sort < names.txt The contents of names.txt are provided as input to the sort command. stdout (Standard Output) stdout is the normal output generated by a command. Example: β†’ ls > files.txt Saves the output of ls into files.txt instead of displaying it on the screen. stderr (Standard Error) stderr contains error messages generated by commands. Example: β†’ ls missingfile 2> errors.txt Saves error messages to errors.txt. Redirection Operators β†’ > = Overwrite output to a file β†’ >> = Append output to a file β†’ < = Read input from a file β†’ 2> = Redirect error output Examples: β†’ echo "Hello Linux" > message.txt Creates a file and writes text into it. β†’ echo "More text" >> message.txt Appends text to an existing file. Pipes (|) The pipe operator (|) sends the output of one command directly as input to another command. Example: β†’ ls | grep ".txt" Lists only text files. β†’ ps aux | grep nginx Finds running nginx processes. β†’ cat users.txt | sort Sorts the contents of a file. Why Redirection and Pipes Matter: β†’ Automate repetitive tasks β†’ Combine multiple commands efficiently β†’ Filter and process large amounts of data β†’ Build powerful shell scripts β†’ Troubleshoot systems more effectively Mastering redirection and pipes is a major step toward becoming productive in the Linux command line environment. 🐧 Grab Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #ShellScripting #Terminal #DevOps #SystemAdministration #OpenSource #Programming #100DaysOfCode
🐧 Day 8/30 β€” #Linux Linux truly becomes powerful when you can process, search, and manipulate text directly from the command line. System logs, configuration files, source code, and data files can all be analyzed using built-in text-processing tools. Linux Text Processing – grep, sed, awk, and Regular Expressions These tools are essential for developers, system administrators, cybersecurity professionals, and DevOps engineers. grep – Search for Text The grep command searches files for specific words or patterns. Examples: β†’ grep "error" logs.txt Finds all lines containing the word "error". β†’ grep -i "linux" file.txt Performs a case-insensitive search. sed – Stream Editor The sed command is used to modify text without opening a file manually. Examples: β†’ sed 's/Linux/Ubuntu/' file.txt Replaces the first occurrence of Linux with Ubuntu. β†’ sed 's/Linux/Ubuntu/g' file.txt Replaces all occurrences in each line. awk – Data Extraction and Reporting The awk command processes structured text and extracts specific fields. Example: β†’ awk '{print $1}' users.txt Displays the first column from a file. β†’ awk '{print $1, $3}' users.txt Displays selected columns. Regular Expressions (Regex) Regular expressions are patterns used to match text. Common Regex Patterns: β†’ . = Any character β†’ * = Zero or more occurrences β†’ ^ = Start of line β†’ $ = End of line β†’ [0-9] = Any digit β†’ [a-z] = Any lowercase letter Example: β†’ grep "^[0-9]" file.txt Finds lines that start with a number. Why These Tools Matter: β†’ Search large log files quickly β†’ Automate text manipulation β†’ Extract valuable data from files β†’ Analyze server activity β†’ Build powerful shell scripts Mastering grep, sed, awk, and regular expressions can save hours of manual work and is one of the defining skills of advanced Linux users. 🐧 Grab the Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #grep #sed #awk #Regex #DevOps #SystemAdministration #100DaysOfCode
3
19
98
6,043
The Linux head command is one of the fastest ways to inspect files without opening them. linuxteck.com/head-command-i… View first lines of files Check logs quickly Preview large files efficiently Learn useful options & examples #Linux #DevOps #SysAdmin #LinuxCommands #LinuxTeck
16
Eweremchi retweeted
cat - Displays the content of a file. Example: cat file.txt #Linux #LinuxCommands #Terminal #CommandLine #Cybersecurity
2
1
11
🐧 Day 8/30 β€” #Linux Linux truly becomes powerful when you can process, search, and manipulate text directly from the command line. System logs, configuration files, source code, and data files can all be analyzed using built-in text-processing tools. Linux Text Processing – grep, sed, awk, and Regular Expressions These tools are essential for developers, system administrators, cybersecurity professionals, and DevOps engineers. grep – Search for Text The grep command searches files for specific words or patterns. Examples: β†’ grep "error" logs.txt Finds all lines containing the word "error". β†’ grep -i "linux" file.txt Performs a case-insensitive search. sed – Stream Editor The sed command is used to modify text without opening a file manually. Examples: β†’ sed 's/Linux/Ubuntu/' file.txt Replaces the first occurrence of Linux with Ubuntu. β†’ sed 's/Linux/Ubuntu/g' file.txt Replaces all occurrences in each line. awk – Data Extraction and Reporting The awk command processes structured text and extracts specific fields. Example: β†’ awk '{print $1}' users.txt Displays the first column from a file. β†’ awk '{print $1, $3}' users.txt Displays selected columns. Regular Expressions (Regex) Regular expressions are patterns used to match text. Common Regex Patterns: β†’ . = Any character β†’ * = Zero or more occurrences β†’ ^ = Start of line β†’ $ = End of line β†’ [0-9] = Any digit β†’ [a-z] = Any lowercase letter Example: β†’ grep "^[0-9]" file.txt Finds lines that start with a number. Why These Tools Matter: β†’ Search large log files quickly β†’ Automate text manipulation β†’ Extract valuable data from files β†’ Analyze server activity β†’ Build powerful shell scripts Mastering grep, sed, awk, and regular expressions can save hours of manual work and is one of the defining skills of advanced Linux users. 🐧 Grab the Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #grep #sed #awk #Regex #DevOps #SystemAdministration #100DaysOfCode
🐧 Day 7/30 β€” #Linux Every application running on Linux is a process. Understanding how to view, manage, and stop processes is a critical skill for developers, system administrators, and DevOps engineers. Linux Processes – Viewing, Managing, and Killing Processes A process is simply a program that is currently running on your system. Each process is assigned a unique Process ID (PID) that Linux uses to track and manage it. Essential Process Commands: β†’ ps β†’ top β†’ htop β†’ pidof β†’ kill β†’ killall Viewing Processes β†’ ps Displays currently running processes. β†’ ps aux Shows detailed information about all running processes. β†’ top Provides a real-time view of CPU usage, memory usage, and active processes. β†’ htop An interactive and user-friendly alternative to top. Finding Process IDs β†’ pidof nginx Returns the PID of a running process. Stopping Processes β†’ kill PID Sends a termination signal to a specific process. Example: β†’ kill 1234 Stops the process with PID 1234. Force Killing a Process β†’ kill -9 PID Immediately terminates a process that refuses to stop. Example: β†’ kill -9 1234 Killing Processes by Name β†’ killall firefox Terminates all Firefox processes. Why Process Management Matters: β†’ Monitor system performance β†’ Troubleshoot application issues β†’ Free system resources β†’ Manage server workloads β†’ Control background services effectively Mastering process management is essential because Linux systems constantly run hundreds of processes behind the scenes. 🐧 Grab the Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #SystemAdministration #DevOps #OpenSource #Terminal #CloudComputing #Programming #100DaysOfCode
11
22
112
6,533
🐧 Day 7/30 β€” #Linux Every application running on Linux is a process. Understanding how to view, manage, and stop processes is a critical skill for developers, system administrators, and DevOps engineers. Linux Processes – Viewing, Managing, and Killing Processes A process is simply a program that is currently running on your system. Each process is assigned a unique Process ID (PID) that Linux uses to track and manage it. Essential Process Commands: β†’ ps β†’ top β†’ htop β†’ pidof β†’ kill β†’ killall Viewing Processes β†’ ps Displays currently running processes. β†’ ps aux Shows detailed information about all running processes. β†’ top Provides a real-time view of CPU usage, memory usage, and active processes. β†’ htop An interactive and user-friendly alternative to top. Finding Process IDs β†’ pidof nginx Returns the PID of a running process. Stopping Processes β†’ kill PID Sends a termination signal to a specific process. Example: β†’ kill 1234 Stops the process with PID 1234. Force Killing a Process β†’ kill -9 PID Immediately terminates a process that refuses to stop. Example: β†’ kill -9 1234 Killing Processes by Name β†’ killall firefox Terminates all Firefox processes. Why Process Management Matters: β†’ Monitor system performance β†’ Troubleshoot application issues β†’ Free system resources β†’ Manage server workloads β†’ Control background services effectively Mastering process management is essential because Linux systems constantly run hundreds of processes behind the scenes. 🐧 Grab the Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #LinuxCommands #SystemAdministration #DevOps #OpenSource #Terminal #CloudComputing #Programming #100DaysOfCode
🐧 Day 6/30 β€” #Linux Every Linux user eventually needs to edit configuration files, scripts, logs, and application settings. Knowing how to use a text editor is a fundamental Linux skill. Editing Files in Linux – Vi, Vim, Nano, and GUI Editors Linux offers both terminal-based and graphical text editors, each designed for different workflows and experience levels. Popular Linux Editors: β†’ Vi β†’ Vim β†’ Nano β†’ GUI Editors Vi Editor Vi is the classic text editor found on almost every Linux system. Benefits: β†’ Lightweight β†’ Available by default on most distributions β†’ Useful for server administration Basic Commands: β†’ i = Enter insert mode β†’ Esc = Exit insert mode β†’ :w = Save file β†’ :q = Quit editor β†’ :wq = Save and quit Vim Editor Vim (Vi Improved) extends Vi with advanced features. Benefits: β†’ Syntax highlighting β†’ Auto-completion β†’ Powerful navigation shortcuts β†’ Plugin ecosystem Many developers and system administrators prefer Vim for daily work. Nano Editor Nano is one of the easiest Linux text editors for beginners. Basic Commands: β†’ Ctrl O = Save file β†’ Ctrl X = Exit editor β†’ Ctrl K = Cut line β†’ Ctrl U = Paste line Nano is ideal if you're new to Linux and want a simple editing experience. GUI Editors Desktop Linux distributions also provide graphical editors such as: β†’ Gedit β†’ Kate β†’ Mousepad These editors work similarly to Notepad or other desktop text editors. Why This Matters: β†’ Edit configuration files β†’ Write shell scripts β†’ Manage server settings β†’ Update application files β†’ Become comfortable working entirely from the terminal Learning at least one terminal editor is essential because many Linux servers operate without a graphical interface. 🐧 Grab Linux Ebook: codewithdhanian.gumroad.com/… #Linux #LinuxTutorial #Vim #Vi #Nano #Terminal #OpenSource #DevOps #SystemAdministration #100DaysOfCode
9
44
203
10,097
Comandos de Linux imprescindibles. #GuiaLinux #AprendeLinux #LinuxCommands
1
2
30
rm Command in Linux Read the full tutorial: linuxteck.com/rm-command-in-… Learn: βœ” rm -rf safely βœ” recursive deletion βœ” interactive removal βœ” wildcard risks βœ” secure file cleanup βœ” real-world examples #Linux #Bash #LinuxCommands #LinuxTeck
3
19
🐧 Linux /proc Directory Explained πŸ”₯ Telegram: t.me/hackinarticles ✴ Twitter: x.com/hackinarticles Everything in Linux is a process… and /proc exposes powerful internal details ⚠️ ⚑ Useful /proc Paths πŸ“Œ /proc/PID/cmdline β†’ Command-line arguments πŸ”— /proc/PID/exe β†’ Symlink to running binary βš™οΈ /proc/PID/environ β†’ Environment variables πŸ“Š /proc/PID/status β†’ Process status & memory usage πŸ“‚ /proc/PID/fd β†’ Open file descriptors 🧠 /proc/PID/maps β†’ Memory mappings & shared libraries πŸ“š /proc/PID/stack β†’ Kernel stack information πŸ’‘ Red Teamers, DFIR analysts & Linux admins use /proc for process analysis, malware investigation & debugging ⚠️ /proc can also leak sensitive information like credentials, tokens & deleted binaries #Linux #CyberSecurity #DFIR #RedTeam #BlueTeam #LinuxCommands #InfoSec
9
56
3,243
Master Linux one command at a time. Process and analyze with: awk A powerful text processing tool used for searching, filtering, formatting, and analyzing data directly from the command line. #Linux #SysAdmin #LinuxCommands #DevOps #LearnLinux
2
181
200 Linux Repair Commands Every Hacker Must Know πŸ§πŸ› οΈ A practical Linux repair cheat sheet for admins, cybersecurity learners, troubleshooters, and terminal users who want fast commands for real system problems. #Linux #LinuxCommands #CyberSecurity #EthicalHacking #KaliLinux
1
11
202
If you are a DevOps or Cloud Engineer, Linux is not just a skill it’s your daily companion. From troubleshooting servers at 2 AM to deploying applications, automating workflows, managing containers, and scaling infrastructure… Linux commands are everywhere. ☁️⚑ So I created these handwritten-style notes on the 50 Most Used Linux Commands that every DevOps & Cloud Engineer should know. Simple. Beginner-friendly. Easy to revise anytime. Whether you are: πŸ”Ή Starting your cloud journey πŸ”Ή Preparing for interviews πŸ”Ή Working with Docker/Kubernetes πŸ”Ή Managing Linux servers πŸ”Ή Learning DevOps fundamentals …this cheat sheet will save you hours. Which Linux command do you use the most every day? #Linux #DevOps #CloudComputing #AWS #Azure #GCP #Kubernetes #Docker #SRE #CloudEngineer #LinuxCommands #TechCommunity #LearningInPublic #DevSecOps
3
49
231
5,043