Commit 38071aed authored by Philip Linghammar's avatar Philip Linghammar
Browse files

Updates basics_of_linux.md

Auto commit by GitBook Editor
parent b0db21b2
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
@@ -135,8 +135,6 @@ Then you need to source the file, so that it becomes updated: `source ./.bashrc`

Now you can just write`connecttossh` and the function will be executed.



## 2. Editing text

First let's just clear out something about **standard streams**, or **I/O**-streams. Standard streams are the streams that are used to interact between the human computer-user and the machine. There are three standard streams: standard input \(stdin\), standard output \(stdout\), and standard error \(stderr\).The stdin stream can be seen as an abstractions of the real keyboard input. So when you issue a command/program that requires input the program does not read straight from the keyboard input, instead it reads from the file STDIN.
@@ -666,8 +664,6 @@ sudo cryptsetup luksRemoveKey /dev/sda3
# You are then prompted to input the key/passphrase you want to remove
```



### Formatting a USB

In order to format a usb drive we have to do the following.
@@ -700,13 +696,13 @@ sudo mkfs.vfat -n "NameOfVolume" /dev/sda

### Create bootable USB

First find out the name of the device. Using `dmesg`, or `lsblk`, or something similar.

```
 sudo dd bs=4M if=/path/to/input.iso of=/dev/sdX conv=fdatasync status=progress
```






That's it.