You issue the command head * what would the resulting output be?



You issue the command head * what would the resulting output be?..

Answer / Vikash Kumar Singh

The `head` command by default shows the first 10 lines of a file. If no file is specified, it acts on the standard input. Since the wildcard * represents all files in the current directory, it will display the first 10 lines from each of those files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

What is Write Command?

3 Answers  


How do you create a file in linux?

1 Answers  


How many types of commands are there in linux?

1 Answers  


Explain the linux ‘cd’ command options along with the description?

1 Answers  


How to write the output of a command to a file?

1 Answers  


Why ls -F dev/log file output indicate as = sign at end of the file name?

5 Answers   HCL, IBM,


what are the init levels in Linux?

3 Answers  


Explain getopts command of linux?

1 Answers  


In Linux how you set time a limit on quota?

1 Answers   Mind Tree,


When is it better to use the more command rather than cat command?

3 Answers  


How does grep work in linux?

1 Answers  


Which command puts a script to sleep untill a signal is recieved?

1 Answers  


Categories