Kriuchko
1/8/2019 - 10:29 AM

Comands

Terminal useful commands

\!h Exit
Ctrl + D

\!h Clean up the lin
Ctrl + U

\!h Cancel the current command/line
Ctrl + C

\!h uid gid groups
id

\!h запуск с правами админа run as root/Administrator 
sudo 
sudi -i далее вводишь пароль

\!h Files
touch test.txt /* create new empty file */
echo "Hello" >> test.txt /* add content to the file */
cat test.txt /* view file content */
rm test.txt /* remove file */

\!h Directories

mkdir Data /* create directory */