what will this do $cat > file.c ?(file.c is a file in
current directory)
Answer Posted / amudha
$cat > file.c
$cat is like a normal variable. since this variable is not
defined elsewhere it will not give any o/p.
In this part ">file.c" will create a new empty
file , 'file.c' in the current time stamp
| Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
Who wrote grep?
Can you enlist some commonly used network commands?
How does shebang work?
What command is used to switching between users in unix?
What is the function of grep command in unix?
Who command in unix?
Which command should you use to find the remaining disk space in unix server?
Are you in or at the office?
What is the first character of the output in ls l command?
Describe the zip/unzip command using gzip.
What is the nmap command?
What are the differences among a system call, a library function, and a unix command?
Which command is used to delete all files in the current directory and all its sub-directories?
hw will u use awk in replacing cahrs and files
How do I run a bash script?