Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems Uropean Conference Adbis 2020 Lyon France August 25 27 2020 Proceedings Lncs 12245

Authors: Jerome Darmont ,Boris Novikov ,Robert Wrembel

1st Edition

3030548317, 978-3030548315

More Books

Students also viewed these Databases questions

Question

LO1 Explain how the workforce is changing in unpredicted ways.

Answered: 1 week ago