Exercise 2
Create a directory called newdir
. Navigate to it. Make a new file
$cat > mynewfile
Save it as a new empty file with ^d
. Use nano or another editor of your preference and type a line or two of text.
$more mynewfile
$ls
$mv mynewfile the_file
$cp the_file old_file
$ls -l