by H.Thirukkumaran | Aug 8, 2017 | tip of the day
Use cat command to print the contents of a file in the console.
by H.Thirukkumaran | Aug 8, 2017 | tip of the day
Use locate command to find files in the system. The locate command will try to retrieve the file information from the file index rather than the actual file system. This may save some resources on the server.
by H.Thirukkumaran | Aug 8, 2017 | tip of the day
Use the tail command to see the last 10 lines of a file. Use the command with -f option to continuously refresh the content. This will be helpful to see the execution logs of programs which are currently running and writing to log files.
by H.Thirukkumaran | Aug 8, 2017 | tip of the day
If your command or script is going to run for a long time then run it in background mode by adding & at the end of the command.
by H.Thirukkumaran | Aug 8, 2017 | tip of the day
To bring your command that is running background mode to foreground mode call fg %n where n is the job number assigned when the command started in background mode.
Recent Comments