reading-notes

The Command Line - What is it, how does it work and how do I get to one.

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. As you type, it will be displayed after the prompt. Most of the time you will be issuing commands.

Within a terminal you have what is known as a shell. This is a part of the operating system that defines how the terminal will behave and looks after running (or executing) commands for you.

use a command called echo to display a system variable stating my current shell »> Typing ” echo $SHELL “ its Output in my terminal “ /usr/bin/zsh “

Basic Navigation - An introduction to the Linux directory system and how to get around it.

“explore the system”
moving around the system”
Many tasks rely on being able to get to, or reference the correct location in the system. As such, this stuff really forms the foundation of being able to work effectively in Linux.

knowing new command like

### Whenever we refer to either a file or directory on the command line, we are in fact referring to a path. ie. A path is a means to get to a particular file or directory on the system.

There are 2 types of paths we can use, absolute and relative.

***some more building blocks you may use to help build your paths:

More About Files - Find out some interesting characteristics of files and directories in a Linux environment.

“everything is actually a file”

new command “ file

obtain information about what type of file a file or directory is.”

“Linux is an extensionless system”

Files can have any extension they like or none at all.”

“Linux is case sensitive”

Manual Pages - Learn how to make the most of the Linux commands you are learning.

“Instead of trying to remember everything, instead remember you can easily look stuff up in the man pages.” ** Think about it Like your FRIEND “The manual pages are a set of pages that explain every command available on your system including what they do, the specifics of how you run them and what command line arguments they accept. “

File Manipulation - How to make, remove, rename, copy and move files and directories.