Commands that temporarily prevent terminal wrapping

PROBLEM DESCRIPTION


I don't want to change the terminal option, so that the string output to the terminal with command or server settings will not be wrapped automatically.


RESOLUTION


You can use the 'less -S' command or the 'cut' command.
$ cat [filename] | less -S
$ cat [filename] | cut -c -tput cols