Tag: linux howto

Encrypt/Decrypt File with Vim Editor

0 Comment

In this howto we will see how to encrypt and decrypt a file with Vim editor. Lets Encrypt a file: linux-06ac:/opt # vim -x encryptedfile.txt Warning: Using a weak encryption method; see :help ‘cm’ Press ENTER or type command to continue Now Press enter and it will ask you to set a password. Enter encryption […]

Tags: , , , , , , ,

Linux Tips ( grep the text without hashes and blank lines )

0 Comment

In our second post of linux tips i would like to share a very simple example in which i will use grep tool to remove all the hashes and blank lines from a file. In our example we will use file1.txt with the following content linux-11oz:/test # cat file.txt #The file with hashes ### #### […]

Tags: , , , ,