Linux Ubuntu commands

# sudo – the most important command , appears to ROOT user

sudo chmod [mode] [file or directory ] – change access restrict to file or directory

  • mode – 0777 – full access to file or directory
  • mode – 600 – read and write
  • mode – 400 – read only mode
 $ sudo chmod 0777 /Home/1 

ARCHIVATION

tar xzf [FILE.TAR.GZ]

$ tar zxvf jre-8u73-linux-x64.tar.gz 

FILE OPERATIONS

Move file from to : sudo mv [FROM] [TO]

$ sudo mv  /Downloads/fromDirectory  /ToDirectory/      

Copy file to: sudo cp -r [FROM] [TO]

$ sudo cp -r /home/dzen-dzimon/Downloads/STS.ini  /home/dzen-dzimon/sts-bundle/sts-3.9.5.RELEASE/

Program installing

wich [program] – show path where program

application install

$ sudo apt-get install opera-stable
Linux Command

Basic Linux