Difference between revisions of "Introduction to Linux"

From Void-Byte
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Basic Commands==
+
Overview
These are the most basic commands that you should know as a Linux System Administrator.
 
  
===Command Syntax===
+
# Open Source Software (OSS)
Commands that utilize the Bash shell follow this common syntax.
+
# Free Software (FS)
command [-options] [arguments]
+
# Free and Open Source Software (FOSS)
 +
# Unix
 +
# GNU
 +
# Linux
 +
# GNU/Linux
 +
# Linux Distributions
  
===Commands===
+
The Shell
{| class="wikitable"
+
 
|+
+
# CLI
!Name
+
# Shells
!Description
+
#
!Syntax
 
!Example
 
|-
 
|'''cat'''
 
|Used to concatenate files, and print to stdout.
 
|cat [-options] <path/file>
 
|cat readme.txt
 
|-
 
|'''cp'''
 
|Used to copy files and directories.
 
|cp [-options] <source> <destination>
 
|cp -R olddirectory newdirectory
 
|-
 
|'''echo'''
 
|Used to print text to stdout.
 
|echo [-options] <string>
 
|echo -e This my first line \n This is my second line
 
|-
 
|'''ls'''
 
|Used to list directory contents.
 
|ls [-options] <path/file>
 
|ls -alh /var/log
 
|-
 
|'''mkdir'''
 
|
 
|
 
|
 
|-
 
|'''mv'''
 
|
 
|
 
|
 
|-
 
|'''pwd'''
 
|
 
|
 
|
 
|-
 
|'''touch'''
 
|
 
|
 
|
 
|}
 
<br />
 

Latest revision as of 21:43, 17 July 2020

Overview

  1. Open Source Software (OSS)
  2. Free Software (FS)
  3. Free and Open Source Software (FOSS)
  4. Unix
  5. GNU
  6. Linux
  7. GNU/Linux
  8. Linux Distributions

The Shell

  1. CLI
  2. Shells