Question: Write the commands to remove all the space characters stored in the shell variable text. Be sure to assign the result back to text. First

Write the commands  to remove all the space characters stored in the shell variable text. Be sure  to assign the result back to text. First use tr to do it and then do the same  thing with sed.?

Write the commands to assign the unique lines in the file  names to the shell variable namelist.?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Removing Space Characters from Shell Variable text Using tr textecho text tr d Explanation echo text ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!