Linux – How to untar a tar file or gzip-bz2 tar file

Tar file can come compressed or uncompressed. Generally that are compressed using gzip or bzip2. The program, tar, will uncompress both types and extract the files from archive. Type at the command prompt x = eXtract, this indicated an extraction Continue reading Linux – How to untar a tar file or gzip-bz2 tar file

Linux – Size of a directory and Free disk space

This article explains how we manage to find the size of a directory and find the amount of free disk space that exists on your machine. The command you would use to find the directory size is ‘ du ‘. Continue reading Linux – Size of a directory and Free disk space

Ubuntu – Manage Apparmor

AppArmor is a security extension (similar to SELinux) that should provide extended security, which usually causes more problems than advantages. AppArmor was first made available to Ubuntu in Ubuntu 7.04 in Universe. AppArmor is usually installed and loaded by default. Continue reading Ubuntu – Manage Apparmor

Linux – scp copy all hidden dot files

The scp command copies files between servers (computers) on a network. It uses ssh for data transfer, and uses the same authentication and provides the same security as ssh. scp Command The correct syntax is as follows to copy all Continue reading Linux – scp copy all hidden dot files

Ubuntu – Execute a PHP 5 Script From the Command Line

To execute a PHP script from the command line in Ubuntu you must have php5-cli installed. (CLI stands for “Command Line Interface”.) Once cli is installed, you can execute your script like so: Inside the script you can run other Continue reading Ubuntu – Execute a PHP 5 Script From the Command Line