- ABOR – keskeytä tiedon siirto / harvoin käytetään rajoittimena
- CWD – change working directory / vaihda työhakemisto
- DELE – delete a remote file / poista palvelimelta tiedosto
- LIST – list remote files / estä ls komento, estä listaus
- MDTM – return the modification time of a file / palauta muutetun tiedoston aika
- MKD – make a remote directory / tee palvelimelle hakemisto
- NLST – name list of remote directory / listaus palvelimen kansion tiedoista
- PASS – send password / palvelimelle pyyntö salasanan kirjoitusta varten
- PASV – enter passive mode / siirrytään passive moodiin
- PORT – open a data port / data portti avataan
- PWD – print working directory / tulosta työhakemisto
- QUIT – terminate the connection / lopeta yhteys
- READ – read remote file / lataa palvelimelta tiedosto
- RETR – retrieve a remote file / lataa palvelimelta tiedosto
- RMD – remove a remote directory / poista palvelimelta hakemisto
- RNFR – rename from / uudelleen nimeä jostakin nimestä
- RNTO – rename to / nimeä uudella nimellä
- SITE – site-specific commands / palvelimen SITE komennot
- SIZE – return the size of a file / tulostaa tiedoston koon
- STOR – store a file on the remote host / tallenna tiedosto palvelimelle
- TYPE – set transfer type / aseta ascii tai binary
- USER – send username / palvelimelle pyyntö, jolla voi kirjautua palvelimelle.
Vähemmän tärkeät komennot - ACCT – send account information / lähettää käyttäjän tiedot
- APPE – append to a remote file / jos yhteys katkeaa voidaan appe komennolla jatkaa tiedoston siirtoa.
- CDUP – CWD to the parent of the current directory
- HELP – return help on using the server / palvelimen Helppi ftp komentoihin
- MODE – set transfer mode / aseta datan siirto ascii/binary
- NOOP – do nothing / hei ootko siellä, komento pitää yllä ftp yhteyttä.
- REIN – reinitialize the connection / uudelleen kirjaudu palvelimeen
- STAT – return server status / hae palvelimen status
- STOU – store a file uniquely / upppaa tiedosto yksitellen, harvoin käytössä.
- STRU – set file transfer structure / aseta datan lähetyksen seuraaviin kategorioihin F= file, R=Record structure, P=Page structure.
- SYST – return system type / kertoo clientille onko windows vai unix
Aihearkisto: Yleinen
Shells
id
id komento tulostaa kirjautuneen käyttäjän nimen ja ryhmän tiedot.
uptime
Tar Paketti
rmdir
rmdir poistaa tyhjiä kansioita, jos kansiossa on tiedostoja käytä komentoa rm komentoa.
rmdir data -> poistaa tyhjän kansion datan.
rm
rm poistaa tiedostoja ja kansioita.
rm /data/ -r poistaa datakansion alikansiot ja tiedostot, myös poistaa data kansion
rm data poistaa datakansion
rm ei poista piilohakemistoja
pwd
print work directory
pwd= näyttää hakemiston missä olet
passwd
Passwd muuttaa käyttäjän salasanan
passwd opiskelija -> vaihtaa käyttäjä opiskelijan salasanan.
mv
Komento siirtää tiedostoja ja hakemistoja.
mv /media/sdb1/roippeet /home/dataukko/roippeet
Siirtää kansion roippeet käyttäjän dataukko profiiliin
mv apache2.conf apache2.confoldMuuttaa apache2.conf nimen-> apache2confold



