Reboot your brain :2.0 Linux Basic tasks


Linux Kernel Assignment : 

Problem #1     Block System call : 


  • block system call for date command 
  • that means you don't have to uninstall date command but if you run kernel must not accept 
  • do the same Firefox as well

Problem #2 :  play with directory 

  •   create a directory without name from command line
  •   create a directory with name "-okgoogle"

Problem #3 :  create a directory structure 


Note :   You are only allowed to use a single command and only one time




Problem #4.  share and files and folder 


  •  create two users name jack and Jill  from command line
  • create all the data under home directory of each users 
  • login with jack user and create a file name  jack.txt using vim editor and write "hello jack"
  • from jack user also create two directories name jack1 & jack2 
  • now login from Jill user and create a file. Jill.txt using vim editor and write "hey jiil"
  • from Jill also create two directoires named jill1 & jill2 

Important :  swap these files and directories in between users  and to swap don't use root account.


Problem #5 :  play with files and directories 

  •   create  3 files named   abc.txt  ok  fine  g.txt  /tmp directory 
  •   create  4  directories   aa aaa aaaa  under  /tmp directory 
  •   give ls command to  list the content of  /tmp directory 
  •   make sure it will only list the content (file|directory)  having 2 char in their name.
 
problem #6:  run command without any output 

  •   open terminal and type any command 
  •   once you press enter your output of given command must not  print
  •    you are not allowed to redirect output anywhere 

problem #7 :    create a shell script 

  •  create a shell script named /root/delvex.sh 
  •   make sure it will run /bin/sh shell 
  •   a user will be running this script my using a command name opensource
  •  when a user  run like  "opensource  time" it must give current time only
  • when it runs like "opensource user"  it will give list of interactive shell users only
  •  when run like "opensource 100it must print "Hello Delvex" 100 times in interval of 1 sec
  • if runs like  "opensource windows"  then it must shutdown OS
  • if run opensource command without any parameter  then it must show out --
             i)   name of kernel 
             ii)   version of kernel 
             iii)  current date in the format of  /DD/MM/YY
             iv)  name of OS 
             v)   last reboot time 
 
 Note:    each output for last option must be in a separate line   


Problem #8:    create a user will default settings
 
  •   create a user name  delvex  and password of this user will be fedora
  •   when user got created below listed things will come by default
  •   history size will be 5000 
  •   history file will be  /home/delvex/myhist.txt
  •   default shell will be  /bin/sh 




