在终端中,是否可以命令文件夹并逐行查看每个文件而不是横向跨越?
正常显示:
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 $
首选显示:
Assignment10.py
Excercise03.py
Excercise05.py
Excercise07.py
Excercise09.py
的README.txt
答案 0 :(得分:1)
ls
能够做到这一点:
ls -1
(那是一个)