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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started