Posts tagged cli
Some Random Helpful Hints
I’ve been slowly collecting a few commands that are useful to me for various things while using Linux. I figured that I would share some of these handy commands. In no particular order, they are:
To copy, preserving permissions AND structure AND recursively, from a remote system to your local system:
rsync -r -a -v -e ssh server1.addr [...]
Chasing Your ‘Tail’ With ...
‘GNU tail’ is a small utility which prints (by default) the last 10 lines of any file. This an amazing piece of software not only allows you to see the last part of a file but also enables you to monitor a file’s changes without opening the file.
‘tail’ can be used alone or can be combined with other commands like R [...]
Using ‘Alias’ in Linux
There comes a time in every Linux users’ life when you will open the Terminal more often than not because you have realized that it is faster, more efficient and more powerful than GUI (Graphical User Interface). You’ll have started to learn more and more commands and now feel more comfortable with command prompt. The command [...]
GNU find – A Multidimensional ...
Beginners are mostly afraid of command prompt. Whenever they see a command prompt, they immediately say “its very difficult”. But it’s not true. The Command prompt is as friendly as GUI (Graphical User Interface), provided if you use it with proper procedure.
Most people use GUI tools to search for files. They don’t realize tha [...]
Finding Files with locate
Many Linux users use the ‘find’ utility when searching for files using the command line on their system. They’ll do a simple:
find / -name 'pattern'
Really though, the power of find isn’t just in finding names of files but rather specific details about those files. For example, if you wanted to find files which are w [...]
Convert PNG to GIF via Command Line
I installed a bare bones Arch Linux system today and took a screenshot. With no graphics utilities installed, I needed a way to convert a PNG to a GIF for a Simple Machines forum template thumbnail. I figured I’d use a command line utility to help me and ImageMagick is installed by default on most distributions. A quick read through [...]