Search This Blog

Wednesday, March 12, 2014

Midnight Commander tutorial

Quick view - Ctrl-x + q     Allows you to view file content in a separate window easily
Search for file  - Ctrl + s    Narrows down the file list to the individual file you're looking for
Compress file  - F2 then 3   compresses the current subdirectory to tar.gz
Refresh file list - Ctrl + r
Show console/Hide panels - Ctrl + O      Shows the underlying console window
Copy the highlighted file name to lower console line - Ctrl+j
Select a group of file -   +         Select a group of files based on a regexp
Frequently selected ftp sites (directory hotlist) -    Ctrl +  \
find files/find file content/find string in text file -   Alt + ?
see directory size/how much space a directory occupies -  Ctrl + space
change the size (width) of tabs, change left-right window width - Ctrl + Shift + left/right arrow
select all files and subfolders - Alt + Shift + '='      and enter '*' pattern
select the same directory on the second pane - Alt + 'i'

Monday, March 10, 2014

Install Midnight Commander (MC) on Android 4.0+


  • ROOT
  • busybox installed
To download an *.apk installer follow this link.

The xda-installer from Recognized Developer viulian installs MC here:

Install script from *.tar.gz:

echo Pushing files....
adb push mclibs.tar.gz /mnt/local/mclibs.tar.gz
adb push xterm.tar.gz /mnt/local/xterm.tar.gz
sleep 2
echo Installing Midnight Commander...
adb shell su -c mount -o remount,rw /system
adb shell su -c cp /mnt/local/mclibs.tar.gz /system 
adb shell su -c cp /mnt/local/xterm.tar.gz /system 
adb shell su -c tar xzvf mclibs.tar.gz
adb shell su -c tar xzvf xterm.tar.gz
adb shell su -c mount -o remount,ro /system