Wednesday 30 January 2019

Useful commands\

cp -r myfolder1/. myfolder2/ (copy all contents in folder1 to folder 2)
cp -r myfolder1/ myfolder2(copy myfolder1 to folder2)
mv -r ...


cat file1 (output content file in console)
cat file1 > file2( write content of file1 to file 2 overwrite)
cate file1 >> file2(write content of file1 to file2 append)

No comments:

Post a Comment