Commands

For Linux Computer Commands

adduser/addgroup Command

$ man command-name

agetty Command

$ sudo adduser tecmint

alias Command

$ agetty -L 9600 ttyS1 vt100


anacron Command

$ alias home='cd /home/tecmint/public_html'

eudcedit.exe

It is used to produce characters.

apt Command

$ sudo apt update


apt-get Command

$ sudo apt-get update

fsmgmt.msc

It is used to open the shared folder menu.

aptitude Command

$ sudo aptitude update


arch Command

$ arch

arp Command

$ sudo arp-scan --interface=enp2s0 --localnet

at Command

$ sudo echo "shutdown -h now" | at -m 23:55


atq Command

$ atq

atrm Command

$ atrm 2

awk Command

$ awk '//{print}'/etc/hosts


basename Command

$ basename bin/findhosts.sh

bc Command

$ echo 20.05 + 15.00 | bc

bg Command

$ tar -czf home.tar.gz .


bzip2 Command

$ bzip2 -z filename #Compress

cal Command

$ cal

chgrp Command

$ chgrp tecmint users.txt


chmod Command

$ chmod +x sysinfo.sh

chown Command

$ chmod -R www-data:www-data /var/www/html

cksum Command

$ cksum README.txt


clear Command

$ clear

cmp Command

$ cmp file1 file2

comm Command

$ comm file1 file2


cp Command

$ cp /home/tecmint/file1 /home/tecmint/Personal/

date Command

$ date

dd Command

$ dd if=/home/tecmint/kali-linux-1.0.4-i386.iso of=/dev/sdc1 bs=512M; sync


df Command

$ df -h

diff Command

$ diff file1 file2

dir Command

$ dir


dmidecode Command

$ sudo dmidecode --type system

du Command

$ du /home/aaronkilik

echo Command

$ echo “This is TecMint - Linux How Tos”


eject Command

$ eject /dev/cdrom

env Command

$ env

exit Command

$ exit


expr Command

$ expr 20 + 30

Example

which one is the exit command? :