90 likes | 166 Views
Verktøy og hjelpeprogrammer. LINUX skall kommandotolker. LINUX kjerne. > useradd john >chfn -f "John Tonnessen" -p 22215512 john >passwd john New UNIX password:tr5fgty Retype new UNIX password:tr5fgty >cat /etc/passwd|grep john
E N D
Verktøy og hjelpeprogrammer LINUX skall kommandotolker LINUX kjerne
>useradd john >chfn -f "John Tonnessen" -p 22215512 john >passwd john New UNIX password:tr5fgty Retype new UNIX password:tr5fgty >cat /etc/passwd|grep john john:3lnEkcBOE:537:537:John Tonnessen,,22215512:/home/john:/bin/bash
>groupadd ansatte (editering av group-fil med en editor) >cat /etc/group|grep ansatte ansatte:x:538:john,stale,olav,trine,mona,sven
>ls -l -rw-r--r-- 1 john john 562 Jun 20 09:09 referat200699.txt >chgrp ansatte referat200699.txt >ls -l -rw-r--r-- 1 john ansatte 562 Jun 20 09:09 referat200699.txt
Bruker U Gruppe G Andre O d r w x r w x r w x Filtype ”-” betyr fil d betyr katalog
>chmod g+w referat200699.txt >ls -l -rw-rw-r-- 1 john ansatte 562 Jun 20 09:09 referat200699.txt
PID TTY STAT TIME COMMAND 3626 p1 S 0:00 su john 3627 p1 S 0:00 bash 3768 p0 S 0:00 /bin/login -h oppringt-3.tisip.no -p 3769 p0 S 0:00 -bash 3782 p0 R 0:00 ps
10:15am up 305 days, 19:03, 3 users, load average: 0.02, 0.01, 0.00 52 processes: 51 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 1.3% user, 2.6% system, 0.0% nice, 96.1% idle Mem: 63152K av, 60436K used, 2716K free, 26216K shrd, 30336K buff Swap: 66492K av, 0K used, 66492K free 16852K cached
Biblioteker(GNOME, KDE) Vindushåndterer(fvwm2, windowmaker Vindussystemet/protkoller(X Windows)