Simple linux commands for beginners part 2

Image result for linux
echo$SHELL#අපි පාවිච්චි කරන ශෙල් එක බලන්න පුලුවන්
echo$SHELL_VERSION#Check where the bash is located
pwd #Current directory එකේ path එක බලන්න පුලුවන්
echo ”Hello world” #Print Hello world
cd Desktop #Change current directory
d - #Moving directory up by one level
cd ~ #Go to Home directory
ls #List out the directory content
ls -al #Get more information about file with access permission
ls -a #list the all file including hidden files
rm sample.txt #file එකක් delete කරන විදිය
rm -d newfolder #directory එකක් delete කරන විදිය
.filename.extension #Hidden the file (ෆයිල් එකේ නමට ඉස්සරහින් . එකක් තියන්න )

Comments

Popular posts from this blog

First bash script

Lets talk about bash script

change read write execute permission of a file linux