Create Hidden File Linux

Create a New Hidden File or Folder Using the Terminal

You can also create new files and folders as hidden items. Use the mkdir command to create a new folder. To make that folder hidden, add a dot (.) at the beginning of the name, just like you would when renaming an existing folder to hide it.
mkdir .FilesToHide

The touch command creates a new blank file in the current folder. For example, the following command creates a new text file called MyFile.txt.
touch MyFile.txt
To create a new hidden file, add a dot (.) at the beginning of the name in the touchcommand.
touch .HiddenFile.txt
loading...

No comments:

Powered by Blogger.