Question

Is is possible, in terminal, to ls command a folder and view each file line by line instead of just spanning across horizontally?

Normal Display:


Assignment10.py Assignment12.py Excercise01.py Excercise03.py Excercise05.py Excercise07.py Excercise09.py README.txt Assignment11.py Assignment13.py Excercise02.py Excercise04.py Excercise06.py Excercise08.py Excercise14.py Template.py Ryans-MacBook-Pro-2:Learn_Python_The_Hard_Way_Excercises rschacht$

Preferred Display:


Assignment10.py

Excercise03.py
Excercise05.py
Excercise07.py
Excercise09.py
README.txt

Was it helpful?

Solution

ls is capable of doing that:

ls -1

(that's a one)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top