{"id":1271,"date":"2018-11-04T16:08:06","date_gmt":"2018-11-04T13:08:06","guid":{"rendered":"http:\/\/kifarunix.com\/?p=1271"},"modified":"2024-03-11T21:38:30","modified_gmt":"2024-03-11T18:38:30","slug":"how-to-use-veracrypt-on-command-line-to-encrypt-drives-on-ubuntu","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-use-veracrypt-on-command-line-to-encrypt-drives-on-ubuntu\/","title":{"rendered":"How to Use VeraCrypt on Command Line to Encrypt Drives on Ubuntu"},"content":{"rendered":"\n

In this tutorial, you will learn how to use VeraCrypt on Command Line to Encrypt Drives on Ubuntu. In our previous article, we discussed how to install and use VeraCrypt to encrypt drives on Ubuntu<\/a>.<\/p>\n\n\n\n

We used the VeraCrypt GUI method. In this article, we are going to learn how to use VeraCrypt on command line interface to achieve the same encryption.<\/p>\n\n\n\n

Using VeraCrypt to Encrypt Drives on Command Line<\/h2>\n\n\n\n

To run VeraCrypt in text user interface, just type veracrypt<\/code> <\/strong>and pass the -t\/–text<\/strong> option.<\/p>\n\n\n\n

The command line synopsis of the veracrypt<\/code> <\/strong>command is;<\/p>\n\n\n\n

veracrypt [OPTIONS] COMMAND\nveracrypt [OPTIONS] VOLUME_PATH [MOUNT_DIRECTORY]<\/code><\/pre>\n\n\n\n

To learn more about VeraCrypt command line options, run veracrypt -h<\/code><\/strong>.<\/p>\n\n\n\n

With VeraCrypt, you can create two types of volumes;<\/p>\n\n\n\n