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, 21.06.2019 19:30
Assignment directions the owner of a popular local coffee shop has approached you to design a network for his business. he would like to offer his customers wifi access to the internet, but also thinks it might be handy to network the kitchen and store room together with the office computer he already uses for ordering, scheduling, and payroll. he thinks that might save him time doing inventory control and ordering. your assignment is to create a set of questions for him that will precisely define the purpose of the network and any constraints and restrictions on its implementation. assignment guidelines create a list of at least ten questions to ask your customer. of those ten questions, at least one question must come from each of the following subject areas: purpose of the network network access and security issue network availability and fault tolerance issues future expansion issues vendor issues briefly explain in two or three sentences why you would ask each question and what you expect to learn from your customer’s response. submission requirements your questions should meet the criteria of a good survey question by being specific, unambiguous, and closed-ended. all questions, as well as your explanations, should be written in proper english using correct grammar, spelling, and punctuation. use complete sentences, and do not use slang, texting abbreviations, or shortcuts.
Answers: 3
question
Computers and Technology, 22.06.2019 13:00
Write a program which asks you to enter a name in the form of first middle initial last. so you might enter for example samuel p. clemens. use getline to read in the string because it contains spaces. also, apparently the shift key on your keyboard doesn’t work, because you enter it all lower case. pass the string to a function which uses .find to locate the letters which need to be upper case and use toupper to convert those characters to uppercase. the revised string should then be returned to main in the form last, first mi where it will be displayed.
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
question
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
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
Computers and Technology, 26.09.2019 23:00
question
History, 26.09.2019 23:00
question
Biology, 26.09.2019 23:00
Questions on the website: 13722359