Removing Characters from Output with cut
Learn how to remove characters from the output using the cut command.
We'll cover the following
The cut
command
Now, let’s discuss the cut
command. The cut
command lets us remove text from the output stream or a file. Let’s give it a try:
$ echo 'hello world' | cut -c 2-4
Get hands-on with 1200+ tech skills courses.