Следует учесть, что vi
покажет список каталогов, если вы vi [DIR]
:
vi /home/jon/
дает:
" ============================================================================
" Netrw Directory Listing (netrw v102)
" /home/jon
" Sorted by name
" Sort sequence: [\/]$,*,\.bak$,\.o$,\.h$,\.info$,\.swp$,\.obj$
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:exec
" ============================================================================
../
./
.fontconfig/
.ipython/
.matplotlib/
.pip/
.pylint.d/
.python-eggs/
.ssh/
.subversion/
.vim/
Python-2.7.1/
acl/
backup/
cron/
mqueue/
public_html/
python26/
reporter/
repos/
scripts/
test/
.Xauthority
.Xresources
.bash_history
.bash_logout
.bash_profile
.bashrc
.csshrc
.lesshst
.mysql_history
.pylintrc
.screenrc
.smblogin
.sqlite_history
.toprc
.viminfo
.vimrc
csshrc.back
mbox
test.cpp
test.py
test.tar.gz
testIt.py
testite
test.o