Knowing your terminal
Important commands (I'll explain later, in the meantime you can google yourself. This should be second nature for you)
cd "path"
go into another folder. Usecd ..
to go up a folderls
show contents of current folderpwd
show where you are (print working directory)z
go to any folder anywhere really quickly (repo)rm
remove a file or folder (manual)mv
move a file or folder (manual)cp
copy a file or folder (manual)mkdir
make a new directorytouch
make a new fileecho "text"
print somethingsay "text"
say something
Want to know more?
I think the following commands are also very useful. However, as a beginner you don't need to know everything. Just come back to this later...
- grep
- head
- tail
- man
- cat
>
|
- chmod
- exit
- clear
- kill
- alias
$
"
'
- functions
&&
||
(
and)
;
- say
- conditionals
For more info on all of this, head over here to find a nice cheat sheet.
Oh my ZSH
Oh my ZSH is a handy extension that changes your terminal. You can also install plugins. I recommend using ZSH with the autosuggest extension for the most productive terminal usage.
Did you learn something?
Click the button below to tweet about what you thought of this section, what you've made, what you learned... Also don't forget to share it with us via slack! Cool tweets (or other social media posts) will be selected and presented on this page!
Tweet!