Top 50 Unix Interview Questions and Answers by Knowledge Powerhouse

Top 50 Unix Interview Questions and Answers by Knowledge Powerhouse

Author:Knowledge Powerhouse
Language: eng
Format: azw3, epub, pdf
Publisher: UNKNOWN
Published: 2016-12-10T08:00:00+00:00


In batch mode commands are separated by semi colon.

% command1; command2

In concurrent mode we separate commands by & symbol.

% command1 & command2

21. How will you search for a name in Unix files?

We can use grep command to search for a name or any text in a Unix file.

Grep stands for Globally search a Regular Expression and Print.

Grep command can search for a text in one file as well as multiple files.

We can also specify the text to be searched in regular expression pattern.

% grep ^z *.txt



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.