Computer Science - Unix - Discussion
Discussion Forum : Unix - Section 1 (Q.No. 20)
20.
Which symbol is used to separate more than one command in the same command line?
Discussion:
3 comments Page 1 of 1.
Saurabh said:
9 years ago
" ; " command allow user to use more than one command in the same line.
For egcat >> file1 ; cp file1 file2.
It will first ask to append the data into file 1 and the appended data with the previous data in file1 will be copied to file2.
For egcat >> file1 ; cp file1 file2.
It will first ask to append the data into file 1 and the appended data with the previous data in file1 will be copied to file2.
Thakur said:
9 years ago
What symbol will be the answer?
Please describe it clearly.
Please describe it clearly.
Eldho said:
9 years ago
Pipes in Unix is "|".
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers