Linux command tip

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.

Linux command tip

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.

Linux command tip

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.