🖥️encfs
➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the encfs command with important options and switches using examples.
2 minute read
▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁
# ███████╗███╗ ██╗ ██████╗███████╗███████╗
# ██╔════╝████╗ ██║██╔════╝██╔════╝██╔════╝
# █████╗ ██╔██╗ ██║██║ █████╗ ███████╗
# ██╔══╝ ██║╚██╗██║██║ ██╔══╝ ╚════██║
# ███████╗██║ ╚████║╚██████╗██║ ███████║
# ╚══════╝╚═╝ ╚═══╝ ╚═════╝╚═╝ ╚══════╝
# Create or mount an encrypted directory using encfs
encfs -i 5 $PWD/raw $PWD/content
# Explanation: The first time you run this, it will create an encrypted directory raw in the current working directory, and mount it on directory content in the same directory. It will ask a couple of questions:
# Create directory "raw" ? -- answer "y"
# Create directory "content" ? -- answer "y"
# Choose configuration mode -- press enter, or "p" for "paranoia mode"
# The content directory will be visible and editable only by your user, and all the files you put inside will be saved encrypted under raw. The encrypted data is only visible when raw is mounted somewhere. The -i 5 means the content directory will be automatically unmounted after being idle for 5 minutes. You can manually unmount with umount ./content in Linux, and fusermount -u ./content in Mac OS. To mount raw again, simply re-run the same command. This time it will only ask for the password.
# Limitations: encfs is not a standard command/package. Major Linux distros have it in their repos, on Mac OS you can install using ports. (sudo port install encfs)
Cheatsheets are an excellent complement to other information sources like Linux man-pages, Linux help, or How-To’s and tutorials, as they provide compact and easily accessible information. While man-pages and detailed tutorials often contain comprehensive explanations and extensive guides, cheatsheets summarize the most important options forthe command encfs in a clear format. This allows users to quickly access the needed information for encfs without having to sift through lengthy texts. Especially in stressful situations or for recurring tasks, cheatsheets for encfs are a valuable resource to work efficiently and purposefully.
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
█║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌
██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗
████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
╚██╔═██╔╝██║ ██║██║ ██║ ╚███╔╝ █████╗ ██║ ██║
████████╗██║ ██║██║ ██║ ██╔██╗ ██╔══╝ ██║ ██║
╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═════╝
█║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.