And yes, the end of your first module.
I really hope that you've got a lot out of this because you now know how
to work with directories and some of those shortcuts.
So remember, we're using the cd command.
The cd command by itself will take you through to your home directory.
Cd‑ is a really good tool, being able to move you directly to your old directory.
We've seen a little bit about the Linux Filesystem Hierarchical Standard.
So the directories that we have on our Ubuntu system are going to be
the same that we have on our Alma Linux system,
the same that we have within our openSUSE system.
We've seen how we can list directories and their
content and how we can sort that content,
including directories such as /dev that had our device files and
directories like etc that had our configuration files.
We saw how we could read the metadata, both with the ls ‑l command,
but also using the stat command.
We saw how we can modify that metadata and especially the timestamps.
So we saw that we could go through and view our timestamp information.
And don't forget we've got the %x, the %y,
and the %z options to display our access times,
modified times, and our changed times.
Using the touch command,
we can go through and use the touch ‑m to change to the modified time,
touch ‑a to go through and change the last accessed time.
When we're looking at editing files, we're looking at the vim text editor,
which is my preferred editor.
But don't forget, this is very much subjective, what people like,
other people might prefer the nano text editor.
The stream editor could also be used, and that's really useful to ensure,
then that you can write edits into scripts so we can
affect many systems in one go rather than editing
individually on each of those systems,
so getting into the DevOps mindset where we can have
repeatedly correct configurations.
So sed is our stream editor, and we saw how using sed ‑i,
we could run our in‑place edits.
We also saw our remote copy operations.
So we could simply copy with scp, our secure copy program.
However,
if we have multiple files and directories that we want to keep synchronized,
the rsync command is really useful.
That can still be synchronized over the network
using SSH as a transport mechanism.
We also saw how we could use SSH within our Git repositories.
Git is a version control system that does allow us to
work collaboratively with text files, including scripts.
And that's it.
We're done and dusted,
and I really hope you started this off really well and excited of
moving on to our next module because in our next module, we're going to take a look at Backing Up and Compressing Files in Linux.