The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 03-06-2009
Autocross.US's Avatar
Autocross.US Autocross.US is offline
Registered User
  
 

Join Date: Nov 2008
Location: Chesapeake, VA
Posts: 73
If it's just a single file, why not use pgp or gpg to encrypt it? You could also use vi with the -x option to encrypt the file.

Other than that, use the crypt command:

Encode:
crypt Password < filename > filename.encrypted

Decode:
crypt Password < filename.encrypted > filename

Last edited by Autocross.US; 03-06-2009 at 04:52 PM..