June 24, 2017

Cheat Sheet

A page dedicated to all the useful commands found laying around the internet. It is a reference tool that provides simple, brief instructions for accomplishing a specific tasks.

Create a file with specific size

The below command will create a 10M file

CHMOD Recursively on directories or files using FIND

Get ownership and permission sorted out quickly in a web directory.

List installed packages

List all installed packages using rpm -a option

List all installed packages alphabetically name only

To flush the DNS cache in Linux

To restart the nscd daemon

Once you run the command your linux DNS cache will flush.

Remove all i386 packages from CentOS

Clear history in CentOS

Installing composer on CentOS 6

UNIX / Linux uptime command

Open a command-line terminal (select Applications > Accessories > Terminal), and then type the following commands:

What is my IP Linux CLI