]> git.piffa.net Git - arduino/blob - lezioni/cli.rst
cli intro
[arduino] / lezioni / cli.rst
1 CLI
2 *********
3 * http://ryanstutorials.net/linuxtutorial/
4
5 * Terminale: sintassi comandi, uso degli spazi
6   whoami, pwd, date
7
8 * --help, man, flags  oggetti 
9 * Uso di tab
10 * hystory -c 
11
12
13 Shortcuts
14 =================
15
16
17 - frecce di scorrimento per history
18 - CTRL l    clean
19 - CTRL a
20 - CTRL e
21 - ALT b word / CTRL B
22 - CTRL B
23
24 * CTRL U
25   kill all left of
26 * CTRL k
27   kill all right of
28
29 * \`.  last object
30 * ~.  kill ssh
31
32
33 Streams
34 =============
35 - http://ryanstutorials.net/linuxtutorial/piping.php
36
37 STDRIN , STDROUT, STRDERR
38 * redirection on files >, >>, 
39
40   Handle    Name    Description
41   0 stdin   Standard input
42   1 stdout  Standard output
43   2 stderr  Standard error
44
45 Redirecting the standard error (stderr) and stdout to file
46 command-name &>file
47
48 Pipes
49 ----------
50
51 * wc -l
52 * head
53 * tail
54
55 Man / pager
56 ===============
57
58 Programma interativo, Chiusura, movimenti, ricerca.
59
60 Editor
61 --------
62
63 * Pager: more
64 * Vim or nano
65
66 Filesystem
67 ============
68
69 - http://ryanstutorials.net/linuxtutorial/navigation.php
70
71 * pwd, ls, touch, mkdir, cd
72 * Absolute and Relative Paths
73 * Tab Completion 
74
75 * descrizione struttura fs linux
76
77 * file nascosti, mancanza estensioni
78
79
80
81 Tutorials
82 =============
83
84 - http://ryanstutorials.net/linuxtutorial/
85 - http://ryanstutorials.net/linuxtutorial/piping.php
86