Picked these from here
| Command | Note |
|---|---|
| Ctrl + a | go to the start of the command line |
| Ctrl + e | go to the end of the command line |
| Ctrl + k | delete from cursor to the end of the command line |
| Create the file 'wpa_supplicant.conf'... | |
| $ sudo nano /etc/wpa_supplicant.conf | |
| Put the following in ti: | |
| network={ | |
| ssid="your_wifi_name" | |
| psk="your_wifi_password" | |
| } |
| yaml2json () { | |
| ruby -r yaml -r json -e 'puts YAML.load($stdin.read).to_json' | |
| } |
Picked these from here
| Command | Note |
|---|---|
| Ctrl + a | go to the start of the command line |
| Ctrl + e | go to the end of the command line |
| Ctrl + k | delete from cursor to the end of the command line |