The readings for Monday, January 18 are:
Files
Chapter 3. About files and the file system
You can skip the About partitioning section.
Processes
You can skip 4.2. Boot process, Init and shutdown.
Editors:
You should learn how to use a terminal-based text editor if you have not already. Here are the most popular ones on Linux:
Nano: This text editor is the easiest to get started with, but also has the least amount of features. It is what I recommend for newcomers to Linux.
Vim: This text editor has many features such as syntax highlighting, plugins, and even spell checking. That said, it has a steep learning curve due to its foreign keyboard interface.
Emacs: This text editor also has many features (perhaps too many). In fact, Emacs is so powerful, there is saying "Emacs is an excellent operating system. All it's missing is a decent text editor". Bazinga!
You don't have to read all of the tutorials for each text editor (only read the ones for your weapon of choice).
In your reading01/README.md
file, describe what commands you would use to
accomplish the following:
Create a file private
that is only readable by you.
Create a link to /afs/nd.edu/coursesp.16/cse/cse20189.01
in your home
directory.
Determine the size of a file named BigFile
.
Determine the size of a directory named MyFolder
.
Given the following output of ps ux
:
pbui 24532 0.0 0.0 36432 5312 pts/4 S+ 23:17 0:00 ssh xavier
pbui 25129 0.0 0.0 90040 15076 ? S 23:48 0:00 urxvt
pbui 25130 0.0 0.0 16260 3872 pts/8 Ss 23:48 0:00 -bash
pbui 25263 0.0 0.0 38504 5224 pts/8 S+ 23:48 0:00 ssh student00
pbui 25361 0.0 0.0 36700 3352 pts/3 R+ 23:51 0:00 ps ux
pbui 25363 0.0 0.0 6088 1664 pts/3 S+ 23:51 0:00 tail -n 10
pbui 25809 0.0 0.0 16260 3312 pts/7 Ss+ Jan12 0:00 -bash
pbui 25913 0.0 0.1 99792 25788 ? S Jan13 0:07 urxvt
pbui 25914 0.0 0.0 16260 3952 pts/5 Ss Jan13 0:00 -bash
pbui 29626 0.0 0.0 176096 4524 ? Sl 15:46 0:00 /usr/lib/dconf/dconf-service
Terminate the ssh student00
process.
Given the output of ps ux
above, how would you terminate all of the
urxvt
processes in one command?
Determine how long a program named simulation
takes to run.
Persistently set the default your shell's EDITOR
to your weapon of
choice.
In the reading01
folder, write at least three summary pages for the
commands in each category:
If you have any questions, comments, or concerns regarding the course, please provide your feedback at the end of your response.
To submit your assignment, please commit your work to the reading01
folder
in your Assignments Bitbucket repository.