When working from the terminal there are a few file based commands that are used on a daily basis and you will need to be comfortable using them through the course.
cd
mkdir
touch
open
ls
pwd
mv
cp
rm
echo
less
Usually when we run commands from the terminal, they will automatically exit after doing a bit of work. We can also run applications from the terminal that run until we tell them to stop. Other times, there may be an error in a script that makes it hang up. For these situations, it is vital to know the different ways to send manual exit codes to your shell process.
CTRL + C
- Code 130 - Manual exit from scriptCTRL + D
- End of Filevim
/vi
I've been using Vim for about 2 years now, mostly because I can't figure out how to exit it.
— I Am Devloper (@iamdevloper) February 17, 2014
cd -
CTRL + R
UP
/DOWN