Skriptimine 2017: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Mrajur (talk | contribs)
Created page with "__toc__ =Hindamiskriteeriumid= Arvestuse saamiseks peab tudeng esitama järgmised tööd: 2 kodutööd 3+3 hinnangut teiste kodutöödele Kaitstud praktikumide tööd 2 k..."
 
Mrajur (talk | contribs)
Line 13: Line 13:
!Funktsioon
!Funktsioon
!Man link
!Man link
!Näidis
|-
|-
|cd
|cd
|Change Directory
|Change Directory
|http://www.skrenta.com/rt/man/cd.1.html
|http://www.skrenta.com/rt/man/cd.1.html
|cd /var/log
|-
|ls
|list directory contents
|http://www.skrenta.com/rt/man/ls.1.html
|ls -lah /var/log
|-
|ps
|report process status
|http://www.skrenta.com/rt/man/ps.1.html
|ps -ef
|-
|grep
|print lines matching a pattern
|http://www.skrenta.com/rt/man/grep.1.html
|grep 'error' /var/log/
|-
|ls
|list directory contents
|http://www.skrenta.com/rt/man/ls.1.html
|-
|ls
|list directory contents
|http://www.skrenta.com/rt/man/ls.1.html
|-
|-
|ls
|ls

Revision as of 08:48, 6 February 2017

Hindamiskriteeriumid

Arvestuse saamiseks peab tudeng esitama järgmised tööd:

2 kodutööd
3+3 hinnangut teiste kodutöödele
Kaitstud praktikumide tööd
2 kontrolltööd

Linuxi käsud

Käsk Funktsioon Man link Näidis
cd Change Directory http://www.skrenta.com/rt/man/cd.1.html cd /var/log
ls list directory contents http://www.skrenta.com/rt/man/ls.1.html ls -lah /var/log
ps report process status http://www.skrenta.com/rt/man/ps.1.html ps -ef
grep print lines matching a pattern http://www.skrenta.com/rt/man/grep.1.html grep 'error' /var/log/
ls list directory contents http://www.skrenta.com/rt/man/ls.1.html
ls list directory contents http://www.skrenta.com/rt/man/ls.1.html
ls list directory contents http://www.skrenta.com/rt/man/ls.1.html