Presentation is loading. Please wait.

Presentation is loading. Please wait.

Linux/Unix - Download Ubuntu Linux :

Similar presentations


Presentation on theme: "Linux/Unix - Download Ubuntu Linux :"— Presentation transcript:

1 Linux/Unix - Download Ubuntu Linux :
- Installation of Ubuntu Linux on PCs: Create bootable USB stick - Resizing the Windows partition

2 emacs makes extensive us of key combinations:
- what is a buffer, what a window C-h C-h: help C-x b: open another buffer C-x right,left : cycle through buffers C-x k: kill buffers C-x 0: close the active window C-x 1: close all windows except the active window C-x 2: split the active window vertically into two horizontal windows C-x 3: split the active window horizontally into two vertical windows C-x o: change active window to next window C-x C-f: open a file C-x C-w: save a file under a given name C-x C-s: save a given file

3 emacs C-_: undo C-s: search forward C-r: search backwards
C-space: mark region C-k: kill a line C-w: kill a region M-%: replace text

4 UNIX/Linux

5 ✗ ✔ filetree File System Navigation
Important system directories (common places) /bin - binaries of commands /sbin - binaries of system admin commands /usr - read-only data shared between machines /usr/bin - shared binaries /usr/sbin - shared system admin commands /usr/local/bin - shared binaries installed locally /usr/local/sbin - shared system admin binaries installed locally /dev - files corresponding to devices /etc - host specific configuration files /home - user accounts /lib - libraries of objects /tmp - temporary stuff, deleted periodically /var - changing data /proc - information about processes

6 command cheat sheet File system commands

7 commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any options (always proceeded by a – and also called flags) target (such as the file to move or the directory to list) These commands are written on the prompt (terminal command line). Where am I?: pwd Change directory: cd what files and directories are in my current directory: ls If I need to know more about a command: man command

8 ls ls ls –a ls –l ls –l –t ls -lS
lists all files and directories in current working directory ls ls –a ls –l ls –l –t ls -lS lists all files and directories, including hidden files long format time sorted size sorted


Download ppt "Linux/Unix - Download Ubuntu Linux :"

Similar presentations


Ads by Google