FG

how to make bash not to wrap output?

Fresh3 days ago
Mar 15, 202634413 views
Confidence Score0%
0%

Problem

Whenever some command generates long lines as output ( for example, when a folder which contains files with long names ), the long lines are wrapped to next line, thus messing up the column structure. Is there any way of avoiding this ? Something akin to the 'nowrap' vim option ? update I noticed a…

Error Output

ls -l

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: how to make bash not to wrap output?

Low Risk

Note that this has nothing to do with bash (once you've launched the command, bash just waits for it to finish) and everything to do with the terminal. Most terminal emulators wrap at the right margin by default. But this can be turned off by using …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment