Answer Posted / mayank
yes
id file doesn't exists
cat >file
my name is sopderman
r u serious
ctrl+d
cat >>file
no, i am not
ctrl+d
cat >file
overwriting file
ctrl+d
cat -n file> file2 --add line numbers
Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
Differentiate cat command from more command.
What is ‘ps’ command for?
What is awk used for?
How does pipe () work?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Who invented grep?
Name the various commands that are used for the user information in unix.
How do I use nslookup?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What does touch command do in unix?
Why is it called a shebang?
What are the dos commands?
What does 'mkdir' command do in UNIX?
Which command can you use to find the currently running process in unix server?
What do know about tee command?