LEO'S LEARNING JOURNAL

at Code Fellows 102 class session


Project maintained by LeoKuhorev Hosted on GitHub Pages — Theme by mattgraham

Day 02 “The Coder’s Computer”

THE MOST POPULAR TEXT EDITORS FOR CODING:

COMMAND LINE/TERMINAL/SHELL

A command line, or terminal, is a text based interface to the system. You are able to enter commands by typing them on the keyboard and feedback will be given to you similarly as text. The command line typically presents you with a prompt. Then you can enter a command (ls, pwd, cd etc). The command can be followed by arguments separated by spaces (eg -l /home/ryan ). The first command line argument ( -l ) is also referred to as an option. Options are typically used to modify the behaviour of the command. Options are usually listed before other arguments and typically start with a dash ( - ). Linux is case sensitive!

COMMAND LIST:

PATHS: ABSOLUTE AND RELATIVE

The very top of Linux hierarchical structure is /ROOT (/).

If you need to use path that contains spaces use quotes ‘ or “ (cd ‘Holiday Photos’) or escape character (cd Holiday\ Photos). Hidden files or directories start with .(full stop). For example: .file.txt

Here you can find computer setup guide.

Go back to page 1