Week 11 - Linux

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

flashcard set

Earn XP

Description and Tags

9 Terms

1
New cards
What is Linux ?


Linux is a free , open-source operating system kernel based on the design of Unix
2
New cards


What is free software ?



Free software comes with source code, and is released under a copyright license that allows you to modify and redistribute it
3
New cards


What was Unix?


* Operating system was initially developed in the early 1970s at the bell labs research Centre in the US
* It quickly development into a small , elegant portable OS and ran on many types of computer . 

4
New cards
cd command
change current directory
5
New cards
pwd command
prints out current working directory
6
New cards
ls command
list of files in subdirectories in current directory
7
New cards


**Command : : cp**

To copy a file type cp followed by the name an existing file and the name of the new file



cp oldfile newfile

\
8
New cards
**Command : mv**
To rename or move a file, use the **mv** command: mv oldname newname



As with cp, you can also move one or more files into a different directory:



  mv file1 file2 file3 dir
9
New cards
Why do we use double quotes and single quotes in linux?


* Use double quotes when you want to **include a variable** in the output.
* The single quotes **display the name** of the variable rather than showing its value.