9:\ Deleted text in Word goes to Trash a True O b. False O 10:\ The following option is used to add rows to the table in Word a. CTRL O b. Shift C. Tab هذا السؤال مطلوب 11:\When renaming a specific file it must be changed: a. Name only b. Extension only O c. Name and extension d. It is not an option O
Q: (Q1):A) Answer the following questions: 1- Current Directory Browser used to? 2- For replacing the…
A: In this question we have to provide answer for the related question with MATLAB program Let's answer
Q: 1. Display the first 12 lines of /etc/services. 2. Display the last line of /etc/passwd. 3. Use cat…
A: Step 1:- Note:-As per policy, we are entitled to answer the first three subparts of the question.…
Q: Assume the following files are in the working directory: $ ls output.txt notes1 notes2…
A: a. The command ls output* can be used to display all the files beginning with output. b. The…
Q: how can I make this visually attractive in C++
A: Given Code: // display available optionsprintf("\n\t\tEnter your choice\n""\t\t1 - Store a…
Q: Which is NOT a common file permission? O a. Write O b. Execute O c. Stop O d. Read
A: File permissions control what client is allowed to perform which activities on a record. Record…
Q: You develop a Python application for your school. You need to read and write data to a text file.…
A: to read and write the file even if the file does not exist is provided in step 2.
Q: You can loop directly through the lines of a file using a for loop. True False You can pickle a…
A: pickling in python which means to preserve, we can pickle a complex piece of data, like a list or…
Q: Create the following files: file01 file02 File 12 File112 fileRV filer fileR fileRRR file) file 8.…
A: 1. a) List (with ls) all files starting with File and having a character as fifth character and…
Q: Question 5 fptr = fwrite("w", "greetings.txt"); Parson's Problem printf("%s", lines); Rearrange the…
A: Program Approach: Create a file pointer of type FILE Create an array of type char to stores string…
Q: Which of these changes would make the following section of code scalable if additional data was…
A: All of the above options would make the above-given section of code scalable if additional data were…
Q: void loadPokemon ( Pokemon *mons[], int& nPokemon ) fstream infile; infile.open( "insert text file…
A: Answer: I have modifies code and now working fine.
Q: Debug the following bash script: * Prompt the user and get input for username and password and store…
A: According to the information given:- We have to follow the instruction to debug the mention bash…
Q: Exercise 1: Please create a script that print “Hello, your name.” • Exercise 2: Please create a…
A: Hey there, I am writing the required solution based on the above given question. Please do find the…
Q: 4- Create a script file to find y by using while statement. 10 (-1)"-1 y = (n + 1)2 n=1
A: while loop structure while <condition> <body of while loop> end power in matlab an…
Q: 3.Which of the following will read a string from a file with FILE* fpto char myString[81] properly…
A: 3.Which of the following will read a string from a file with FILE* fp to char myString[81] properly…
Q: Debug the following bash script # Prompt the user and get input for NAME and store in a variable.…
A: # Prompt the user and get input for NAME and store in a variable. Write this information in a file…
Q: How can i sort the names inside of file where there is already data? Thanks #include #include…
A: Sorting is nothing but arranging the data in ascending or descending order. There are many…
Q: 1. Give the most concise command(s) that displays lines from a set of text input files. Display only…
A: CMD orders for the Windows order brief
Q: IN SCALA P
A: Coded using Scala.
Q: Write the command that can be used to perform the following:a. Compress the symbolic link…
A: Hey, since there are multiple questions posted, we will answer first question. If you want any…
Q: Apart from displaying file contents, cat command is also used for _____ files. a) displaying b)…
A: Question. Apart from displaying file contents, cat command is also used for _____ files. a)…
Q: 1. save_friendsdb This function takes two arguments, friendsdb and filename. It opens up the file…
A: According to the information given:- We have to create a save_friendsdb with 2 argument friendsdb…
Q: Close the virtual machines now and close the virtual box. Use your real machine to respond to the…
A: hello how are you 1234567890!? Compute the MD5 hash of this file. Write the hash here : Answer :…
Q: Question no 01: Write a bash script to take an integer as input and print its…
A: Prompt the user for number Hold the value. Using while loop. Display the output
Q: Which statement correctly opens an existing file if you want to add lines to it? A.…
A: This question comes from Python Programming which is a paper of Computer Science. Let's discuss it…
Q: 1. Express that a string starts with an ‘A’ , contains an ‘b’, and ends with an ‘c’
A: According to the guidelines we are only allowed to answer question at a time, please repost the…
Q: livided by 10. umber_of_dogfoodbags = avg_dog_weight / 10; ssume that there is a file on disk named…
A: The given problem is to be solved in C++ where the shelter animals will be read from the file. Based…
Q: Q14: Assume we copied a TR.gifinto directory "image" within related project's workspace and used…
A: c. T/T/F/F file.exists(): returns TRUE, if file exists file.canRead(): returns TRUE, if application…
Q: What command tells cut to output the first five characters of every line from the file practice?
A: In Linux, a file can be created using any of the available text editors or using vi command. To…
Q: Checkpoint 11.39 Write a statement that opens a file Customers.dat as a random access file for both…
A:
Q: How can i sort the names inside of file ? Thanks
A: Sorting names in Contact Book.
Q: Checkpoint 11.39 Write a statement that opens a file Customers.dat as a random access file for both…
A: To open a file as random access file there are some access modes: mode name:…
Q: How do you get the answer to the following with four figures to the right of the decimal point: Add…
A: #!/bin/sh a=79b=429 sum=`expr $a + $b` c=162d=15 value=`expr $sum / $c` echo $(($value**$d))
Q: by using R solve the following question The files test1.dat and test2.dat contain the result of the…
A: Code: install.packages("haven") library(haven) # import .dat file Data1 <-…
Q: If you are using more to examine a file and decide you want to look back at the previous page, what…
A: vi command is used to create a text file in Linux operating system. The syntax to create a file…
Q: Is -l | less what does this command do? display the last page of the file. Display the data from…
A: Answer: C
Q: Please don't copy C++ adding values in files 10041249 Mr V Rogan R Ltd Nell 5287 491.691 10021250…
A: I have answered this question in step 2.
Q: Select everything wrong with this code segment. int main(int argc, char argv]) { FILE" fPtr =…
A: Task : Given the code segment. The task is to find the correct option for the code segment.
Q: The command that writes the contents of a file one page at a time. O a. Less O b. More O c. Head O…
A: Explanation of all the given options: a) less: This command will allow the user to view the…
Q: mplement a program that identifies a person based on their DNA. $ python3 dna.py…
A: Below find the solution Loading the files Let’s start with validating the command line arguments.…
Q: 15 16 void read_files(){ 17 18 string file_path =…
A: Given: I am confused as to how reading files work in C++, and would like to know what is a way to…
Q: Objective You have a compressed file named `gzamlet.Z` of gzip type in Lempel-Ziv (LZ77) encoding.…
A: While pressure is useful overall as it permits you to save space on your framework, order line…
Q: Which of the following saves and exits a file you are editing in vi ?
A: Answer: The correct answer of the given question is option (b) "wq".
Q: 20. Create a linux bash script to get a filename as input and then it should check and display if…
A: #!/bin/sh file="test.sh" if [ -s $file ]then echo "File size is not zero"else echo "File size is…
Q: Write a complete Bash script that takes as input a file named myfile and searches for the lowest…
A: Hi, PFB the script code for the given problem. Put this code into a file (Let's say script.sh) awk…
Q: 1. Write a Bash function named ‘Generate-ID' that generates all possible UGA student id start with…
A: We need to write a Bash function named ‘Generate-ID' that generates all possible UGA student id…
Q: 11.A user opens an existing file for editing by issuing the 'vi my_file' command and moves the…
A: The question is to select correct options for the given mcg questions.
Q: Which of these is method for testing whether the specified element is a file or a directory O a…
A: The image is a bit unclear so I can't specify the answer option no. but the answer is isFile()
Q: how do I execute this exercise. Execute the following process: Write in only one line your…
A: 1- Since you have not provided the language to write the code so I am using the java language 2. In…
Q: Create two files myself 1. txt and myself 2.txt. Move the contents of myself 1.txt and myself 2.txt.
A: Since no programming language is mentioned, I am using Linux. Code: #creating 2 filestouch…
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- Which of the following opens the employ.txt file and allows the computer to write new data to the end of the files existing data? a. outFile = I0.File.AddText("employ.txt") b. outFile = I0.File.AppendText("employ.txt") c. outFile = I0.File.InsertText("employ.txt") d. outFile = I0.File.WriteText("employ.txt")3.Which of the following will read a string from a file with FILE* fpto char myString[81] properly (safely): fscanf(fp, "%s", myString ); fgets(myString, fp); fgets(fp, 81, myString); correct : fgets(myString, 81,fp) fscanf(fp,"%80s", myString); 4. If you issue the statement fpIn = fopen("myfile.dat", "a");and dat does not exist, the computer will: return NULLto fpIn as the file does not exist create the file in write mode, and position the file pointer at the beginning of the file create the file in write mode, close the file and return a warning open a file that most closely resembles the name 'myfile.dat'Which command searches for and displays any text contents of a binary file?a. textb. stringsc. odd. less
- you will need to create the following textbook specified files. Use vi to create these files: test-file1 test-file2 test-file3 test-g test-sor respected test-u west coast alpha1 alpha2 practice caffeine names.tmp numbers.tmp What command creates a new file chapter consisting of the contents of the files section1, section2, section3, and section4, with all lines numbered?Please answer the following Bash question, please show your output as well. 1. Write a Bash function named ‘Generate-ID' that generates all possible UGA student id start with 900. The output should be saved into a file named studentID.csv. 2. Write a Bash function named ‘Find_word’ that read wordlist.txt file to find all words end with “ing” and output these words to WordEndIng.csv. 3. The auth.log file (path: /var/log/auth.log) and syslog file (path: /var/log/syslog) are two of the most important log files in Linux. Generally, adversaries target these files so that system administrators couldn’t track what attackers are doing. Write a function named get-linuxlog() that reads all the above two files and stores them into a file named linuxeventlog.txt (Hint use the ‘cat’ command)Which of the following is a correct opening of a file for appending new content to the file? Lütfen birini seçin: a. file = open("a", "data.txt") b. file = open("data.txt", "a") c. file = open("data.txt", "w") d. with open("a", "data.txt") with file: e. file = open("data.txt", "append") Seçimimi temizle
- 1- Use the cat command to create a file. Name of this file should be file1. Type a few sentences inthis file. Save this file. Use the cat command one more time to display the content of file1.2- Use vi command to add more lines to this file so you can answer the rest of these questions thatuses regular expressions and grep command.3- Select the lines from file file1 that have exactly three characters in them.4- Select the lines from file file1 that have at least three characters in them.5- Select the lines from file file1 that have three or less characters in them.6- Select the non-blank lines from the file file1.7- Select the lines from file file1 that start with a capital letter.8- Select the lines from file file1 that end with a period.9- Select the lines from file file1 that have the string unix.10- Select the lines from file file1 that end with the string unix.11- Select the lines from file file1 that have only the string unix.12- Select the lines from file file1 that have the…Question 12 kana .The file contains lines of a Roman Numeral The lines should follow this format : Roman numeral field – 16 characters - Arabic numeral field – 4 characters the roman numeral from the text file should be converted to arabic numeral form. How do I code this? 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 lineyou will need to create the following textbook specified files. Use vi to create these files: test-file1 test-file2 test-file3 test-g test-sor respected test-u west coast alpha1 alpha2 practice caffeine names.tmp numbers.tmp If you are using more to examine a file and decide you want to look back at the previous page, what do you enter?
- • Exercise 1: Please create a script that print “Hello, your name.” • Exercise 2: Please create a directory call user_bin, and add it to PATH. Then mv script of Exercise 1 to user_bin. Then run it from your root directory.• Exercise 3: Add a new command call ‘l’ which will perform exact same as ‘ls -a’. • Exercise 4: Create a function call sortFile, which will sort all filenames of current directory.• Exercise 5: Please make your own page using shell script, print following as your page. <html><head><title>My System Information</title></head><body><h1>My System Information</h1></body></html> Exercise 6: Could you add one variable in the example, name the variable as greeting, which displays “Hello, my name is xxx xxx” in the body using variable greeting.• Exercise 7: Could you add one variable in the example, name the variable as FILE_LIST, which displays the filenames of current working directoryCase 6. How can i sort the names inside of file where there is already data? Thanks #include<iostream>#include <fstream>#include<string>using namespace std;#define M 100int count=0;struct AddressBook{string FullName;int Birthday;string Address;string Email;int PhoneNumber;}Person [M];void WriteToFile();void add();void browse();void searchByName();void searchByBirthday();void removeContact();void order();int main(){fstream file;file.open("Contact'sBook.txt");int choice;do{cout << "Please Enter Your Choise: \n";cout << " 1- Add New Person\n 2- Browse\n 3- Search By Full Name \n 4-Search By Birthday \n 5-Remove a Person" << "\n 6- Alphabetical Order \n 7- Exit\n";cin >> choice;switch(choice){ case 1: add(); break;case 2: browse();break;case 3: searchByName();break;case 4: searchByBirthday();break;case 5: removeContact();break;case 6: order(); break;case 7: return 0; }}while (count < M );return 0; }void WriteToFile(string FullName, int Birthday,…write the code to lookup, add and remove phoneentries from the phonebook text file . These are the code we use for the lookup, add and remove in the case statement.(Lookup)# Look someone up in the phone bookgrep $1 phonebook (add)echo "$1 $2" >> phonebooksort -o phonebook phonebook (Remove)grep -v "$1" phonebook > /tmp/phonebookmv /tmp/phonebook phonebook Write a complete Bash script which will accept up to three command-line arguments: the first one is either (lookup, add or remove), the second one is a name enclosed in single quotes and the third one (if doing an add) is a phone number enclosed in single quotes. Using a case statement to match on either lookup, add or remove, the script should then perform the requested operation. Again here, you should first check for null arguments before continuing with the rest of the script or requested operation. In addition, the person may not be in the phonebook for lookup or remove so, you need to account for this.