본문 바로가기

OS/Linux

Managing Files

touch : create empty files
touch file1 file2 file3 ...

ls : display a list of all files in your current directory or folder
ls file* : using a wildcard symbol to match multiple files
ls -l file*: long list
ls -a : to view both hidden files(filenames beginning with a period) and non-hidden files

cp file1 file4 :copy file1 to file4

mv [source file] [destination file] : move file to a new name