From c2111ede216b73e37dbe96a454ccb48c17164da9 Mon Sep 17 00:00:00 2001 From: Shwetha Jayaraj Date: Mon, 28 Aug 2023 11:57:38 -0400 Subject: [PATCH] Update content src/site/notes/Coding Tips (Classical)/Terminal Tips/About terminal.md --- .../Terminal Tips/About terminal.md | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/site/notes/Coding Tips (Classical)/Terminal Tips/About terminal.md b/src/site/notes/Coding Tips (Classical)/Terminal Tips/About terminal.md index 01468cd..6bc5365 100644 --- a/src/site/notes/Coding Tips (Classical)/Terminal Tips/About terminal.md +++ b/src/site/notes/Coding Tips (Classical)/Terminal Tips/About terminal.md @@ -4,10 +4,30 @@ # 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: ``` 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. +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: - -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 }' -``` \ No newline at end of file +Have fun. 😙 \ No newline at end of file