Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04
Navigating the Linux File System In the Linux file system, as with its predecessor UNIX, everything is a f ...
.bash_history .config .local .profile ...
Click here to view code image matthew@seymour:~$ ls -laR > listing.txt TIP The previous command sends ...
You can also use the $HOME shell environment variable to accomplish the same thing. Environment variables are ...
the leading letter in the output. A blank (which is represented by a dash, as in the preceding example) design ...
x indicates permission for an owner, a member of the owner’s group, or others to execute the file (or read a ...
command, with its -ld option, is used to show the permissions and other information about the directory (not ...
for the root account or a user with super user permission and using sudo, either of which can access an ...
You can also use the octal form of the chmod command (for example, to modify a file’s permissions so that ...
additional digit is the first one; it is explained later in this chapter, in the section “Understanding ...
Click here to view code image matthew@seymour:~$ ls -l /usr/bin/passwd -rwsr-xr-x 1 root root 42856 20 ...
such as before or during backup operations. Note that the programs do not necessarily have to be removed ...
# group: matthew user::rw- group::rw- other::r-- The information listed here is standard and clear, based on what ...
# file: coffeecup.conf # owner: matthew # group: yirgacheffe user::rw- group::rw- other::r-- group:qa:rwx group:uat:rw ...
Creating a Directory with mkdir To create an empty directory called newdirectory within your current dir ...
already in your /home directory, you can use the following: Click here to view code image matthew@seymour:~$ ...
Click here to view code image matthew@seymour:~$ rm ~/randomdirectory/filename If you try to use rm to remove ...
matthew@seymour:~$ mv oldfilename newfilename To rename a file as you move it from ~/documents to ~/archive, ...
Click here to view code image matthew@seymour:~$ cp /home/matthew/documents/oldfilename /home/matthew/archive/newf ...
Each of the commands in the previous sections can be used with pattern- matching strings known as wil ...
«
7
8
9
10
11
12
13
14
15
16
»
Free download pdf