≡ Menu

SathiyaMoorthy

Screen command offers the ability to detach a long running process (or program, or shell-script) from a session and then attach it back at a later time. When the session is detached, the process that was originally started from the screen is still running and managed by the screen. You can then re-attach the session [...]

{ 13 comments }

We are Vim editor fans. Vim editor is the most popular editor for UNIX / Linux platform, followed by emacs editor. If you talk to emacs editor fans, they might think otherwise. In the spirit of learning, we’ve decided to explore emacs editor in detail and we’ll be posting several emacs articles in the upcoming [...]

{ 3 comments }

For finding difference between two versions of a file on Linux, you can use any one of the 4 tools explained in this article — diff, colordiff, wdiff, and vimdiff. The screenshots provided for these tools shows the difference between the following two empfile1.txt and empfile2.txt. $ cat empfile1.txt John Smith 1001 Sr. Engineer Peter [...]

{ 9 comments }

Question: When I try to launch any GUI application on a remote server, I’m getting the “cannot open display:” error, as shown below. How do I fix this? For example, while launching the gedit on remote server, I got the following message. (gedit:3658): Gtk-WARNING **: cannot open display: I get similar message when I try [...]

{ 13 comments }

Question: I would like to understand the basics of how to write and execute Forth program on Linux OS. Can you explain it with a simple example? Answer: If you’ve never heard about Forth program, read about it in Wikipedia first. In this article, let us review very quickly how to write a basic Hello [...]

{ 0 comments }

FTP and SFTP Beginners Guide with 10 Examples

FTP is File Transfer Protocol. SFTP is secure FTP. In this article let us review how to connect and login to a remote ftp server for downloading and uploading files using ftp or sftp command. Most of the ftp commands are applicable to sftp. So, wherever ftp is mentioned, you can use sftp also. 1. [...]

{ 29 comments }

You can execute batch jobs in UNIX / Linux using any one of the three commands — at, batch or cron. In this article, let us review how to schedule a job, view a job, and delete a job using at command. You can schedule an at job in two different ways: Schedule the job [...]

{ 16 comments }

7 Chmod Command Examples for Beginners

Earlier we discussed about how to use octal permission bits with chmod. In this article, let us review how to use symbolic representation with chmod. Following are the symbolic representation of three different roles: u is for user, g is for group, and o is for others. Following are the symbolic representation of three different [...]

{ 27 comments }