Learn to Code via Tutorials on Repl.it!

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

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

Comments
hotnewtop
Highwayman (1505)

Wait but will they save to the repl image tho

Highwayman (1505)

I mean is it actually persistent
@DynamicSquid

ironblockhd (427)

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

Highwayman (1505)

Okay, then this is cool lol
@ironblockhd

NoeWasTaken (0)

how do I unhide the file?

ironblockhd (427)

@NOEpe mv node_modules/filename .

CodeLongAndPros (1633)

Ls:

main.py
exceptions.py
node_modules

ironblockhd (427)

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

CodeLongAndPros (1633)

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