Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to make hidden files/folders
ironblockhd

Make hidden files/folders in these 4 steps:
1. use CTRL+shift+s to open the terminal
2. note: if you've used npm modules before on your repl this step can be skipped. Use the command mkdir node_modules
3. create your files normally
4. move the files into the hidden folder using mv filename node_modules

Voters
James248
wjnb
Leroy01010
DynamicSquid
ironblockhd
Comments
hotnewtop
Highwayman

Wait but will they save to the repl image tho

DynamicSquid

@Highwayman wdym by that?

Highwayman

I mean is it actually persistent
@DynamicSquid

ironblockhd

@Highwayman yeah, it's inside the folder that is being saved, just the ui hides it

Highwayman

Okay, then this is cool lol
@ironblockhd

NoeWasTaken

how do I unhide the file?

ironblockhd

@NOEpe mv node_modules/filename .

CodeLongAndPros

Ls:

ironblockhd

It says that it's not secure, I am fully aware that anyone can see it if he wants to

CodeLongAndPros

Yeah, @ironblockhd but:
A. Node-modules looks suspicious in a C++ repl
B. Just symlink to ~/