Shell Scripting Commands in Oracle PL SQL Interview Questions And Answers For Experience & Freshers | Interview Preparation
1) Displaying the file contents on the terminal -
cat-used to concatenate files
more-it is used to filter for paging through text one screenful at a time
less-it is used to viewing the files instead of opening the files
head-used to print first N lines of a file
tail-used to print last N lines of a file
2) File, directory manipulation commands -
mkdir-used to create directory
cp-copy the files & directory
mv-move the files or directories
rm-remove the files or directories
touch-used to create or update file
3) Extract, sort and filter data commands -
grep-used to search for specified text in a file
sort-used to sort content of files
wc-used to count number of characters, words in a file
cut-used to cut specified part of a file
4) Basic terminal navigation commands -
ls-to get list of all files or directories
cd-used to change the directory
du-show disk usage
pwd-show present working directory
man-show manual of any commands
rmdir-used to remove a directory
5) File permission, commands -
chown-used to change owner of file
chgrp-used to change group owner of file
chmod-used to modify/access/permission of user
Please do check our daily posts, videos for beneficial informations, in case of any additional queries please do contact us, we are happy to assist you.
https://www.youtube.com/a4uofficial
0 Comments