Question: I need some help with some ssh and unix shell commands. Question 1: On a remote computer with hostname unixserver.com, the user command1 has a

I need some help with some ssh and unix shell commands.

Question 1: On a remote computer with hostname unixserver.com, the user command1 has a home directory with a subfolder named documents, that contains a file check1.doc. On the local computer, the parent directory of the current working directory has a subfolder named check. Give one single command that will transfer the check1.doc file on the remote computer, to the check folder on the local computer.

Question 2: Give a single command that will find all the following occurrences of any of the following in any file in the current working directory ending with the .csv extension: - ERROR### with # being a digit in the range of 0 and 5 (e.g. ERROR234 would match, ERROR721 would not, ERROR2347 has a match) - Finding between three and nine X characters in a row (e.g. XXX would match XX would not, XXXXXXXXXX has a match) -ALERT with 1 or more of any character not X or Y following it (e.g. ALERTB would match, ALERTNVMX contains a match, ALERTX would not match).

Question 3 Write a shell command that will identify differences between the contents of two files. Explain how it works.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!