How to unpack a rar file on Linux with the command line interface.

Firstly, install unrar on Linux with this command. sudo apt-get install unrarsudo apt-get install unrar Then unpack a rar file with this simple one-liner. unrar x myfile.rarunrar x myfile.rar Another way to compress files on Linux is to use the supplied utilities like tar and gzip. The tar utility packs all files into one archive, … Read more

Using the tar command on Linux to uncompress tar.gz files with the command line.

The tar command on Linux is very useful for uncompressing files on your Linux machine. The most used command on a Linux system is uncompressing files that you have downloaded from an Internet source. The tar -xvf command will uncompress a tar.gz file. ~$ tar -xvf myfile.tar.gz~$ tar -xvf myfile.tar.gz To uncompress a tar.bz2 file … Read more

Some very useful Linux command-line tips and tricks for the desktop user.

Using the install-mbr command to install a main boot record (MBR) onto a disk. [flynn@flynn-grid-runner media]$ sudo install-mbr –force –partition 1 /dev/sdi [sudo] password for flynn: [flynn@flynn-grid-runner media]$[flynn@flynn-grid-runner media]$ sudo install-mbr –force –partition 1 /dev/sdi [sudo] password for flynn: [flynn@flynn-grid-runner media]$ This command would be useful if you are building a custom image and you … Read more

Using the tar command on Debian Linux.

The Linux shell offers many ways to compress files for backup. The tar or tape archive program will concantenate many files into one. tar –create –verbose myfile.tar file1 file2 file3 file4tar –create –verbose myfile.tar file1 file2 file3 file4 Then you may use either the gzip or bzip commands to compress the myfile.tar file you have … Read more