Comments

  1. First of all video lectures pace is so slow. And not a single useful thing was taught. What do i want to do with the history of linux. And then these irrelevant questions are asked here. Ok and then I try to submit the answers and you just laugh them off ? Ok wow is that much small your ego is? Like really? If someone posts and answer and instead of telling them why they are wrong you laugh at thier answers? I don't know what kind of an educator you are. :) Please don't attend his lectures, they are waste of your time and efforts:)

    ReplyDelete
    Replies
    1. https://raw.githubusercontent.com/riyasoni5990/reboot-2.0/master/Assignment-1

      https://raw.githubusercontent.com/riyasoni5990/reboot-2.0/master/Assignment-2

      Delete
  2. Answer 1 and Answer 2 --> https://raw.githubusercontent.com/MoonPengu/Reboot-your-brain-2.0/master/Assignment%201

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Answer 2 Done
    https://github.com/piyushagarwal08/Reboot-2.O/blob/master/README.md

    ReplyDelete
  5. https://github.com/Asif032000/rebootyourbrain/blob/master/nonamedir

    ReplyDelete
    Replies
    1. https://github.com/Asif032000/rebootyourbrain/blob/master/problem7and8

      Delete
  6. This comment has been removed by the author.

    ReplyDelete
  7. https://github.com/prathapxsz/reboot-2.0/blob/master/assignment-1

    ReplyDelete
    Replies
    1. https://github.com/prathapxsz/reboot-2.0/blob/master/assignment-2

      Delete
    2. https://raw.githubusercontent.com/prathapxsz/reboot-2.0/master/assignment-3

      Delete
  8. https://github.com/djajoo2/Reboot-2.0/blob/master/Assignment%201

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. https://raw.githubusercontent.com/vishnupal/-Reboot-your-brain-2.0-Linux-Basic-tasks/master/Assignment%201

    ReplyDelete
  11. https://github.com/manan3349/reboot-2.0/blob/master/assignment-1

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. https://github.com/sid96020/reboot-2.0/blob/master/assignment-1

    ReplyDelete
  14. https://github.com/abhijit26110709/reboot-2.0/blob/master/assignment%201

    ReplyDelete
  15. https://github.com/nidjaj/Reboot-2.0/blob/master/Assignment%201

    ReplyDelete
    Replies
    1. Problem 5 - https://github.com/nidjaj/Reboot-2.0/blob/master/problem%205.md

      Delete
  16. https://github.com/Anshul9462/Reboot-2.0/commit/01470578a220d5c53c0fec348af5f9d147618ed9

    ReplyDelete
  17. https://github.com/Anshul9462/Reboot-2.0/blob/master/assignment%201

    ReplyDelete
  18. https://github.com/Bhushan-999/Reboot-Your-Brain-Linux2.o.git

    ReplyDelete
  19. Question3 and Question4: https://raw.githubusercontent.com/MoonPengu/Reboot-your-brain-2.0/master/Assignment%202

    ReplyDelete
  20. Question3 and question4--> https://raw.githubusercontent.com/MoonPengu/Reboot-your-brain-2.0/master/Assignment%202

    ReplyDelete
  21. https://github.com/SusmitBhamare/Reboot-2.0

    ReplyDelete
  22. https://raw.githubusercontent.com/Anshul9462/Reboot-2.0/master/Assignment%202

    ReplyDelete
    Replies
    1. Assignment 3 Problem 5

      https://raw.githubusercontent.com/Anshul9462/Reboot-2.0/master/assignment%203

      Delete
  23. problem_3
    https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_3

    problem_2
    https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_2

    problem_1
    not solved

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. problem_4
      https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_4.md

      Delete
    3. problem_5
      https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_5.md

      Delete
    4. problem_3
      https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_3.md

      Delete
    5. problem_6
      https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_6.md

      Delete
    6. problem_7
      https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_7.md

      Delete
    7. problem_8
      https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_8.md

      Delete
    8. problem_1
      https://github.com/ayushikhandelwal99/Reboot_2.0/blob/master/Problem_1.md

      Delete
  24. This comment has been removed by the author.

    ReplyDelete
  25. Problem 3: https://github.com/djajoo2/Reboot-2.0/blob/master/Problem%203
    Problem 4: https://github.com/djajoo2/Reboot-2.0/blob/master/Problem%204

    ReplyDelete
  26. Problem 3 - https://github.com/nidjaj/Reboot-2.0/blob/master/problem%203
    Problem 4 - https://github.com/nidjaj/Reboot-2.0/blob/master/problem%204

    ReplyDelete
  27. https://github.com/ektajarwal1610/reboot-2.0/blob/master/assignment%201

    ReplyDelete
  28. https://github.com/kshitizsaini113/reboot-2.0/blob/master/asssignment-1.md

    ReplyDelete
  29. problem:2 -->>https://raw.githubusercontent.com/Laveenajethani/reboot-2.0/master/assignment2
    problem:3 -->>https://raw.githubusercontent.com/Laveenajethani/reboot-2.0/master/assignment3

    ReplyDelete
  30. https://github.com/yuktakhatri/Reboot_2.0/blob/master/Linux%20Kernel%20Assignment

    ReplyDelete
  31. Problem1: https://github.com/SinghVikram97/reboot-2.0/blob/master/Problem_1.md
    Problem2: https://github.com/SinghVikram97/reboot-2.0/blob/master/Problem_2.md
    Problem3: https://github.com/SinghVikram97/reboot-2.0/blob/master/Problem_3.md

    ReplyDelete
  32. https://github.com/aditik03/Reboot-2.0/blob/master/assignment.md

    ReplyDelete
  33. Problem 1&2: https://github.com/manan3349/reboot-2.0/blob/master/assignment-1
    Problem 3: https://github.com/manan3349/reboot-2.0/blob/master/Problem%203
    Problem 4: https://github.com/manan3349/reboot-2.0/blob/master/Problem%204

    ReplyDelete
    Replies
    1. Problem 5: https://github.com/manan3349/reboot-2.0/blob/master/Problem5.md

      Delete
    2. Problem6 : https://github.com/manan3349/reboot-2.0/blob/master/Problem%206.md

      Delete
    3. Problem 7: https://github.com/manan3349/reboot-2.0/blob/master/problem%207.md

      Delete
  34. https://raw.githubusercontent.com/Dipesh9798/reboot-2.0/master/assignment-1

    ReplyDelete
  35. https://raw.githubusercontent.com/anindita02/reboot-2.0/master/Assignment%201-4

    ReplyDelete
  36. https://raw.githubusercontent.com/chandrashekhar05/Reboot-2.0/master/Assignment_1

    ReplyDelete
  37. https://raw.githubusercontent.com/b1ackr0s3/Reboot-2.0/master/assignment-1

    ReplyDelete
  38. This comment has been removed by the author.

    ReplyDelete
  39. https://github.com/ketan2411/Reboot-you-brain/blob/master/Assignment.md

    ReplyDelete
  40. Problem 4: https://github.com/SinghVikram97/reboot-2.0/blob/master/Problem_4.md

    ReplyDelete
  41. Problem:4-->>https://raw.githubusercontent.com/Laveenajethani/reboot-2.0/master/assignment4

    ReplyDelete
  42. https://github.com/mkmahto2/reboot-2.0/blob/master/assignment-1.md

    ReplyDelete
  43. https://github.com/abhijit26110709/reboot-2.0/blob/master/assignment%202

    ReplyDelete
  44. Problem 5: https://github.com/SinghVikram97/reboot-2.0/blob/master/Problem_5.md

    ReplyDelete
  45. https://github.com/mihirkj/reboot-2.0/blob/master/assignment-1.md

    ReplyDelete
  46. https://github.com/djtaori23/reboot-2.0/blob/master/Problem%20%231.md

    ReplyDelete
    Replies
    1. https://github.com/djtaori23/reboot-2.0/blob/master/Problem%20%232.md

      Delete
    2. https://github.com/djtaori23/reboot-2.0/blob/master/Problem%20%233.md

      Delete
    3. https://github.com/djtaori23/reboot-2.0/blob/master/Problem%20%234.md

      Delete
    4. https://github.com/djtaori23/reboot-2.0/blob/master/Problem%20%235.md

      Delete
    5. https://github.com/djtaori23/reboot-2.0/blob/master/Problem%20%236.md

      Delete
  47. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md

    ReplyDelete
    Replies
    1. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md#problem-2

      Delete
    2. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md#problem-3

      Delete
    3. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md#problem-4

      Delete
    4. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md#problem-5

      Delete
    5. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md#problem-6

      Delete
    6. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md#problem-7

      Delete
    7. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md#extra-tasks

      Delete
    8. https://github.com/CRJain/reboot-2.0/blob/master/assignment-1.md#problem-8

      Delete
  48. Problem 5 - https://github.com/djajoo2/Reboot-2.0/blob/master/Problem%205

    ReplyDelete
  49. Problem 6: https://github.com/SinghVikram97/reboot-2.0/blob/master/Problem_6.md

    ReplyDelete
  50. https://github.com/harshmangal1108/Reboot2.0
    All done

    ReplyDelete
  51. https://raw.githubusercontent.com/MoonPengu/Reboot-your-brain-2.0/master/Assignment%203

    ReplyDelete
  52. Problem6 - https://github.com/nidjaj/Reboot-2.0/blob/master/problem6.md

    ReplyDelete
  53. problem 6- https://github.com/djajoo2/Reboot-2.0/blob/master/Problem6.md

    ReplyDelete
  54. https://github.com/Laveenajethani/reboot-2.0/blob/master/problem7.md

    ReplyDelete
  55. https://github.com/Laveenajethani/reboot-2.0/blob/master/problem5.md

    ReplyDelete
  56. problem-3 https://github.com/Bhushan-999/Reboot-Your-Brain-Linux2.o/commit/5d775c3c3ba09cdb678c7bd9f668274040b5292e

    problem-4 https://github.com/Bhushan-999/Reboot-Your-Brain-Linux2.o/commit/257e32bcbcee424ecbba5c936cb3d5b4e3ae09c1

    problem - 5 https://github.com/Bhushan-999/Reboot-Your-Brain-Linux2.o/commit/e2db4c7aa800764b20980082ab24f6a1306de7a6

    problem-6 https://github.com/Bhushan-999/Reboot-Your-Brain-Linux2.o/commit/768b564691f785840bc085d970b75f2a8797b20f

    ReplyDelete
  57. https://github.com/mrsarthak001/reboot_2.0/blob/master/Assignment%201/SARTHAK.md

    ReplyDelete
  58. https://github.com/Dipesh9798/reboot-2.0/blob/master/assignment-1.md

    ReplyDelete
  59. https://github.com/Dipesh9798/reboot-2.0/blob/master/assignment-1.md

    ReplyDelete
  60. https://github.com/kajal241199/Reboot-your-brain-2.0/blob/master/Assignment1

    ReplyDelete
  61. Problem 1:https://github.com/SHAHKRISHS/Learn_and_Build/blob/main/Problem%20%231
    Problem 2:https://github.com/SHAHKRISHS/Learn_and_Build/blob/main/Problem%20%232
    Problem 3:https://github.com/SHAHKRISHS/Learn_and_Build/blob/main/Problem%20%233
    Problem 4:https://github.com/SHAHKRISHS/Learn_and_Build/blob/main/Problem%20%234

    ReplyDelete
    Replies
    1. Problem 5:https://github.com/SHAHKRISHS/Learn_and_Build/blob/main/Problem%20%235

      Delete

Post a Comment

Have a wonderful coding life.
Stay cool and do more code !!!

Popular posts from this blog

python3 challanges

AI the Super Future