edited by
334 views

1 Answer

Best answer
3 votes
3 votes

The command cat >x in unix c) creates a file x and waits for the user to give input from the keyboard.

cat command (concatenate) allows us to create single or multiple files, view the contents of files, concatenate files, and redirect output in terminal or in files.

If we give cat >x command then a file named x is created and allows the user to type input from the keyboard. After giving the input , user has to press Ctrl, then type D to exit.

Then the user can see the data of file x by typing cat x command.

selected by
Answer:

Related questions

0 votes
0 votes
1 answer
1
gatecse asked Mar 2, 2018
1,345 views
Choose the incorrect statement Shell scripts can accept arguments Shell scripts are interpretedShell is a programming languageShell scripts are compiled
0 votes
0 votes
2 answers
2
gatecse asked Mar 2, 2018
756 views
Bluetooth uses ____ method in physical layer to avoid interference from other devices or other networksFHSSFDSSTDSNone of the above
0 votes
0 votes
1 answer
3
gatecse asked Mar 2, 2018
387 views
In which of the following search agent operates by interleaving computation and action?Offline searchOnline searchBreadth first searchDepth first search
0 votes
0 votes
1 answer
4
gatecse asked Mar 2, 2018
370 views
Which of the following deals with the precise model where accurate solutions are achieved quickly?Soft computingMobile computingHard computingNone of the above