Question: How can I install all the schedule jobs from a text file to the crontab? Also, can I remove all the cron jobs at once instead of removing the individual lines from the crontab? Answer: You can install, edit and remove crontab in batch mode as examples below. Also, refer to our 15 crontab [...]
2009
You may be using bc command in command line for calculations. It can also be used for batch mode calculations as explained below. 1. Calculation using Single command $ echo "4+10" | bc 14 2. Calculation using Multiple commands $ echo "obase=15;5+9" | bc E 3. Using previous results in the current operation In the [...]
Dia is a GTK+ based multi-platform diagram creation program. Dia is similar to the Visio program for Windows. If you don’t have dia, download it from here. In this article, let us review how to create a simple flow chart using Dia. Step 1. Select Flow Chart in the diagram tools window Select the flow [...]
Question: I would like to understand the basics of how to write and execute a Fortran program on Linux OS. Can you explain it with a simple example? Answer: In this article, let us review very quickly how to write a basic Hello World Fortran program and execute *.f program on Linux or Unix OS. [...]
Question: When debugging an issue on Ubuntu, I typically go to the command line to view the log file. Are there any GUI log file viewers available for Ubuntu? Answer: Ubuntu comes with an inbuilt system log file viewer. Launching System Log Viewer Click on System -> Administration -> Log File Viewer, to launch the [...]
This article is part of the on going Unix sed command tutorial series. In our previous articles we learned sed with single commands — printing, deletion, substitute and file write. Sed provides lot of commands to perform number of operations with the lines in a file. In this article let us review how to append, [...]
Question: When I execute ping command from the command line, it keeps sending the packets until I hit CTRL-C to terminate the ping command output. How can I execute ping command only for N number of packets and terminate the output automatically? Answer: Use ping option -c to specify the number of packets. After sending [...]
Similar to Windows Task Manager, Ubuntu offers a system monitoring utility that will display running processes, memory usage, file system usage. Apart from monitoring, you can also take several actions from the system monitor user interface — such as killing a running process. In this article, let us review how to put the basic monitoring [...]
My name is Ramesh Natarajan. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. My focus is to write articles that will either teach you or help you resolve a problem. Read more about