Update 'README.md'

This commit is contained in:
2023-01-07 12:34:07 +00:00
parent 430a79557f
commit 4802a1e6a3

View File

@@ -135,13 +135,53 @@ drwxr-xr-x. 1 root root 202 Dec 26 21:31 usr
drwxr-xr-x. 1 root root 200 Jan 3 20:37 var drwxr-xr-x. 1 root root 200 Jan 3 20:37 var
``` ```
- `cd` - ### `cd`
Change current working directory
```bash
/home/test_user $ cd ..
/home $ cd /etc
/etc $
```
### `pwd`
Returns current working directory
```bash
/home/test_user $ pwd
/home/test_user
```
### `cat`
Lists file
```bash
/home/test_user $ cat todo.txt
1. first task
2. next tssk
3. last task
```
### `tac`
Lists file in reverse order
```bash
/home/test_user $ tac todo.txt
3. last task
2. next tssk
1. first task
```
### `less`
- `cat` -
- `tac` -
- `more` -
- `less` -
- `cut` - - `cut` -
- `head` - - `head` -
- `tail` - - `tail` -