subject
Computers and Technology, 18.03.2021 01:20 evaeh

You will implement the command churk to divide a large file (filename. txt) into files of 1,000 lines each. At the UNIX shell prompt, your command should accept either: churik [options] -£ filer. ame. txt [-p prefix] [-s suffix] chunk [options] [-p prefix] < Eilename. txt [options] in square brackets indicates that the command recognizes both excluding [options], or including options. The options modifies the size of output of the files, as follows. -1 line_count Creates smaller files of line_count lines in length (instead of the default of 1,000 lines). - word_court Creates smaller files of line_count lines in length (instead of the default of 1,000 lines). -c character court Creates smaller files of line_count lines in length (instead of the default of 1,000 lines). The churk command will give each output file it creates the name prefix with a extension or suffix tacked to the end that indicates its order. By default, the chunk command should use 2 character alphabetical suffixes: aa to the first output file, bb to the second output file, proceeding through the alphabet to zz for subsequent files. If the user prefers numberic: -s suffix Creates a 2 digit character numeric suffix, with starting number indicated by the suffix, so that if suffix is 00, then chunk will generate: 00 to the first output file, 01 to the second output file, proceeding through the alphabet to 01 for subsequent files. -p prefix If a prefix is not indicated, the default prefix will be x. EXIT STATUS The chunk utility exits 0 on success, and > if an error occurs. Example: churk -1 100 -£ maria. txt -P part- -5 00 Here chunk divides file maria. txt to new files named part-00, part-01, part02, ... that are each 100 lines long, except possibly the last file that may be less than 100 lines long. churk * 100 -£ maria. txt -P part- -- 00 Here chunk divides file maria. txt to new files named part-00, part-01, parto2, ... that are each 100 words, except possibly for the last file that may be less than 100 words long. Other Requirements: The join the files back together again the cat command: cat part-00 part-01 part02 ... > maria2.txt should generate fle maria2.txt so that it is identical to the original maria. txt. The permissions of the output files should be the same as the permissions of the input file.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
You have been supporting csm tech publishing's windows server 2016 server network for over a year. the office has two windows server 2016 servers running active directory and a number of other roles. management has informed you that a small sales office is opening in the same building three floors up. the sales manager wants to install a sales application on a server located in the sales office. this server will have limited physical security because there's no special room dedicated for it, which means it will be accessible to non-it personnel and visitors. you're considering installing windows server 2016 server core on the new server because accessing its console regularly probably won't be necessary, and this server will be managed from one of the other csm tech publishing servers. what are the benefits and drawbacks of using server core for this branch office? what are some things you should do to set up this server management environment?
Answers: 1
You know the right answer?
You will implement the command churk to divide a large file (filename. txt) into files of 1,000 line...
Questions
question
Mathematics, 28.01.2020 13:42
question
Mathematics, 28.01.2020 13:42
question
Social Studies, 28.01.2020 13:42
question
Mathematics, 28.01.2020 13:42
Questions on the website: 13722367