![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions A pipe is two or more commands separated by pipe char '|'. That tells the shell to arrange for the output of the preceding command to be passed as input to the following command. Example : ls Latest Answer : The Unix commands alone are powerful, but when two or more commands get combine together, we can accomplish complex task with ease.In unix we can combine the two or more commands together to perform multiple action simulatenously with the help of Pipe ... Cat displays file contents. If the file is large the contents scroll off the screen before we view it. So command 'more' is like a pager which displays the contents page by page. Latest Answer : The cut command cuts bytes, characters, or fields from each line of a file and writes these bytes, characters, or fields to standard output. If you do not specify the File parameter, the cut command reads standard input.The more command reads files and ... cmp - Compares two files byte by byte and displays the first mismatchdiff - tells the changes to be made to make the files identical Latest Answer : 'cmp' and 'diff' both command are used to list the differences, the difference between both the command is that 'cmp' is used to find the difference between files whereas 'diff' is used to find the difference between directories.cmp ... is the output redirection operator when used it overwrites while >> operator appends into the file. Latest Answer : ">" operator redirects the output to a file, if the file already existst and contains some data in it, the ">" would cause the data over written with new data.">>" Redirects the output to be appened to the end ... How is the command “$cat file2 “ different from “$cat >file2 Both the commands mean the same , the file file1 is read and its contents are copied to file2 Ans: manA filter is a program which can receive a flow of data from std input, process (or filter) it and send the result to the std output. Latest Answer : man and cat ... What does the command “ $who | sort ‚logfile > newfile‚do? The input from a pipe can be combined with the input from a file . The trick is to use the special symbol “-“ (a hyphen) for those commands that recognize the hyphen as std input.In the above $ ls > file1$ banner hi-fi > message$ cat par.3 par.4 par.5 >> report$ cat file1>file1$ date ; who$ date ; who > logfile$ (date ; who) > logfile Latest Answer : $ ls > file1=====>Redirects the output of ls command to file1$ banner hi-fi > message=====>Redirects the output of banner command to message$ cat par.3 par.4 par.5 >> report=====>Redirects the output of files to report and the o/p ... Latest Answer : both are same. daemons are the background processes in unix. similarly background processes in windows are called as service agents or service processes. ... Latest Answer : In Hardlink Inode is same and both are independentIn Softlink Inode is diff and the linked file will b a shortcut of first file ... Read Answers (7) | Asked by : Shankar
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||