Linux please don't copy other answers this is the third time when i post it Please don't answer unless posting a differe

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Linux please don't copy other answers this is the third time when i post it Please don't answer unless posting a differe

Post by answerhappygod »

Linux please don't copy other answers
this is the third time when i post it Please don't answer unlessposting a different solution.
do not just copy paste from other answers questions.
L1 sec 3
Working with Files and Output Redirection (> and>>): Enter a command, using output redirection(>),
1, to send the output of the date command to a file calledtodaysdate. What command did you enter? .
2, Enter 2 different commands to view the contents of thetodaysdate file? _____) and ______.
3,,Now, using output redirection with append (>>), enter acommand, which will append an ls -al listing of files at the end ofthe todaysdate file. What command did you enter?
4,Again view the contents of the todaysdate file. (Remember touse the more command if the contents of the file scroll off thescreen). Verify that it contains date output at the top and ls -aloutput at the bottom. Does it?
5) . Enter a command, which will display the last 10 lines ofthe todaysdate file:
6) . Now, enter a command, which will display ONLY the first 3lines of the todaysdate file:
7.) . Again send the output of the date command into thetodaysdate file, using output redirection (>), and then viewthis file. What can you conclude about the difference inredirection operators (> and >>)? please answer allquestions its part of one question Thank you
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply