Make a scheduled backup process of your home directory. The backup file should be saving in var/backup directory (you may need to create it) and must be encrypted. This job is to be done every Sunday night at 9 pm
Q: count the number of files in each of your sub-directories using the for loop, read two numbers and…
A: so first we will write the code for counting the files #!/bin/bash directories=($(/bin/ls -l $1…
Q: Which backup strategy (Full, Incremental or Differential) will restore all his files in the…
A: Backup: In information technology, a backup, or data backup is a copy of computer data taken and…
Q: Write a bash script code that take any directory name as an input; then read and display the…
A: Working with Bash at the terminal gives you the ability to: Easily obtain and organize files and…
Q: Linux Scripting Problems a) An executable file owned by root:root has the setuid bit set, it is run…
A: The ask is to explain: - the effect when an executable file, owned by root:root with the setuid bit…
Q: In PowerShell, Start-Transcript is a very useful cmdlet that creates a record of all or part of a…
A: Introduction Transcript of start that basically demonstrates about a particular text or alphabet…
Q: Simple Encryption. Read from a file specified by the user and encrypt the content of the file using…
A: Since you haven't mentioned the programming language, we are answering this in Java.
Q: crontab file
A: Cron job :- is used to schedule and execute a job at a specific time. its format is as follows:-
Q: Write a bash script that will copy all the .cc, .cpp, .c, and .h files to user defined folder, whose…
A: The following bash script copy all the .cc, .cpp, .c and .h files in the current directory to…
Q: If a program suddenly stopped working and you wanted to investigate the root cause of the issue…
A: Events that you've designated for auditing with local or global group policies are stored in the…
Q: Unix/Linux Several questions regarding the commands and shell programming Purpose: know popular…
A: a) Linux popular command and utilities b) read./write files c)append directory the path…
Q: 70. You have several windows XP installations to perform, you wish to create an answer file the…
A: Given Data:- 70.You have several windows XP installations to perform, you wish to create an answer…
Q: You noticed a file in your home directory that has a + symbol appended to the mode.What does this…
A: Home directory with + symbol Access Control List (ACL) is used for sharing the purpose to provide…
Q: Shell programming in Linux and Unix: Experiment with changing your PS1 and PS2 prompt so it is set…
A: Answer A The SunOS command line is used to manipulate files and directories. You type in the file…
Q: In linux in which directory the user passwords are stored in _____________.
A: Question. In linux in which directory the user passwords are stored in ___________.
Q: To clear a log file, simply redirect nothing into it. Is it true or false?
A: Here is the answer with an explanation:-
Q: What’s the difference between session.save() and session.saveOrUpdate() methods in hibernate
A: SUMMARY: - hence we discussed all the points.
Q: Suppose that only file descriptors 1 (stdout), 3 (a read connection from filel ) and 4 (a write…
A: dup(): The dup() system call duplicates an open file descriptor and returns the new file descriptor.…
Q: You can clear a log file simply by redirecting nothing into it. True or False?
A: Redirection also means simply turning the output or data away. Equally, if we have a command which…
Q: Write a program to ask customer what are the bucket name and folder name in AWS S3, and which local…
A: # program using python import boto3 # import boto3 library import os import sys # create connection…
Q: For each of the following operations on a remote file server, discuss whether they are more likely…
A: Open a file. Read the contents of a file. List the contents of a directory. Display the attributes…
Q: (a) Discuss file systems used on Unix or Linux systems. There may be many different Unix vendors…
A: File system: A file system is a data structure where the files are stored and retrieved easily. It…
Q: How do you create 10 student users in Linux by adding a file to each of their home directories…
A: The usermod function in Linux can be used to add a user to a group. Use the -a -G flags to add a…
Q: In a short bash script named listdirs.sh that lists the names of the directories (the names only not…
A: Hi, Here is the required bash script: #!/bin/sh # if user has provided an argument, use it as the…
Q: A. COPE is a more relaxed version of BYOD where employees can choose from a list of company-approved…
A: Answer A. False According to the COPE (corporate-owned personally enabled) business model, a company…
Q: To create the file, use the tar command with the -cf switches to create a new archive file. Use -z…
A: In this question we have to perform a lab task in which we need to compress a directory in a root…
Q: LINUX QUESTIONS: Write Linux command for each question. Please use one single command to do…
A: Q1: Make a directory name “ET506" and "ET506HW"in your home directory. $mkdir ET506 $mkdir ET506HW…
Q: The “FWC-EMPLOYEES” folder/directory is available to all FWC employees to place additional data…
A: NTFS permissions are a set of permissions used to secure folders and files.
Q: O O O O 6- For a directory on a Linux OS, if the user the group can read and execute only and t…
A: The permission code represents the permission structure for various users on the system.
Q: d-changes the current working directory in various Operating Systems (OS). Pwd-acronym for p rint w…
A: UNIX Basic commands: cd Description The change directory (cd) command is built into the system shell…
Q: A user is attempting to access a folder on a shared drive. They receive a message saying access…
A: The correct answer is for the above mentioned question is given in the following steps for your…
Q: Write a Linux shell script to perform the following tasks: a. Display current date and time b.…
A: (a) How to Format Display Date or Application in the Shell Script:- You need to use a standard date…
Q: A special variable on the system called the umask (user mask) takes away permissions on new files…
A: A special variable on the system called the umask (user mask) takes away permissions on new files…
Q: 1. Which of the following statements regarding the Encrypting File System is correct? The file is…
A: 1. Correct Answer is Option (a) The file is encrypted with a symmetric key. Explanation : Encryption…
Q: Create a script where you prompt the user for input, and the value provided will be a user. Loop…
A: As per guidelines we can answer only one question for answer of other questions ask separately.
Q: Create a ctass with a statie main that tests the ability to resolve and prist a Path: • Create an…
A: As per guidelines we can answer inly one question for answer of other questions please ask…
Q: using Linux/Unix, please Suppose that you want to block everyone (except you) at the main door…
A: Actually, given information: Suppose that you want to block everyone (except you) at the main door…
Q: Create a Linux shell script that will search for US phone numbers in files that are in a directory…
A: Answer: -d file - This option determines whether the provided file exists on the system and is it…
Q: Hi, I am trying to SCP a file but cannot succeed to get it. I am sure that code is correct but I got…
A: SCP is a command-line command that helps one to securely copy files and directories between two…
Q: which command is used to modify password of user الاجابات pwd passwd useradd userdel…
A: Please give positive ratings for my efforts. Thanks. ANSWER 1) passwd is used to modify the…
Q: In linux in which directory the user passwords are stored in _____________
A: In linux in which directory the user passwords are stored in
Q: What is the command one would run at a shell to change the current working directory to the parent…
A: Below is the command in required format:
Q: This question is designed to gain more experience on symmetric encryption algorithms, encryption…
A:
Q: Write a Java program to create a server that listens to port 5006 using stream sockets. Write a…
A: Note: The given program is a general program. Kindly change the class name and other specifications…
Q: The set of permissions (d rw- r- - r-x) is interpreted as _____________________________…
A: The different access permission for a file in the unix system is represented by read(r) - for read…
Q: 6- For a directory on a Linux OS, if the user can read write and execute- the group can read and…
A: From the given information user has read write execute permissions for a directory group has read…
Q: Linux assignment Assume that the working directory contains the following files: adams.ltr.03…
A: I'm providing the answer of the above questions. I hope this will help. Thank You..
Q: Write two scripts called encryption and decryption. Test both scripts by encrypting a file called…
A: TO ENCRYPT A SCTIPT : * open the script that you want to encrypt. *Select Edit>Encrypt script.…
Q: What would be the absolute pathname (for a Linux System) for a file name keybd located under the…
A: Required: To find the absolute pathname (for a Linux System) for a file name keybd located under the…
Step by step
Solved in 2 steps
- What is the best way to acquire a complete list of all the files in your current directory, including their permissions?In what kind of file format does a password manager save an encrypted list of passwords? Is it a disk on your local computer, a website, an external hard drive, or a USB device?How can you get a comprehensive list of all the files in your current directory, including with their permissions?
- If you wanted to find where under your home directory the file exam2File is located, what command and options/arguments would you use?Write ONE code that does all three things; count the number of files in each of your sub-directories using the for loop, read two numbers and display all the odd numbers between those two numbers, search for no password entries in /etc/passwd and lock all accounts.Most log files on the system are found in which directory?a. /etc/logfilesb. /etc/logc. /var/logd. /dev/log
- An online book selling shop, BOI-POKA.com has recently launched its website. When a customer makes an inquiry about a book, the system first checks the availability of the book. If the book is available then the customer needs to validate him/herself. If a book is unavailable, the system shows an error message to the customer and also saves the list of unavailable books in a file. If a customer fails to validate him/herself, can register into the system and issue a book. For valid customers, the number of books issued to him is checked. If the maximum quota exceeds then an error message is shown to the customer. Otherwise the book is issued to the customer. After issuing the book the system updates the database and prints a receipt. In this way customers can receive the book. Please Draw a Activity diagram based on the above scenario.A company has a policy of taking daily backup from Monday to Thursday and a weekly backup on Friday. Backups are taken at 11PM.An employee creates 20 new files (File1, File2…...File20) on Monday and save it on the file server. He comes back on Wednesday and modifies File3 and File4 and save it back. On Thursday he creates 2 more files (File21 and File22). On Friday he opens up File 5 but close it immediately without making any modification. On Friday he also accidently deleted File3, File5 and File11. Which backup strategy (Full, Incremental or Differential) will restore all his files in the shortest amount of time? Explain how.It copies only files that have been modified since the date specified in the command's arguments. Why is it so powerful?
- How is it possible to have two files in your account with the same filename? Take it for granted that your home directory serves as your current directory. When a file called Florence is moved to a directory titled Proposals, which is a subfolder of the home directory, what command is used to do this?Linux : Bash Scripting -Write the script to create directory. You also have to check if directory with the same name already exists in the current location before executing the ‘mkdir’ command.the command used to go to your home directory is a cd/ h cd- d. cd home