Update content src/site/notes/Coding Tips (Classical)/Terminal Tips/About terminal.md

update-template-to-v1.54.2-d58922aa-d6d0-4a9d-ae7f-5f7ff40cbb58
Shwetha Jayaraj 2023-08-28 11:57:38 -04:00
parent dc5fba6201
commit c2111ede21
1 changed files with 24 additions and 24 deletions

View File

@ -4,10 +4,30 @@
# Your terminal is everything! # Your terminal is everything!
Your terminal is the main way that you interact with the machine. So you have to make sure that it is optimized to be as lightweight as possible. It is also the main way you create [software](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FCommands%20%2B%20Settings%2FInternet%2FRepos%2FAbout%20Repositories) interactively to be [hosted](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FCommands%20%2B%20Settings%2FInternet%2FHosting%2FOn%20Hosts) on the [Internet](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FCommands%20%2B%20Settings%2FInternet%2FHosting%2FBrowser%20talk%2FAbout%20Browsers)! For more information on internet tools, click on any of the previous links to take you to the appropriate area. Your terminal is the main way that you interact with the machine. So you have to make sure that it is optimized to be as lightweight as possible.
just in case #### Some Useful Terminal Commands:
These are pretty helpful commands I've found over the years. One example being copying the current working directory:
```bash
pwd | pbcopy
```
This copies contents of all files & subdirectories in a folder/directory to another folder.
```
cp -r /path/to/source/directory /path/to/destination/directory/
```
Find the generic password to a public wifi.
```
security find-generic-password -wa "Wifi-name"
```
Output your ipv4 & ipv6 addresses.
```
ifconfig en0 | grep inet | awk '{ print$2 }'
```
If you ever want to take a screen recording of the terminal just type in: If you ever want to take a screen recording of the terminal just type in:
``` ```
asciinema rec asciinema rec
@ -25,26 +45,6 @@ Eventually the goal is to port the info I've gather on [this](https://docs.googl
- There is a near infinite amount of things to play around and improve on in your terminal - thus [Terminal To-do's](obsidian://open?vault=Coding%20Tips&file=Terminal%20To-do's) are born. - There is a near infinite amount of things to play around and improve on in your terminal - thus [Terminal To-do's](obsidian://open?vault=Coding%20Tips&file=Terminal%20To-do's) are born.
Your terminal the main way you create [software](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FCommands%20%2B%20Settings%2FInternet%2FRepos%2FAbout%20Repositories) interactively to be [hosted](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FCommands%20%2B%20Settings%2FInternet%2FHosting%2FOn%20Hosts) on the [Internet](obsidian://open?vault=enter&file=Coding%20Tips%20(Classical)%2FTerminal%20Tips%2FCommands%20%2B%20Settings%2FInternet%2FHosting%2FBrowser%20talk%2FAbout%20Browsers)! It is from the terminal that all programs are born as it interfaces with the outside devices! For more information on internet tools, click on any of the previous links to take you to the appropriate area.
#### Some Useful Terminal Commands: Have fun. 😙
These are pretty helpful commands I've found over the years. One example being copying the current working directory:
```
pwd | pbcopy
```
This copies contents of all files & subdirectories in a folder/directory to another folder.
```
cp -r /path/to/source/directory /path/to/destination/directory/
```
Find the generic password to a public wifi.
```
security find-generic-password -wa "Wifi-name"
```
Output your ipv4 & ipv6 addresses.
```
ifconfig en0 | grep inet | awk '{ print$2 }'
```