Introduction to Linux in HPC/Files

From HPC Wiki
Introduction to Linux in HPC/Files /
Jump to navigation Jump to search

Video


Quiz

Can you copy directory with cp <old_dir> <new_dir>?

Yes
No, -r option is needed for copying directory


Warning:  rm -f: no confirmation! Use with care. (page 53)
Wildcards expand before given to program. (page 56)


Exercises in Terminal

1. Use the find command to search for files, whose name ends with dat, in your home directory.
2. Use the find command to search for directories, whose name begins with test and ends with _dir, in your home directory.