Skip to content

Commit

Permalink
update index and add reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rdnajac committed Oct 14, 2024
1 parent bab9998 commit b2baadc
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/command-line/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. It's typically packaged in a distribution, which includes the Linux kernel along with a set of software tools and utilities. There are many different distributions of Linux, such as Ubuntu, Fedora, Red Hat, and CentOS.
Linux is a family of open-source Unix-like operating systems based on the Linux kernel.
It's typically packaged in a distribution, which includes the Linux kernel along with
a set of software tools and utilities. There are many different distributions of
Linux, such as Ubuntu, Fedora, Red Hat, and CentOS.

In this guide, the "command line" refers to the interface between you and the
shell. Checkout the [quick reference](quick-reference.md) for common commands.

## Concepts

Expand All @@ -11,7 +17,8 @@ Linux is a family of open-source Unix-like operating systems based on the Linux
- **Shell**: The program that interprets and executes commands.

> [!IMPORTANT]
> When creating an instance on AWS, you're setting up a virtual machine that runs an operating system of your choice. For maximum compatibility with our software, use `Ubuntu 22.04 LTS` (on 64-bit x86).
> When creating an instance on AWS, you're setting up a virtual machine that runs an operating system of your choice.
> For maximum compatibility with our software, use `Ubuntu 22.04 LTS` (on 64-bit x86).
## Terminal

Expand All @@ -35,4 +42,5 @@ include:
> For more information on `bash`, see the [Bash Guide](bash.md).
> section.
## Bash Scripting
Read through the [bash guide](bash.md) for more information on the writing and
executing shell scripts.
22 changes: 22 additions & 0 deletions docs/command-line/quick-reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Quick Reference of common Linux commands

| Command | Description |
| -------- | ----------------------------------------------------------- |
| `pwd` | **p**rint **w**orking **d**irectory |
| `ls` | **l**i**s**t files and directories in the current directory |
| `cd` | **c**hange **d**irectory |
| `cp` | **c**o**p**y files or directories |
| `mv` | **m**o**v**e or rename files or directories |
| `touch` | create an empty file |
| `mkdir` | **m**a**k**e a new **dir**ectory |
| `rm` | **r**e**m**ove files or directories |
| `wc` | **w**ord **c**ount |
| `less` | view the contents of a file |
| `head` | view the first few lines of a file |
| `tail` | view the last few lines of a file |
| `gzip` | compress a file |
| `gunzip` | decompress a file |
| `curl` | download the contents of a website |
| `echo` | print text to the terminal |
| `cat` | concatenate and print files |
| `man` | view the **man**ual for a command |

0 comments on commit b2baadc

Please sign in to comment.