CRUD Files

Create

touch

Create file

touch fileName.txt

Update

mv

Move file

mv source.txt newName.txt

Read

cat

Print the content of a file

cat fileName.txt

less

Pager that prints the content of the file

less fileName.txt

/dave - You can search within the file when less is running. shift+n and n to go through the results

Delete

rm

Remove

rm fileName.txt
-i = interactive, you must confirm