|
META TOPICPARENT |
name="LectureSlides" |
Slide 1: The Linux Operating System |
|
this is what I get: |
|
< < |  |
> > |  |
|
The left rwx means that the file owner can
|
|
< < | |
> > | |
| the file. The middle 3 characters have the same meaning for group members
and the last 3 characters for any user. |
|
chmod 655 Makefile (what will be the file permissions after the command?) |
|
> > | Changing the eXexute flag in a shell script to make it executable is often done: |
|
The super user |
|
The current working directory is “.” |
|
< < | “..” is the directory one level lower from the current working directory |
> > | “..” is the directory one level up from the current working directory
(goto the parent directory of the current directory) |
|
Change Settings |
|
> > |  |
|
Settings |
|
> > |  |
|
bash scripts |
|
< < | You can collect commands in a script file (e.g. myscript.sh) |
> > | You can collect a sequence of commands in a script file (e.g. myscript.sh) |
|
The command sh myscript.sh sequentially executes all commands in this file. Actually bash is a command language with assignments, |
|
When making your script file executable by changing the permission |
|
< < | bits you can run it (with the sh prefix) like any other program (how?). |
> > | bits, you can run it like any other program (how?). |
| |
|
< < | Have a look at your .profile file a shell script which is executed |
> > | Have a look at your ~/.profile, a shell script which is executed |
|
when you create a new shell (e.g. when opening a new command window). |
|
META FILEATTACHMENT |
attachment="chmod.png" attr="" comment="" date="1504712375" name="chmod.png" path="chmod.png" size="27420" user="uli" version="1" |
META FILEATTACHMENT |
attachment="pipe.png" attr="" comment="" date="1504714810" name="pipe.png" path="pipe.png" size="10774" user="uli" version="1" |
META FILEATTACHMENT |
attachment="lecture_2.odp" attr="" comment="" date="1504774625" name="lecture_2.odp" path="lecture_2.odp" size="1075753" user="uli" version="1" |
|
|
> > |
META FILEATTACHMENT |
attachment="ls.png" attr="" comment="" date="1509717285" name="ls.png" path="ls.png" size="16645" user="uli" version="1" |
META FILEATTACHMENT |
attachment="settings.png" attr="" comment="" date="1509719504" name="settings.png" path="settings.png" size="38080" user="uli" version="1" |
META FILEATTACHMENT |
attachment="settings-2.png" attr="" comment="" date="1509719504" name="settings-2.png" path="settings-2.png" size="106096" user="uli" version="1" |
|