One of the things I love in Linux is that we can do a simple thing 100 different ways in it, like creating random passwords..Read more »
You can direct grep to search through one file or many. You can also pipe in output from some other utility so that you’ll see only the information that you want to see. And, the fact that grep uses regular expressions allows you to perform searches even when you only have an approximate idea of what you’re searching for.Read more »
Almost every Linux website seems to have a list of the "best command line commands". Sometimes they get them wrong. Here is a list of useful commands that I came up with by looking at my 'history' file.Read more »
It occurred to me that I was running 3 CPU-bound processes on the same machine and that the processes might be stepping on each other's toes. It's possible that if the server is running on core 4 one second and the producer is running there the next, the level 1 cache of that core could be ruined for the server the next time it ambles over there.Read more »
"My previous reference for practical linux commands was surprisingly popular
with over 3.5 million hits in nearly 5 years. So I've decided to start compiling
another list of somewhat more involved/esoteric commands."
Another week and another top ten one-liners from commandlinefu explained.Read more »
Bash Shell scripting...every Linux admin needs it to save time. One aspect of shell scripting is writing functions. Creating functions in your scripts allows you to create containers of code that you can reuse in one script or multiple scripts. This tutorial, with examples, shows you how to create functions. The article is a part of a free shell scripting course.Read more »
Making use of previously entered commands can help you remember the location of files previously edited, canremove the need to re-enter long path names and can save you a lot of typing mistakes.Read more »
In this post I will collect all commands which SHOULD NEVER be executed in Linux. Any of them will cause data loss or corruption, can freeze or hang up running system. NEVER RUN THESE COMMANDS IN LINUX BOX CLI! Even if somebody advises you in forum/im to do it.Read more »
Linux has become so idiot proof nowadays that there is less and less need to use the command line. However, the commands and shell scripts have remained powerful for advanced users to utilize to help them do complicated tasks quickly and efficiently. To those of you who are aspiring to become a UNIX/Linux guru... there are plenty of cheat sheets available on the web and on books.Read more »
A shell is a program that acts as an intermediary between the user and the Linux kernel. The shell receives commands from the user through typed words and passes them into the kernel for processing. The kernel has the ability to communicate with hardware and gather resources like files and memory. The most common shell is bash.Read more »
Among the commands: Find removed (deleted) files still in use via /proc, On-the-fly unrar movie in .rar archive and play it, does also work on part archives, List programs with open ports and connections, Manually pause/unpause an application (process), etc.Read more »
htop - Undoubtedly the most famous of the top-like tools. It implements some extra options to the "top" command, like colors, ability to scroll horizontally and vertically, and a better interaction with the processes listed.
nethogs - network information, but instead of displaying the traffic by protocol, nethogs shows the bandwidth usage by process. Very interesting.Read more »