Some Command Line Features That Are Still Widely Usedby QArea Expert on May 25, 2012
The command line still offers more control, flexibility and power for some particular tasks despite the abundance of GUIs. Are there really such programs that can turn to be irreplaceable? Definitely. There are Windows commands, Linux/UNIX commands and some of those which are platform-independent.
You have a serious reason to use commands and this is the best way to control the task by hand. Generally, when the tool runs as a command there are much less restrictions due to the fact that users are more involved into the nature of a tool when they work with it as with a command.
The command line is considered to be an outdated mode of administration and usage. Some people especially among the IT developers say that this is what they ccan’t live without. The reality is somewhere between these two opinions. GUI tools may be incredibly useful for some concrete commands. Anyway, there are some other commands that are very convinient and important and there is command prompt for using them.
Man provides you with a manual page (‘man page’) for a command. For example, there is a need to find something about the ping command. You will see the manual for the ping command if you type ‘man ping’.
Here is a Windows version of killall – it is taskkill. Taskkill is invaluable as an Acronis administrator. Definitely, you have to try killing an application via the Task Manager (or through Services) first. But it is reasonable to try taskkill if that fails.
3: Net use
Net use connects or disconnects a machine from a shared resource. The net use command controls persistent network connections and can display information about the computer connections as well. These Windows commands are helpful when working with scripts.
Traceroute allows you to measure transit delays from hop to hop and trace a network route. This tool is very helpful in resolving issues with a network connection. For a pity you must have a working network connection to use it.
Another helpful administrators’ Windows tool is chkdsk. The file system integrity of a machine is going to come into question sooner or later. In this case the best tool to call up is chkdsk (Check Disk). Chkdsk has an ability to repair errors automatically and it is absolutely necessary in some situations.
You should know chmod very thoroughly if you are a UNIX/Linux administrator. You will use it often if you understand it better and try. This is surely acceptable to change permissions with a GUI. But when there is a need to change permissions on files/folders or on a large scale that requires root access, you will need chmod.
Ping is the tool which is incredibly useful in any network issues. The first tool used when you can’t get connected is a ping. We all know and love ping. This is a universal tool, which is available on almost any platform.
Tar is the archival tool for Linux and UNIX. There are a lot of similar tools, but none of them is as good as tar. Tar is a very helpful tool that can be used in cron jobs, scripts and much more. Linux has a number of archival tools (gzip, zip, bunzip2 etc.), but tar is the best.
If you want to choose a mother of tools, that will be killall. This tool will get you out of the case when an application is locked and you can’t get it to go away in Linux land. You should use it with caution as it’s very powerful.
On a Linux system every folder and file has an owner. That owner determines who has an ability to access the folder or file. Certainly, there are GUIs for that command too. But the command itself is much more faster and flexible to use than working with GUI and hoping that it will fulfill all of your needs.
There is an incredibly huge number of commands, which are ready to be used. Many of them have GUI equivalents that do the great job of handling the task for you. But in some cases, nothing is better than command line for flexibility and power.