1
What other command copies what is inside the file into <>
to the other file.
cat < file1.txt > file2.txt
- Is there a command that does this with pipe?
And also ls –lsR | more
there is some command that does this without using the pipe ?
Would be the ls -ls
?
From what I understand ls -lsr
, returns permissions along with the amount of files within the folder.
And the ls -lsr | more
returns file permissions, equal ls -ls
It is easier for you [Dit] to specify the question you want to actually solve. So it is very confusing, and mixing subjects. The command to copy files is
cp
– Bacco
All right, I’ll fix it.
– Breno Sobral
Just be careful not to change the meaning too much and spoil the existing answer. Maybe, now that you have an answer, it’s worth leaving it as it is
– Bacco