Instructions: Circle T if the statement is true, F if the statement is false, or write the best answer in the space provided. A ____________can be added to a file or an e-mail message to verify the identity of the sender and guarantee the file or message has not been changed.
Q: The command to display the word UNIX in quotation marks is: A echo "UNIX" B echo ""UNIX"" C display…
A: Please refer to the following steps for the complete solution of the problem above.
Q: C Using Pre x O Programn x C Create A C X C Create A C x b Answered x A MAN 200 X E Managen x O…
A: Program: //include the header file #include <iostream> using namespace std; //definition…
Q: Create a script that uses ping and fping to do the following tasks: After asking for your first and…
A: This simple script may be used to keep an eye on your own personal or professional network at home…
Q: Write the Linux commands for ANY 10 of the following questions. Execute the commands and copy the…
A: 1."which" is the command used to display the path of a command
Q: ?What is the extension of script files a) .m b) .mat c) .script d) There is a nothing called script…
A: answer is
Q: You are to make a Login Signup system. The user will interact with the program through the command…
A: I have answered this question in step 2.
Q: 3.14 LAB: Detecting Network Change (files and lists) Securing a network from attacks means a…
A: According to the information given:- We have to follow the instruction mentioned to perform and get…
Q: _7. It is a type of malicious code that activates at a specific time/date. 8. A_happens when input…
A: 7. Complete the sentence given with a proper answer. __________ - It is a type of malicious code…
Q: A user downloaded a program from a website. After saving the file, the user cannot find the…
A: A user downloaded a program from the website. After saving the file , the user cannot file…
Q: Linux commands that satisfy these questions for my review. thank you 28. You want to change the…
A: Dear Student, As per our company guidelines we are supposed to answer ?️only first 3️⃣ sub-parts.…
Q: Which of the following statements regarding steganography is incorrect? O a. None of the available…
A: Steganography is a technique to conceal a message along with another file or data so that it can be…
Q: what are the commands to send email to issue in the mail promot to achieve the following • Read the…
A: There are different types of commands that can be used to send mail from the terminal, like…
Q: A user types in the command head /poems/mary. What will be displayed on theterminal screen?a. the…
A: Head command: Head command in Linux is used to print top "n" number of data of the given input. In…
Q: Exercise 1: Please create a script that print “Hello, your name.” • Exercise 2: Please create a…
A: Given: Exercise 1: Please create a script that print “Hello, your name.”Exercise 2: Please create a…
Q: Create a new user named (Your_Name) and assign a password (Your Roll_No.) to it. Also show how to…
A: We can create user in ubuntu by using the command as $sudo adduser {username}
Q: Given the law of cosines is c = va? + b² – 2ab cos C for a triangle; write a script that requests…
A: Given The given answer is below. Matlab: Matlab stands for Matrix Laboratory. It is used to perform…
Q: UAC stands for User Access Control O False O True Hibernation is a power- saving mode designed…
A: 1. Its not correct, UAC means User Account Control is a security component in the windows operating…
Q: 2. Each statement below is either TRUE or FALSE. Choose the most appropriate one and ENTER in the…
A: 2.1 Recycle bin temporarily store the files that are removed. It is placed in desktop hence…
Q: The command____appends standard output to a file a. // b. >>
A: Solution:
Q: 1x10 2 ye20 3 1ot "xSxSy 4 Jet "Sx"Sy" "Sx Sx $x the above shell script will give: Answer.
A: The problem is based on the basics of arithmetic operations in bash.
Q: Write Bash Script An integer number is said to be a perfect number if its factors, including1 (but…
A: Given example is 6 is a perfect number because 6 =1 + 2 + 3. Write bash script that prints all the…
Q: 14:\We can delete a file shortcut and a file by deleting the shortcut? a. True O b. False O 15:\ Add…
A: The questions mentioned above are from general computing, which means basic computing problems these…
Q: 2. Given the law of cosines is c = va2 + b2 – 2ab cos C for a triangle; write a script that requests…
A: Matlab: Matlab stands for MATrix LABoratory. It is used to perform engineering and scientific…
Q: 5- gives the user quick access to programs, websites, etc. ...... Just type the name of the file or…
A: To solve the question, let us understand each option first to figure out the suitable option easily.…
Q: I'm trying to fix my Bash script. It's supposed to take an input of multiple usernames, and print…
A: Single line command: who | awk '{print $1}' | sort | uniq | tr '\n' ' '
Q: You can't copy and execute selected lines from command history * True O False
A: The answer has given below:
Q: Create a new user named (Your Name) and assign a password (Your Roll No.) to it. Also show how to…
A: Linux is a family of open-source Unix-like operating systems based on the Linux kernel, an operating…
Q: 1 Private Sub Button1_Click(ByVal sender As System.Obiect, ByVal e As System.EventArgs) Handles…
A: Given a Visual basic code and asked to fix the error
Q: 1. Create a script compare.m that first asks the user to enter a value for x and then asks the user…
A: MATLAB Program 1. Answer
Q: Which of the following statement is false? JavaScript cannot access the cookies or variables from…
A: JavaScript is a scripting language or programming language that helps to implement complex webpages…
Q: The command ls -l | wc –l will CHOOSE OPTION: print the full list of users print error print number…
A: In UNIX, ls -l | wc –l: print number of files and directories in current directory In the above…
Q: Help with attached. Cannot attach anything, is there an email I can send a file t
A: Help with attached. Cannot attach anything, is there an email I can send a file to
Q: A client sends you two files containing two shapes to be used in the design of a logo. Your computer…
A: Actually, given information: A client sends you two files containing two shapes to be used in the…
Q: script args.sh. The script will take any number of command line arguments. The script will print…
A: #!/bin/bash echo "Command line arguments are: " for i; do echo $i done echo 'Total number of…
Q: e a script which can add users from (excel) not csv file containing 100 entries of first and last…
A: It is defined as a type of languages are used to write Script. They are a series of commands that…
Q: file: #!/bin/bash File='data_file.txt' i-1 While read line; do echo "Line No.Şi:Şline" i=$((i+1))…
A: Yes, This is a valid script that helps to read data from a file " data_file.txt".
Q: Please help answer the following (both parts a and b) I have the file run.sh, it currently has…
A: (a) File access permissions are displayed using the ls -l command. The output from the ls -l command…
Q: Review the following program that extracts the email server domain name. >>> data = 'From…
A: data = 'From stephen.marquard@uct.ac.za Sat Jan 5 09:14:16 2008 'atpos = data.find('@')print(atpos)…
Q: (a) Using a text editor, create a textfile, name it secretLetter.txt containing the text "The…
A: Since we are not aware of the yhd7213 value, we'll give the steps to be mimicked. \ The symmetriс…
Q: Assume that you just logged into your Matrix account. You are located in your home directory that…
A: Assume that you just logged into your Matrix account. You are located in your home directory that…
Q: When adding several user accounts, you might want to use the newusers utility, whichcan process a…
A: Fresh Utility for Users:It is a utility that reads a file full of usernames and plain text…
Q: Which of the following statement is false? Java-scripts cannot read or write files on users'…
A: Explanation c) Cookies and variables from other websites are inaccessible to JavaScript.JavaScript…
Q: Which of the follow statement(s) correctly completes the following sentence fragment The serial…
A: The serial monitor acts as link between the computer and your Arduino . It allows you to send and…
Q: 5. Command1.Enabled = True, false "1" "0" 1,0 O O O
A: Please check the step 2 for answer and step 3 for Explanation.
Q: The mode portion of the command format is made up of the following parts: Category of users you…
A: The mode portion of the command format is made up of the following parts: Category of users you are…
Q: This needs to be done using Linux bash shell script. 2. Write a shell script display_digits to…
A: Approach - Take input from users. Count of the digits. Check for integer Handle + and – symbols…
Q: C Using Pre x O Programn x С Create A C х c Create A ( X b Answered x A MAN 200 E Managen x O…
A: Build in functions used in program: The pow() function is used to compute the power of number.…
Q: You are using the scripting statement case in a script and keep getting a message such as the…
A:
Q: In Linux, text processing and text analysis are essential. The following file contains the history…
A: Below i have shown:
Q: The Git push command will always succeed. O True False
A: Answer : The answer is False git push command: It is accustomed transfer content in native…
Instructions: Circle T if the statement is true, F if the statement is false, or write the best answer in the space provided.
A ____________can be added to a file or an e-mail message to verify the identity of the sender and guarantee the file or message has not been changed.
Step by step
Solved in 2 steps
- Write a script and save it as /opt/book/chapter10/exercise2. This script performs thefollowing functions d. Counts backwards from 10 to 1e. Displays the current numberf. Pauses for 1 second between numbersRun the script in terminal using the command: bash /root/Desktop/exercise21. Is each of the following an absolute pathname, a relative pathname, or a simple filename? a. milk_co b. correspond/business/milk_co c. /home/max d. /home/max/literature/promo e. .. f. letter.0210 2. List the commands you can use to perform these operations: a. Make your home directory the working directory b. Identify the working directory 3. If the working directory is /home/max with a subdirectory named literature, give three sets of commands you can use to create a subdirectory named classics under literature. Also give several sets of commands you can use to remove the classics directory and its contents. 4. You should have read permission for the /etc/passwd file. To answer the following questions, use cat or less to display /etc/passwd. Look at the fields of information in /etc/passwd for the users on the local system. a. Which character is used to separate fields in /etc/passwd? b. How many fields are used to describe each user? c. How many users…Hi i made this code myself but there are some errors coming in this code i have attached screenshot of error. this code is the Producer Consumer using semaphore in Bash shell Script can you me it workable #!/bin/sh mutex=1full=0empty=3x=0 echo "A. ProducerB. ConsumerC. Exit"while(1)doecho "Enter your choice"read n if [ $n -eq 1 ]thenif [ {$mutex -eq 1} -a {$empty -ne 0} ]thenproducer()elseecho "Buffer is full!!"fibreak;if [ $n -eq 2 ]then if [ {$mutex -eq 1} -a {$full -ne 0} ]thenconsumer()elseecho "Buffer is empty!!"fi break;fifi done wa(){s=$1return $((--s)) }signal(){s=$1return $((++s))} producer(){mutex=$((wait()))full=$((signal()))empty=$((wat()))x++;echo "Producer produces the item $x"mutex=$((signal()))} consumer(){mutex=$((wat()))full=$((wat()))empty=$((signal()))echo "Producer produces the item $x"x--;mutex=$((signal()))}
- In ubuntu server Create Dialog Box to display Calender(Discussed in class) using Script file. 2. Using Crontab Command Schedule time for creating a file name (Linux.txt) and perform addition of two numbers - store result into the file with print statement of "welcome to ILAC " Note : Mention Name and student id in the output screen.profile-image Time remaining: 00 : 09 : 41 Computer Science PowerShell Practical Congratulations! You’ve been hired VaultTech as a Windows Server 2012 R2 administrator. Your first assigned project is to create some PowerShell scripts to automate certain administration functions. a. We need a script that will search for AD accounts that have not logged into the Domain within 30 days, and then disable those accounts. b. We need a script that can search for “Critical Errors only” in the Windows Event Viewer, sorted by date, and then output those results to a CSV file on the Servers desktop. c. We need a script that can see if a Process is using more than 90% CPU usage, and then terminate that Process, but write a message to the screen that it was terminated for reaching X% CPU. d. Because of a new phone system installed, all users phone numbers have changed. We need a script that will read the new phone numbers from a CSV file and update Active Directory (this is where HR gets its…Linux Homework Please show console output 1: Please create a script that prints “Hello, your name.” 2: Please create a directory call it yourname_bin, and add it to PATH. Then move the script “Hello, your name” to yourname_bin. Then run it from your root directory. 3: Add a new command called ‘a’ which will perform exact same as ‘ls -a’. 4: Create a function call it yournamesortFile, which will sort all filenames of current directory. 5: Please make your own page using shell script, print following as your page. <html> <head> <title> YourName System Information </title> </head> <body> <h1>YourNameSystem Information</h1> </body> </html> 6: Add one variable in the example, name the variable as greeting, which displays “Hello, my name is your name” in the body using variable greeting. 7: Add one…
- 14) Using zenity, write script to display dialog box to enter First Name, then another dialog box to enter Last Name, andanother dialog box to enter password, where the password when entered is masked. Then these input should bedisplayed in single dialog box scripts MUST be in bash shell linux commandsQuestion 11 mah.How would you use one command to look for all valid email addresses in a file called email.txt? Full explain this question and text typing work only We should answer our question within 2 hours takes more time then we will reduce Rating Dont ignore this line(a) Using a text editor, create a textfile, name it secretLetter.txt containing the text "The setting sun is limitless in beauty, alas it also means that dusk is near." Encrypt this file using the openssl toolset with your yhd7213 as the encryption key, using(i) AES 256 bit key, OFB mode, name the encrypted file secretLetter_aes256.enc (ii) DES CBC mode, name the encrypted file secretLetter_des.encAttach the screenshots and submit both files
- Question 11 mah.A text file contains: abc123xyz define "123" a1b2c3 var g = 123; Which lines match the regular expression: '123'. Full explain this question and text typing work only We should answer our question within 2 hours takes more time then we will reduce Rating Dont ignore this line1) Write a bash script to demonstrate while loop which displays "While Loop Demo" and exits when key q is typed. 2) Write a bash script using while loop which displays date, your username and current directory every 15 seconds scripts MUST be in bash shell linux commandsAnswer all questions else downvote question 1. Create a script where you prompt the user for input, and the value provided will be a user. Loop through each file in that user's home directory (ignore the sub directories) and count the number of times a file contains the word ERROR (hint use 'wc' command to help with counting) and output the total number of errors at the end of the script. Once completed, take a screenshot of the source code of the script, and of the script executing, to execute the script you will need to create your own sample input, please include the sample input as part of your execution screenshot. question 2. What would be your current working directory if you changed directories to /log/././././../media/log/ssh/test/../users/ question 3. What would be your current working directory if you changed directories to /opt/test/usr/www/sbin/boot/pdfs/./spool/share/etc/./bin/.././httpd/