Difference: LinuxSystem (5 vs. 6)

Revision 62017-09-07 - uli

Line: 1 to 1
 
META TOPICPARENT name="CourseExercises"

Exercises 1: Discovering Linux

Goal:

Line: 71 to 71
 Finally remove runningNow.txt (using rm) and type ps ax| tee runningNow.txt . What is the difference to ps ax > runningNow.txt?

Exercise 5: File permissions

Added:
>
>
File permissions are given in the octal number system while very often we use the hexadecimal number system, e.g. when writing individual bits into chip registers. Here are a few exercises to get you acquainted with these system

What is the octal value of 101 001 110 ?

How much is 7+5 when calculated in octal?

Convert the octal value of 345 to decimal

Write down the binary representation of the hex value 0x83ab

How much is 7+5 in hexadecimal?

What is the decimal value of 0xa3?

Now on to permissions, which are given in octal:

 Do an ls -l in your solutions/exercise_1 directory. Then do the same thing on /bin. Who can read, modify, write each file?

Now create a new file yesterday.sh in solutions/exercise_1/with:

Line: 101 to 117
 
<--/commentPlugin-->

META FILEATTACHMENT attachment="yesterday.txt" attr="" comment="" date="1504691903" name="yesterday.txt" path="yesterday.txt" size="680" user="uli" version="1"
Deleted:
<
<
META FILEATTACHMENT attachment="exercises_1.odt" attr="" comment="" date="1504693724" name="exercises_1.odt" path="exercises_1.odt" size="81558" user="uli" version="1"
 
META FILEATTACHMENT attachment="bashrc.png" attr="" comment="" date="1504695772" name="bashrc.png" path="bashrc.png" size="35319" user="uli" version="1"
Added:
>
>
META FILEATTACHMENT attachment="exercises_1.odt" attr="" comment="" date="1504787172" name="exercises_1.odt" path="exercises_1.odt" size="81800" user="uli" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback