output1 output2 output3 output4If the list is long enough your screen will scroll, and it will be hard to control the output without less. A solution is to strip the EOL marks with echo, for example compare:
getent passwd | cut -f 1 -d ":"to:
echo $(getent passwd | cut -f 1 -d ":")
No comments:
Post a Comment