Tänään asensimme VM:n ubuntu serverin ja tutustuimme linuxin hakemistoon ja tiedostojärjestelmään.
Oheisessa kuva "Homework 1" loppukohdasta.
Teimme myös kansioita kansioihin ja muutimme tiedoston luettavaan .html muotoon.
Homework 2
Asensin VM:n
sitten asensin linux ubuntun ja valitsin samat asetukset kuin koulullakin.
Seuraavaksi lista "sudo lshw -short -sanatize"
Ja asensin VLC-soittimen
VLC on opensource videotoistin ja sitä saa muokata ja käyttää vapaasti.
Käytän windowssissa: notepad ja windowsfirewall, sekä linuxissa sitten gedit ja UFW (palomuuri-ohjelmaa)
Homework 2
1- sudo -superuser
- ls -list
- apt-get -install app
- man -same as show
- kill -stop process
- cd -change directory
- mkdir dir -make new directory
- cp filea to fileb - copy file
2
ls /usr/bin
3
ls /usr/bin | less/more
4cd /usr/bin/
cd ..
5
sudo find / -iname ”syslog*”
6
man grep
7
sudo cp /etc/popularity-contest.conf
8
Kotikansio, josta löytyy kaikki omat tiedostot
9
cp/etc/services /home/samuli
10
cp -R /etc/X11/ ~11.
lsusb ja lsplk
Homework 3
1 and 2
3 Absolute and relative paths. An absolute or full path points to the same location in a file system, regardless of the current working directory. To do that, it must include the root directory. By contrast, a relative path starts from some given working directory, avoiding the need to provide the full absolute path
4
- sudo -superuser
- ls -list
- apt-get -install app
- man -same as show
- kill -stop process
- cd -change directory
- mkdir dir -make new directory
- cp filea to fileb - copy file
5 grep -R NIMI /etc/*
6 sudo grep -R NIMI /etc/*
7 sudo find /etc/ -iname ”*ubuntu*”
8 sudo find /usr/ -name ”README”
9 ls -R /usr/bin/ | wc -l

Ei kommentteja:
Lähetä kommentti