I would like to know if there is something like DOS interface for Ubuntu. I mean a "GUI" that can run from the console (for example if you are using Ubuntu Server). Some file explorer like Nautilus but in console.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Well there is midnight commander:
sudo apt-get install mc
And also Last File Manager:
sudo apt-get install lfm
ranger is a file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. The secondary task of ranger is to psychically guess which program you want to use for opening particular files.
Another useful filemanager that can be operated entirely from the keyboard is
vifm and it is available in the repositories. You can install it with:
sudo apt-get install vifm
It has an ncurses style interface and is ideal for using on servers. It is quite similar to the other dual pane file managers mentioned except that it supports all the
vim shortcuts. If you know all the various ways of operating in
vim, then this file manager will be ideal and you will not need to learn another slew of shortcuts.
vifmrc is created in a
~/.vifm folder when the program is installed, so you can add your own personal configurations and keybindings. However, to fully use all the more recent features such as customising keybindings you will need to compile the latest version from the project site, and make sure you install the minimum build dependencies
libx11-dev. The version in the repositories is fine and stable, but it is quite an old version (0.4.2) and the current version is 0.7.4.
Just like in
vim, you can press Shift+: to enter the command line inside the file browser and perform many actions, as as noted in the documentation at the Sourceforge site. The creator of the program indeed uses it for his home server, as he shows in his screenshots here, so I think the program would be perfect for you, or anyone already familar with
You could take a look at Dired Mode for Emacs. Though it's integrated to Emacs (so you have to learn the whole stuff), it's so much useful and nice to use that it could be nice to try it.
You can display a repository in in the console by running it in
emacs -nw /path/to/your/repository/
Dired is a visual directory editor, a computer program for editing file system directories. Dired runs on any Emacs platform. Its commands are generally more modal than most Emacs commands because Dired is a specialized major mode on its own. Dired can perform all expected operations; in operation and use it is akin to an orthodox file manager like Midnight Commander.
This thread reminded me that you can open a directory with
vim and browse it from there with arrow keys and enter. Which is about all I wanted. :+1:
I like the netrw script for VI: