Unix Suggestion
Unix Suggestion
Q. Which command help to list the file attributes. What are the file attributes listed. Differentiate hard
link and soft link.
Q. What do you mean by Unix process cycle, Draw a unit diagram of UNIX process cycle
Q. What are the commands for suspending and killing a process. Differentiate job and process.
Q. Linux directory structure as per notes all subdirectories under root and their content.
Eg: Where the device files are stored in unix? Ans. /dev
Eg. Where the login directories of linux user are stored in unix? Ans. /home
Eg. Where the temporary files are stored in unix? Ans. /dev
To use the grep command to search for metacharacters such as &! . * ? and \, precede the
metacharacter with a backslash (\). The backslash tells grep to ignore (escape) the metacharacter.
For example, the following expression matches lines that start with a period, and is useful when
searching for nroff or troff formatting requests (which begin with a period).
Eg
$ grep ^\.
COMMANDS
Lp: to print
Cat A file contain four agarwal with different spelling ,how to search all using egrep
Mv to cut
Cal with all option
Cmp
Comm
Diff
How you use cut commands to cut fiels and cut columns from a table with proper option
First one creates file second one append to the same file
Input redirection eg wc -l <file.txt will count line of file.txt so we take the std input of fie.txt to
apply wc command on it
Where as >> is an output operator but it does not overwrite the exiting file but append the new data
Explain with example the symbolic fie permission change using chmod