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 new file mode 100644 index 0000000..b243858 --- /dev/null +++ b/src/site/notes/Coding Tips (Classical)/Terminal Tips/About terminal.md @@ -0,0 +1,38 @@ +--- +{"dg-publish":true,"dg-permalink":"your-terminal","permalink":"/your-terminal/","created":"","updated":""} +--- + +# 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. + +If you ever want to take a screen recording of the terminal just type in: +``` +asciinema rec +``` + +Copy and paste with [xclip](https://github.com/astrand/xclip)! You can even [share](https://www.fosslife.org/2-tools-linux-terminal-sharing?cmid=4a5288c5-330b-4694-a774-0e44f9a5fa28) your terminal screen with multiple users using screen & tmux. + +--- + + +Eventually the goal is to port the info I've gather on [this](https://docs.google.com/document/d/1HSj4i64hM6291LXvIoWxMJfYn35geWJaAWY9oXkOmm0/edit#) document over to here...eventually. + + +- The whole bash versus zsh debate is nicely compared to on [this](https://stackabuse.com/zsh-vs-bash/) site. Both are great, use whichever you prefer. + +- 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. + + +#### 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/ +``` \ No newline at end of file