Solutions to test 1

Linux Commands

  1. ls
  2. ls -a
    names for hidden files start with the "."
  3. ls -l
  4. pwd
  5. "." is the current working directory
    ".." is its parent directory (one level lower)
  6. cp ~/Downloads/yesterday.txt .
  7. grep yesterday yesterday.txt
    if you want to be case insensitive, use the -i option to grep

C programming

1) I have uploaded the program named myascii to this page:

https://iotworkshop.africa/pub/Embedded_Systems/SolutionsToTest1/ascii.tar.gz

This means you can easily pick it up and try for yourself.
In any case, here is the result:

myasciiRes.png

2) same as above, here is the code:

https://iotworkshop.africa/pub/Embedded_Systems/SolutionsToTest1/cl.tar.gz

and the result:

clRes.png

-- %USERSIG{UliRaich - 2017-10-24}%

Comments

 

I Attachment Action Size Date Who Comment
ascii.tar.gzgz ascii.tar.gz manage 339 bytes 24 Oct 2017 - 09:38 UnknownUser  
cl.tar.gzgz cl.tar.gz manage 2 K 24 Oct 2017 - 09:45 UnknownUser  
clRes.pngpng clRes.png manage 13 K 24 Oct 2017 - 09:45 UnknownUser  
myasciiRes.pngpng myasciiRes.png manage 1 K 24 Oct 2017 - 09:38 UnknownUser  
This topic: Embedded_Systems > WebHome > CourseExercises > SolutionsToTest1
Topic revision: 24 Oct 2017, uli