Professional Documents
Culture Documents
Linux 88-100
Linux 88-100
Linux 88-100
88 days. find /home/durgasoft -atime -30 ( checks all the files/directories under /h
89
90
91 How to get a particular string as your prompt ? Give syntax of that command? PS1="PARTICULAR STRING"
92
it’s the inbuild command to check the return value of a conditional express
93 what is the use of "test" command in unix? less than 3 and returns true or false)
94 In vi editor how do you execute unix commands? go to "ex mode" from "command mode" using shift + : then -- :!<unix-com
95 How do you find path of a directory? Give its syntax. find / -name <name-of-directory> -type d
unix is a teminal based OS ( means multiple users can connect at the sam
96 What is the basic difference between unix and windows operating systems? only one user can connect any point of time)
tee
99 Through which command will redirect output to bOth screen and files at the same time? ls -l | tee f1 ( the output will go to f1 file and the screen)
100 What is the use of pipes ( | ) ? redirect the input of previous command to the next command ( ls -l | tee f1