Skip to content

- Unix command

In my case, It is the first time to hear Unix, so I start to learn with TechTarget and wikipedia.

1. What is Unix?

  • UNIX is an operating system (OS) whose development began in the late 1960s at Bell Labs (later AT&T).
  • Unix became the first OS that anyone could improve or extend, in part because it was written in C and incorporated many common ideas
  • UNIX uses a UI (command line interface, hereafter CLI) based on string-based operations.

2. What is OS?

Abbreviation for "operating system," which connects software (e.g., applications) and hardware (e.g., data storage devices).

3. What is Path?

  • A string of characters that represents the location of a specific resource in a computer.
  • Location of specific directories, like directions

4. Unix command (at least)

command meaning
pwd Where are you?
ls List where you are
ls -a List where you are (including hidden files)
ls- al All List where you are, Vertical (including hidden files)
cd Change directory
cd .. Go up one level to my home directory
  • What is directory? = folder
  • Can reflect (execute) commands only for where you are now.

5. What is "~/” on Unix ?

"~/" refers to the home directory.

6. Unix - File Permission / Access Modes

I learned the file permission with tutorialspoint. To check the permission status, using command of "ls -l". With the command, it displays various information related to file permission as follows.
alt text
The permissions are broken into groups of threes, and each position in the group denotes a specific permission, in this order: read (r), write (w), execute (x).

If there is the errors in commands is not acceptable, check permission status. And As necessary, change the permission.

7. Terminal

In my case, I open the terminal and input the Unix command.
alt text Before FabAcademy, I almost not use the terminal, so be cautious when using it.