# ==MY JOURNEY SO FAR AT BLOCKFUSE LABS== #### ==WEEK TWO(2)== ##### ==DAY 2(two) TO 5(five)== > ***[name=AmazingCeazer] > [time=Fri, Jun 20, 2025 9:38 PM]*** ##### EXPERIENCE WITH CLI AND SHELL ERRORS AND HOW IT WAS FIXED. "heavy breath in" my brain have never been challenged this far in my life only at blockfuse labs, And this is just week two but i ain't given up now striaght to my experience sofar with cli and shell. "alaways have a pictoral picture of whatever task you given on CLI that will guide you better" qoute from bamshak one of our tutor specialist on cli and shell and that has been the difficult part of my journey but bit by bit my brain is fallen in place. NOW LET'S WRITE A TASK AND THE ERROR I ENCOUNTER AND HOW WE FIXED IT. TASK ONE ON CLI 1. Create a directory tests 2. create three text files extentiton namely ideas,notes and todos using .txt inside tests directory. 3. create another directory name it "tasks" 4. copy ideas extention into tasks 5. move notes and todos extentions into tasks 6. Rename ideas ideas_backup.txt 7. Make use of directory one step behind. Errors: i got stocked at number "6" and the simple thing was to use a command rm type ideas.txt space bar and type the new name as show below: ANSWER USING CLI PROMPTS 1.mkdir test 2.touch notes.txt,ideas.txt,todos.txt 3.mkdir tasks 4.cp ideas.txt /home/urser/documents 5.mv notes.txt to directory 6.rm ideas.txt space bar ideas_backup.txt 7.cd ./../ tasks two was a study Assignment 1.grep 2.find 3.locate 4.chmod 5.chown greps: looks for strings "reoccuring words"in a text file ok let me break it down it like you looking for a perticular word in a sentense that has been use often more than once. find: simply means looking for a text file or commands they operate like grep as well. locate: locating a text file or information chmod: change mode of a text file using {-} and {+} chowner: change ownership is another command that allow ursers change change ownership of his files using read,write and execute (r,w,x) notes: O-other U-user G-group file permissions + add (+) - substract (-) Permission file for chown Octal Representation R-Read-4 W-Write-2 x-Execute-1 ###### task 3 1.Creat a script scripts that will do the following *create a group cohort-3-web2 and add two members ali and bob. *Create a folder ~/Documents/web2/cohort 3 and change group to cohort-3-web2 *Verify that both members ali and bob can read and write . *Create another group cohort-2 and add urser ola *Verify that ola doesn't have access to ~/Documents/web2/cohort 3. ##### STEPS *Sudo i *root *pwd *whoami (to verify you in the root urser) *groupadd *cat etc/group | grep *set password *passwd ali (password set and retype) *paawd bob (password set and retype) *Open a new tab (create a new tab) control T * mkdir ~/group * ls -l * sudo chown: group ~/group * exit root * whoami * urser name types of shell *vim shell *bash {Bourne-Again shell} *Zsh (Z shell) *fish *Ksh (Korn Shell) *Dash (Desbian Almquist Shell) PICTORAL VIEW OF HOW SHELL WORKS OR LOOK LIKE USING VIM SHELL: ![Screenshot from 2025-06-21 17-19-53](https://hackmd.io/_uploads/H1nhkwVNge.png) ![Screenshot from 2025-06-21 17-27-36](https://hackmd.io/_uploads/B1KWxPNEge.png) ## CONCLUSION It had been a fascinating journey sofar and i am loving the experience but as they do say when the going gets tough,the toughs gets going. I will have to toughing up and sacrifice alot and i am willing to learn. Software Engineering has been my passion and blockfuse i believe have ignited that passion and we are currently working togther to make this passion come through.