Linux Basics

More than 90% of cloud servers and many of the webservers are running on the Linux platform so it is handy if we are aware of the Linux basic commands

1.) PWD : Present working Directory

2) CD: Change directory where CD ~ moves to home directory and cd .. just parent directory 

3.) ls: List files folders and executable files in the current directory

4.) apt: Advanced Packaging tool (mainly used to install / update new software packaging)

Time to try the combination of CD and ls

What is the output of  ls cd .. ? or ls  ..?

Now try ls /var/log

cd -- will points previously worked directory 

what about cd ../.. ? ๐Ÿ˜‰

(yes will move to double strap back )

linux commands con be tuned based on our requirements with flags (- with alphabets eg: -a or -- with full name eg:--all)

To get the list of flage type man (manual)  command with wich linux command like man ls or man pwd

Lets discuss about the file permissions and access

we cam see lot of -rw-r--r and x d will decode one by one ๐Ÿ˜Ž

- : indicates file

d: indicates directory

l: indicates link

rwx: read, write and executable permission for the owner

r--: read write and executable permission for the group users who owns the file

Now lets create a script and will give a access to it

To execute the do ./ where '.' represent current directory

unfortunately we don't have permission to execute ๐Ÿ˜ฑ

will give executable permission like below chmod +x

to execute the file used the command ./ else can do cat

Cool ๐Ÿ’ช.

Useful like for the reference :

Cheat lnk 1:


  1. ▷ Bet365 Casino Site | Up to €100 + 100 Free Spins | ChoeGocasino
    How to register ๋ฐ”์นด๋ผ ์‚ฌ์ดํŠธ an account ์ œ์™• ์นด์ง€๋…ธ at ์นด์ง€๋…ธ์‚ฌ์ดํŠธ Bet365 Casino? Bet365 Casino is the official betting site for sports betting and casino gaming in Nigeria. Bet365 Casino  Rating: 4.4 · ‎Review by Choegocasino


Post a Comment

Popular posts from this blog

JAVA 8 Predefined Functions

Microservice -Cloud Configurations -Spring