Ranger – A Nice Console File Manager with VI Key Bindings

Ranger is a simple, efficient text-based file manager with smooth integration into the Unix/Linux shell with VI key bindings. It comes with a minimalistic and nice curses interface that displays the directory hierarchy allowing...

Spread the love

Ranger is a simple, efficient text-based file manager with smooth integration into the Unix/Linux shell with VI key bindings. It comes with a minimalistic and nice curses interface that displays the directory hierarchy allowing you to quickly switch directories and browse the file system.

Importantly, ranger uses rifle, a file launcher that automatically determines which program to use for what file type.

Ranger Features

  1. Common file operations such as copy, delete, create, chmod, etc…
  2. UTF-8 Support.
  3. Multi-column display.
  4. VIM-like console and hotkeys.
  5. Preview of the selected file/directory.
  6. Renaming multiple files at once.
  7. Change the directory of your shell after exiting ranger.
  8. Tabs, Bookmarks, Mouse support.
  9. True Color Image previews using w3m web browser.
  10. Video thumbnails previews.

Ranger - A Console File Manager for Linux

Ranger – A Console File Manager for Linux

How to Install Ranger Console File Manager in Linux

Ranger is available to install from the default repositories using the package manager of your operating system as shown.

$ sudo apt install ranger #Debian/Ubuntu
$ sudo yum install ranger #RHEL/CentOS
$ sudo dnf install ranger #Fedora 22+

Alternatively, you can also use PIP command to install ranger as shown.

$ sudo pip install ranger-fm 


After installing ranger, you can start it from the terminal using following command.

$ ranger

After starting ranger, you can use the Arrow Keys or h j k l to navigate, Enter to open a file or q to quit.

The first column shows the parent directory, the second is the main column and the third column shows a preview of the current file/directory.

Ranger Console File Manager

Ranger Console File Manager

Ranger - File Preview

Ranger – File Preview

As mentioned earlier, it supports the mouse. You can therefore use your mouse to select directories or files on the console, and click Enter to open them. If you select a file, rifle will automatically try to find out which program to use for what file type. Choose the program you want from the provided list (you will do this once).

Ranger can automatically copy default user-specific configuration files, history, bookmarks and tags to ~/.config/ranger and stores system wide configuration files to /etc/ranger/config/.

For more information, consult the ranger man page.

$ man ranger 

Ranger Githug repository: https://github.com/ranger/ranger.

Ranger is a small and efficient console-based file manager with VI key bindings. Try it out and share your thoughts with us via the feedback form below.

Facebook Comments

More Stuff

DCP – Transfer Files Between Linux Hosts Using Peer-to-Peer Networ... People often need to copy or share files over the network. Many of us are used to using tools such as rsync or scp to transfer files between machines....
Bash-it – Bash Framework to Control Your Scripts and Aliases Bash-it is a bundle of community Bash commands and scripts for Bash 3.2+, which comes with autocompletion, themes, aliases, custom functions, and more...
Terminalizer – Record Your Linux Terminal and Generate Animated GI... Terminalizer is a free, open source, simple, highly customizable and cross-platform program to record your Linux terminal session and generate animate...
ext3grep – Recover Deleted Files on Debian and Ubuntu ext3grep is a simple program for recovering files on an EXT3 filesystem. It is an investigation and recovery tool that is useful in forensics investig...
Spread the love

Posted by News Monkey