Prev | Current Page 213 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

24 at 12:17 p.m.).
68
Linux First Steps Part I
In some Linux systems, such as Fedora, when you add a new user, the user is assigned
to a group of the same name by default. For example, in the preceding text, the user
chris would be assigned to the group chris. This approach to assigning groups is referred to as the
user private group scheme.
For now, type the following:
$ chmod 700 test
This step changes the permissions of the directory to give you complete access and everyone
else no access at all. (The new permissions should read as follows: rwx------.)
5. Make the test directory your current directory as follows:
$ cd test
Using Metacharacters and Operators
To make efficient use of your shell, the bash shell lets you use certain special characters, referred to
as metacharacters and operators. Metacharacters can help you match one or more files without typing
each file completely. Operators enable you to direct information from one command or file to
another command or file.
Identifying Directories
When you need to identify your home directory on a shell command line, you can use the following:
 $HOME??”This environment variable stores your home directory name.
 ~??”The tilde (~) represents your home directory on the command line.
You can also use the tilde to identify someone else??™s home directory.


Pages:
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225