- clear
- cd ..
- cd / ( Straight to root directory )
- cd Desktop/ ( Press Tab for autocomplete )
- rm Hello.cpp (deletes the file)
- rmdir NewFolder (deletes the folder)
- cat Hello.py ( To view anything directly on command line)
sudo apt-get install "Software name"
-
Differnet build tools are available for installation also e.g umake
-
umake can be used to install Android Studio.
Install nmap package Some operations
sudo apt-get install nmap
ifconfig
sudo nmap -sn 192.168.1.0/24
- mkdir (For creating directories)
- rmdir (Deleting directories)
-
Compilation :
pdflatex demo.tex
-
open pdf :
evince demo.pdf
There are many advantages of compilation in command line. Points out errors and provides a smoother Compilation
Compilation
flex demo.l
gcc lex.yy.c -lfl -o demo.out
./demo.out demo.l
gedit script.sh
creates a script file. You can now write all your commands here and run at once.
chmod +x script.sh
to make the script file executable, admin priviledge is required.
g++ SymbolTable.cpp -o out
to compile C++ files.
Arduino needs user permission to upload to board
sudo adduser <username> dialout
sudo chmod a+rw /dev/ttyACM0