Kompx.com or Compmiscellanea.com

Renaming files in mc

Operating systems : Linux

Renaming a file in mc / Midnight Commander:

- Select a file --> Shift - F6 --> Edit existing file name into a new one --> Enter

Select a file

[ Image ] : mc - Select a file

Edit file name

[ Image ] : mc - Edit file name

The original way of renaming a file - the one mc / Midnight Commander had before "Shift - F6" was implemented - is also still there:

- Select a file --> F6 --> Enter a new file name --> Enter

Select a file

[ Image ] : mc - Select a file

Enter file name

[ Image ] : mc - Enter file name

And "Esc - 6" may be used instead of "F6":

- Select a file --> Esc - 6 --> Enter a new file name --> Enter

Select a file

[ Image ] : mc - Select a file

Enter file name

[ Image ] : mc - Enter file name

Aliosque subditos et thema

 

Extract tar.gz

 

Extracting tar.gz files in Linux, command line: tar zxvf file.tar.gz - z : filter the archive through gzip [ 1 ] - x : extract files from an archive - v : list the files processed - f : use archive file The command extracts the contents of a compressed archive to the current directory. Tar creates an archive of one or several files. Then gzip is used to compress it. Or both processes are made at once by tar only, with corresponding options employed. The duality of nature - archived and compressed after - is reflected in the extension of the file ("tar.gz") and requires two procedures to be performed while extracting: decompressing and unpacking. Hence both z (decompress it) and x (unpack it) in the command. [ 1 ] Sources for the option letters description: tar(1) - Linux man page and LinuxCommand.org

Extract tar.bz2

 

Extracting tar.bz2 files in Linux, command line: tar jxvf file.tar.bz2 - j : filter the archive through bzip2 [ 1 ] - x : extract files from an archive - v : list the files processed - f : use archive file The command extracts the contents of a bzip2 compressed archive to the current directory. Tar creates an archive of one or several files. Then bzip2 is used to compress it. Or both processes are made at once by tar only, with corresponding options employed. The duality of nature - archived and then compressed - is reflected in the extension of the file ("tar.bz2") and requires two procedures to be performed while extracting: decompressing and unpacking. Hence both j (decompress it) and x (unpack it) in the command. [ 1 ] Sources for the option letters description: tar(1) - Linux man page and LinuxCommand.org