Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)
Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)

🔧 Programmierung 🕛 vor 1 Jahr 3 Min Lesezeit
0

🚀 Day 2 of My 90-Day DevOps Challenge: Exploring Linux Basics

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Today, I started my journey into Linux, an essential skill for any DevOps engineer. From exploring the Linux file system to mastering basic commands and the Vim editor, here’s what I learned. 🐧



Image description






📂 Key Linux Directories





  1. /usr/home: Holds user-specific files, configurations, and personal data.


  2. /bin: Contains essential system commands like ls, cp, and mv.


  3. /etc: Stores configuration files for the system and applications.


  4. /tmp: Temporary files created by processes or applications, usually cleared on reboot.


  5. /var: Contains variable data like logs, caches, and queues. Logs are often helpful for debugging.


  6. /lib: Shared libraries and modules used by executables in /bin and /sbin.






🛠️ Basic Linux Commands






File and Directory Operations





  • Create a file: Used to create an empty file or update the timestamp of an existing file.




CODE
touch file.txt






Creates an empty file named file.txt.





  • Copy a file: The cp command is used to copy files and directories.




CODE
cp source.txt destination.txt






Copies source.txt to destination.txt.




CODE
cp -r source_directory/ destination_directory/






Copies the entire contents of source_directory into destination_directory. The -r option ensures all files and subdirectories are copied.





  • Move or rename a file: The mv command is used to move or rename files.




CODE
mv file.txt /path/to/destination/






Moves file.txt to the specified destination directory.




CODE
mv oldname.txt newname.txt






Renames oldname.txt to newname.txt.





  • Display file contents: The cat command is used to display the contents of a file.




CODE
cat file.txt






Displays the contents of file.txt.





  • List files in a directory: The ls command lists the contents of a directory.




CODE
ls






Lists all files and directories in the current directory.




CODE
ls -l






Displays detailed information like permissions, ownership, and file size.




CODE
ls -a






Lists all files, including hidden ones (those starting with .).





  • Make/Create Directories: Used to create directories.




CODE
mkdir new_directory






Creates a single directory.




CODE
mkdir -p parent_directory/child_directory






The -p option creates parent directories if they don’t exist.





  • Remove Files or Directories: The rm command is used to delete files or directories.




CODE
rm file.txt






Removes a file.




CODE
rm -r directory_name






The -r option ensures recursive deletion of all contents in the directory.



By understanding these commands with their options (-r, -a, etc.), you can efficiently manage files and directories in Linux systems.






✨ Key Takeaway



Today’s learning covered the foundational Linux commands to create, copy, move, and view files, as well as navigate directories. Mastering these commands is a critical first step toward becoming proficient in Linux, a core skill for any DevOps professional! 🚀



Stay tuned for more amazing content 😀.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
Use custom web fonts in Google Sheets charts
2 Quellen
Introducing the new 1Password App for Google Chat
1 Quelle
Context-aware access controls are available for Gemini Enterprise in the Admin console
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten 🚀 Day 2 of My 90-Day DevOps Challenge: Exploring Linux Basics

Thematisch verwandte Begriffe: 90Day, DevOps, Challenge, Exploring · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...