Linux stuff: Difference between revisions

From Mintarc Forge
No edit summary
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Common Commands with examples =
A place to get started to understand Linux commands and tools
These commands and their usage are used for both the LinuC Level 1 Exam 101 and Exam 102. Using these commands in various scenarios to become proficient in basic command-line tasks, file management, and system administration.
== ls - List directory contents ==
The ls command is used to list files and directories in a specified location. It has many options to customize the output.


Examples:
* [https://matomo.mintarc.com/mediawiki/index.php?title=Common_Commands_with_examples Common Commands ]
*ls -l: Long listing format, showing permissions, owner, size, and modification date
* [https://matomo.mintarc.com/mediawiki/index.php?title=SSH_Stuff SSH Stuff]
*ls -a: Show all files, including hidden ones (those starting with a dot)
* [https://matomo.mintarc.com/mediawiki/index.php?title=Create_monitor_and_terminate_process Create, monitor and terminate process]
*ls -R: Recursively list subdirectories
* [https://matomo.mintarc.com/mediawiki/index.php?title=SystemD_Stuff SystemD Stuff]
*ls -lh: Use human-readable file sizes (e.g., 1K, 234M, 2G)
* [https://matomo.mintarc.com/mediawiki/index.php?title=Desktop_environment Desktop Environment]
*ls /etc: List contents of the /etc directory
* [https://matomo.mintarc.com/mediawiki/index.php?title=Directory_Manipulation_and_Management Directory Manipulation and Management]
* [https://matomo.mintarc.com/mediawiki/index.php?title=Perform_basic_file_management Perform basic file management]
* [https://matomo.mintarc.com/mediawiki/index.php?title=Hard_and_symbolic_links_Weight Hard and symbolic links Weight]
* [https://matomo.mintarc.com/mediawiki/index.php?title=File_placement_and_search File placement and search]
* [https://matomo.mintarc.com/mediawiki/index.php?title=Process_text_stream_with_filters Process text stream with filters]
* [https://matomo.mintarc.com/mediawiki/index.php?title=Use_streams,_pipes_and_redirects Use streams, pipes and redirects]
* [https://matomo.mintarc.com/mediawiki/index.php?title=Search_text_files_using_regular_expressions Search text files using regular expressions]
* [https://matomo.mintarc.com/mediawiki/index.php?title=Perform_basic_file_edits_using_an_editor Perform basic file edits using an editor]
* [https://matomo.mintarc.com/mediawiki/index.php?title=Repository_and_Package_Management Repository and Package Management]
* [https://matomo.mintarc.com/mediawiki/index.php?title=Debian_package_management Debian package management]
* [[Linux_Kernel|The Linux Kernel]]
* [[Init_Systems|Explaining Init Systems]]
* [[Linux_Virtual_Machines|Linux Virtual Machines]]
* [[Mmdebstrap|mmdebstrap]]

Revision as of 14:21, 21 March 2025