You are on page 1of 4

STARTUP

1.Do not approach your task with fear.

2.The Goal is to Understand.

3.Find what works with you.

4.In it for the long run – no shortcuts.

5.Collaboration is the recipe.

MUST DOS

1.Fill in your captain log – it is one way in which Alx gets feedback from you and they get to understand
how your journey in the program is going.

2.Get active in your study group – In slack and WhatsApp groups + Research (YouTube + Others).

3.Push your tasks to the repository for checkup – always after completion of tasks.

SHELL NAVIGATION

COMMANDS

1.UNAME – Type of operating system in use.

2.$UNAME -a(flag – it gives you an extended amount of information)

3. pwd (– to know where you are at any point

4.touch – create a file

5.LS – contents of a folder

6.directory- folder

7.exit- exits away from our sandbox

8.cd – change directory

9.mkdir – make directory

FLAGS DENOTED BY HYPHEN –

10. (. and ..) – hidden files – they are denoted with dots.

. => directory

..=>parent directory

11. (-a) – hidden files.

12.Editing files
(-) stands for a flag

Echo – gives back the same command you give it.

cat file-1 – explains the contents of a file.

>file-1 – sends the first previously written contents to file-1.

>>file-1 – sends the second previously written contents to file-1.

SHIFT + zz – exits you from vi editor.

wc file-1 – counts the number of words in a file.

wc cat -b file-1 – looks widely into the file in details

wc --help - shows other count options and formats.

cp - copy files.

mv - move files rename a file).

mv - (move) - change the location of a file.

Rm - remove, deleting a file e.g. rm *.html

Types of files
ls -la

1.(Represents the type of file,file ,directory,link or symbolic link) and its permissions)

-(ordinary file)

“l”(symbolic link)

Dir(folder)

Permissions - Read (R)

-write - w

-Nothing-(-)

-Execute - x

cd- (takes you to the previous directory)

DIRECTORIES - a container that holds files (special files, Ordinary files and directories)

Home Directory - ~

Root Directory - /

PATHENING - 1.Absolute Pathening - a path that begins from the root.

2.Relative pathening - a path does not necessarily start from the root.
2.(Memory blocks)

3.(The owner of the file)

4.(Name of the file)

5.(Size of the file in byte)

6.(Date and time created and when it was modified)

VISUAL EDITOR

1. COPY CUT AND PASTE - dd


2. INSERTING- i
3. PASTING - p
4. UNDOOING - u
5. EXITING - :q<Return>
6. BEGINNING_OF THE_LINE - 0
7. END OF THE LINE - $

SHELL PERMISSIONS

+X execution permission to the owner all other users and group owners

-R targets all subdirectories

-m move

* for all files and directories in the current working directory

-h being specific to a file

--from=Bundi (if it satisfies ownership of the previous owner(Bundi))


telnet towel.blinkenlights.nl - plays starwars on your webterm

ALL COMMANDS

1.Match any characters in a filename - “*”

2.Arithmetic expansion - $((expression))

3.

You might also like