If you want to share some of your pictures over the internet but you are worried that they might have metadata like location embedded in them, here’s how to strip that data out on Linux.
When you edit files using Vim, it makes .swp files in the same directory as the files you are editing, and these files contain all changes you've made.
Here is how to install PERCS (LSI) MegaCLI utility on a Dell machine: Step 1: Download the latest version of MegaCLI here or use this alternative link. Step 2: Copy the file to your Linux machine. In this case, I will use /var/tmp/ Step 3:...
Here is how to generate a random number in a bash shell script. In the bash shell we have environmental variable $RANDOM that can generate a unique random number each time it is referenced. echo $RANDOM And to assign this value to a variable :...
To install Node.js on CentOS perform (as root):
curl -sL | bash -
yum install -y nodejs
It will output each step as it moves along, prompting you to manually install any 3rd party dependencies.
Verify the install with:
node -v
stat prints file information, including last modified, changed or accessed time. On Unix systems every file has 4 timestamps: ctimechange time – when the file was modified, permissions changed, etc.atimeaccessed time – when file was read...
At the command line, run:
whatis <command>
This will give you a one-line summary of a command.
If whatis doesn’t work, the whatis database may not be built yet. To build the whatis database, enter this:
/usr/sbin/makewhatis
There are roughly the following types of inter-process communication under Linux: socketPipes (including anonymous pipes for parent and child processes, named pipes)SemaphoreShared memoryMessage queue socket Socket can be used for local inter...
free utility shows the amount of free / used memory. free The biggest misinterpretations that I’ve seen on both Windows and Linux systems are with the swap and cached memory. Cached memory is exactly what it sounds: memory dedicated for...
lslists files and foldersls -lrtlists files and folders in datel orderls -lalist hidden files and folders and visiblecd /foldercd means to change folder where folder is a valid foldercd /changes you back to the root pathcd ..changes folders back one...