We want to use the ls command, with appropriate options, in…

We want to use the ls command, with appropriate options, in order to list extended information about the files in our current working directory that match the following patterns: One or more zeros: e.g., 0 or 000 or 00000 or 000000 One or more ones: e.g., 1 or 11 or 1111 or 111111 Exactly 4 ones followed by 4 zeroes: i.e., 11110000 but we do not want to match any file like 0110010 or 10100 that feature another alternance of binary digits.

I just logged remotely to a Linux server on which I want to…

I just logged remotely to a Linux server on which I want to run a program named /home/tux/bin/sat_brute_force that will do some computations for a very long time. Since I share access to that Linux server with other users, I want to run the program as follows: It must run in the background It must use the lowest priority that I can set It must keep running in the background after I logout of the remote server Its output must be preserved in a file Provide the command line that you would use to start this program.

In the folder /var/log we have log files from various servic…

In the folder /var/log we have log files from various services running on our Ubuntu machine. Here is an example of the log files generated by one of these services: ubuntu-advantage.log ubuntu-advantage.log.1 ubuntu-advantage.log.2.gz ubuntu-advantage.log.3.gz ubuntu-advantage.log.4.gz ubuntu-advantage.log.5.gz ubuntu-advantage.log.6.gz ubuntu-advantage.log.7.gz ubuntu-advantage.log.8.gz ubuntu-advantage.log.9.gz ubuntu-advantage.log.10.gz ubuntu-advantage.log.11.gz ubuntu-advantage.log.12.gz The convention for these file names is as follows: The name of the log file (ubuntu-advantage in our example) is suffixed by .log. Regularly, the log file is emptied and its contents saved in a backup file named ubuntu-advantage.log.1, then ubuntu-advantage.log.2 and so on so forth. Every so often, some of these backup files will be compressed, thus earning an additional suffix .gz. Write a script that will accept the name of a service as first argument, e.g., “ubuntu-advantage”, and copy in a target folder of our choice that is specified as 2nd argument, all the log files for that service (compressed or not). You must match exactly the above-described syntax in order to avoid copying files that do not follow the syntax exactly such as ubuntu-advantage.log.10-My-backup.tgz.  (1.5pts) You will display an appropriate error message if: The number of arguments passed to the script is different than 2 (.5pt) The primary log file for the service name does not exist (e.g., ubuntu-advantage.log) (.5pt) The target specified as 2nd argument to the script is not a folder or does not exist already (.5pt)

We are trying to figure out how we would store the name of a…

We are trying to figure out how we would store the name of a shell command in a variable named RUNME, then use this same variable to execute the command it holds in our Bash shell. For instance, we would store inside RUNME the date -R command, then use RUNME to get the shell to execute it later.The first part is easy, we simply do the following; export RUNME=”date -R” Select all of the solutions below which would allow us to execute the value held by RUNME