Create a file having list of items and write a command to give numbers to each item? Like 1. Computer 2. Hardware 3. Software
Q: Rename the Team directory to Return to the Boston Celtics directory and create a new directory…
A: First we create a directory cheerleader mkdir cheerleader Then make sub directory inside…
Q: Several questions regarding the commands and shell programming a) list all files that the…
A: a) list all files that the name starts with ‘exam’ ls -d exam* a) list all files that the name…
Q: 1. Create a command that would create a new file with a dynamically created file name that is…
A: As you have posted multiple questions, we will solve the first question for you. As you have not…
Q: Write a command to search all the files in your parent directory whose name is starting from a…
A: Below is the Linux command to find the files whose name is starting from a number lies between 0-9…
Q: * ?What is a File Descriptor O O A handle for machine specific structure of an open file A handle…
A: What is a File Descriptor? A handle for machine specific structure of an open file.
Q: C++ I have three .txt files. I want to create a program that reads those files. I want to create a…
A: Code: #include <iostream>#include <fstream>#include <string>using namespace std;…
Q: 1How to create the file ? 2What IBM i Utility would you use to enter data into the file?
A: Note: The answers of the first two subparts are given. Please repost the remaining question.…
Q: Q4.- How to change the password for the current user. Q5.- How to display multiple file. Q6.-How to…
A: An operating system is the software that directly manages a system's hardware and resources, like…
Q: 3. Write the DoS command for the following: a. Create a directory with name as “COLLEGE" in E drive.…
A: 3. a. md E:\COLLEGE b. md E:\LIBRARY
Q: What does >> accomplish when entered on the command line after a command?a. It redirects both…
A:
Q: After typing the ls –a command, you notice that there is a file whose filename beginswith a dot ( .…
A: ls command: The "ls" is the UNIX/Linux command (program) that is used to enlist the list of the…
Q: 2. Write the D0S command for the following: Consider that you have four txt file in "E:\UTAS" with…
A: Below are all the commands:
Q: you will need to create the following textbook specified files. Use vi to create these files: …
A: Answer: Using the vi editor, the developers can create, manipulating, open, edit, and close files on…
Q: Create a program that allows a user to input customer records (ID number, first name, last name, and…
A: Answer
Q: ite a bash script for a menu driven file management utility that can do following Create file…
A: Create file: touch filename Delete file: rm filename Copy file: cp filename directory-name
Q: The names Sam, Tom, Bill, and so on are in the same group as you. The permissions column on a file…
A: To discuss who has the access to a file answer with value on permission column is ----r-----.
Q: 1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new…
A: Algorithm: Start Display menu to the user and ask to choose from the options If user chooses 1, ask…
Q: Which item in a volume directory (under Microsoft Windows) has the longest filename
A: The answer is..
Q: Our requirement is to create a backup text file of a person's phone book named Contacts.txt We call…
A: Required: IN PYTHON LANGUAGE
Q: Write a script named copyfile.py. This script should prompt the user for the names of two text…
A: # get the name of both files file1 = input("Enter file1: ") file2 = input("Enter file2: ") # now…
Q: mbers. Write a command to place the largest one of those numbers into the file 'largest' (there…
A: The file 'numbers' contains a list of numbers. Write a command to place the largest one of those…
Q: what would do to a folder so that only the user who created the file in the folder can delete it
A: User who created the file in the folder can delete it as
Q: Which item in a volume directory under microsoft windows has the longest filename ?
A: To be determined - Name the item in a volume directory under Microsoft windows that has the longest…
Q: 2) the command 'writetable(X,'myData.xls')will: a. display variable X on the commend window. b. Save…
A: 'writetable (X,'myData.xls) writes to a file with the name and extension specified by filename
Q: In UNIX Say there is a file, students, under your home directory. Here is the content of the file…
A: The content of students file is below- 1001, Joe Smith, 111 Main Street 1002, Mary Johnson, 287…
Q: Execute the following LINUX commands. Take the screen shot of each answer and paste after the…
A: The Linux command to do given operations are performed. Note: Dear user, as per company policy we…
Q: From where does the following command get its input? tr 'a-z' 'A-Z' |tee file1 >file2 files a-z and…
A: The answer is given below.
Q: XCOPY/D : date command of MS-DOS is used to copy only files that have been modified on or after the…
A: Given that: XCOPY/D : date command of MS-DOS is used to copy only files that have been modified on…
Q: Is -l | less what does this command do? display the last page of the file. Display the data from…
A: Answer: C
Q: Write a bash script for a menu driven file management utility that can do following operations…
A: Sample output:
Q: Write MS DOS command to make a copy pf your file named as(engineer.txt) that saved in drive E as…
A: Copy Command: COPY is commonly used from one place to another to copy one or more files. To create…
Q: What directory can a user be in to access a file using commands with arguments such as: $ more…
A: The correct Answer is $ more /etc/passwd PWD command is used to make sure that we are in the…
Q: . Open() command can be used to ___________ and open a file.
A: Answer is given below .
Q: the command (2 :writetable(X,'myData.xls')will a. Save table X to a text file. b. display variable X…
A: answer is given below:
Q: 3. Create a script to convert SPACES into TAB between words stored in any file! The file name should…
A: In this question we have to perform Linux Scripting to perform a task where File words get changed…
Q: Which files will be displayed by the following command: cat *file* a) all files in the…
A: cat command stands for Concatenation in linux. It is used to display the contents of a file. It is…
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: a. Write a command to append the text “This is Assessment exam” into demo.txt file with save and…
A: a. Required Command: echo "This is Assessment exam" >> demo.txt b. Required Command:…
Q: Create a program that: 1. Get the name of the current directory and print it 2. Create a new folder…
A: Question given: Write a program that performs some given task related with directory. Programming…
Q: If a file F has following data: Windows Paid Android Free Linux Free Mac paid Write a command to…
A: NOTE: As the language is not mentioned I am using the bash to write the command for the required…
Q: TRUE or FALSE? A directory is a collection of files that are organized together and labeled with a…
A: A file is a document that can save information such as text, images, sounds, or programmes. An…
Q: 1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new…
A: Algorithm: Start Display menu to the user If user selects 1, ask user to enter username and…
Q: What are the returned values of the following commands? >>rc_wait=wait(NULL); >>getpid(); >…
A: rc_wait=wait(Null) wait() function return because the status of a child process is available,…
Q: Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new…
A: Since no programming language is mentioned, I am using python. Algorithm: Start Display menu to the…
Q: Write a command that changes the file group of all files in the current working directory that start…
A: to do that : 'chgrp' can be used. we need to change the group to the moderator. so that will become…
Q: For linux Write the necessary commands to display the list of the files ending with txt under the…
A: Command Used : ls: Display all the files in the current working directory. pwd : Display the…
Q: A directory is another object that can have access restrictions. Allowing users to change their own…
A: Required: A directory is another object that can have access restrictions. Allowing users to change…
Create a file having list of items and write a command to give numbers to each item?
Like 1. Computer 2. Hardware 3. Software
Step by step
Solved in 3 steps with 1 images
- Create a program that allows you to view and edit the sales amounts for each month of the current year. Example of how the program should look: Console Monthly Sales program COMMAND MENU add - Add sales for a specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for the year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Requirements for the program: The program should use a list to store the sales…Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month…Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month…
- Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month…Explain your approach to reading individual bytes from a file Some of the data may be encrypted by adding 5 to a byte. If encrypted data has a value between zero (0) and four (4), what will the decrypted value be? GUI Design. Create a wireframe(s) for the GUI (See CRUD table in homework assignment) Create an algorithm for the required program. Submit a flowchart (as an image fileCreate a program that allows you to view and edit the sales amounts for each month of the current year. Can you PLEASE make sure the ADD command works where the user can input the command data for a given month. Console Monthly Sales program COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! MUST HAVE REQUIREMENTS…
- Write the command to perform the following task write the command that displays a list of the variables currently in the workspace and information about their size, bytes, and class * Your answerin visual studio 2019 The GetCurrentDirectory method of Directory class is used to return the location of the current working directory (the location from which the program is running). true or falseUNIX ASSIGNMENT - IXQuestion 2: Write a command to list all the files inside a folder i.e. if there is a folder inside a folder then it should list all files inside the sub-folder which is inside the folder to be listed.
- 7- To add a folder to existing library you can click on the include in library menu in the tool bar. * True FalseCreate a program named FileComparison that compares two files. First, use a text editor such as Notepad to save your favorite movie quote. Next, copy the file contents, and paste them into a word-processing program such as Word. Then, write the file-comparison application that displays the sizes of the two files as well as the ratio of their sizes to each other. To discover a files size, you can create a System. 10. Filelnfo object using statements such as the following, where FILE_NAME is a string that contains the name of the file, and size has been declared as an integer: FileInfo fileInfo = new FileInfo(FILE_NAME); size = fileInfo.Length;Add a command to this chapter’s case study program that allows the user to view the contents of a file in the current working directory. When the command is selected, the program should display a list of filenames and a prompt for the name of the file to be viewed. Be sure to include error recovery in the program. If the user enters a filename that does not exist they should be prompted to enter a filename that does exist.