D
D
DDD2018-10-09 15:20:45
linux
DDD, 2018-10-09 15:20:45

How to forward file to root folder in ubuntu?

I created a txt file and I need to move it to a folder called root, but since this is a system folder, I don’t know how to throw it there. I do not know the file. Please help me understand this issue.5bbc9cb79f121507690978.png5bbc9cbf14266957386639.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2018-10-09
@Kiberchief

sudo cpfile /root

S
s4kro, 2018-10-09
@s4kro

If you need to upload the file to the directory on the screen, then
sudo cp /path/to/file.txt /file.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question