Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In linux please:::: Task 2 Create a new directory named FormattingText and change to the directory as your working directory. Task 3 Create a text
In linux please::::
Task 2 Create a new directory named FormattingText and change to the directory as your working directory. Task 3 Create a text file named long.txt. long.txt file No Man is an Island No man is an island, Entire of itself, Every man is a piece of the continent, A part of the main. If a clod be washed away by the sea, Europe is the less. As well as if a promontory were. As well as if a manor of thy friend's Or of thine own were: Any man's death diminishes me, Because I am involved in mankind, And therefore never send to know for whom the bell tolls; It tolls for thee. INFO 1111: Linux INFO-1111: LINUX by John Donne Provide a screenshot demonstrating you completed this task successfully. Your screenshot below: > fold -W 20 -s long.txt No Man is an Island No man is an island, Entire of itself, Every man is a piece of the continent, A part of the main. If a clod be washed away by the sea, Europe is the less. As well as if a promontory were. As well as if a manor of thy friend's Or of thine own were: Any man's death diminishes me, Because I am involved in mankind, And therefore never send to know for whom the bell tolls; It tolls for thee. by John Donne Task 6 Use the fold command to wrap the text in the long.txt to 40 characters, wrapping only when there is a space. Provide a screenshot demonstrating you completed this task successfully. Your screenshot below: Task 7 The fmt (format) command can wrap text like fold, but also has some additional functions. To wrap text at 50 characters, use the following command: fmt -w 20 long.txt Execute this command. What is different about the output of the fmt command above when compared with the fold command output in task 4? Your answer below: Task 8 The-t option will tag paragraph wrapped lines, so when a line is wrapped it will indent the portion of the line being wrapped. fmt -w 20 -t long.txt Provide a screenshot demonstrating you completed this task successfully. Your screenshot belowStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started