<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fi">
	<id>https://www.linux.fi/w/index.php?action=history&amp;feed=atom&amp;title=Komentorivivinkkej%C3%A4</id>
	<title>Komentorivivinkkejä - Muutoshistoria</title>
	<link rel="self" type="application/atom+xml" href="https://www.linux.fi/w/index.php?action=history&amp;feed=atom&amp;title=Komentorivivinkkej%C3%A4"/>
	<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;action=history"/>
	<updated>2026-04-10T03:02:05Z</updated>
	<subtitle>Tämän sivun muutoshistoria</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=48328&amp;oldid=prev</id>
		<title>91.157.139.112: /* Käyttäjät ja ryhmät */</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=48328&amp;oldid=prev"/>
		<updated>2018-12-14T18:05:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Käyttäjät ja ryhmät&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 14. joulukuuta 2018 kello 21.05&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l84&quot;&gt;Rivi 84:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 84:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;who | [[cut]] -d &amp;#039; &amp;#039; -f 1 | [[sort]] | [[uniq]] | tr -d &amp;#039; &amp;#039; | [[finger]] -s -m | cut -c 11-27 | sort | uniq&amp;lt;/tt&amp;gt; kertoo keitä koneelle on kirjautunut. Sama paikallista /etc/passwd -tiedostoa käyttäen on monimutkaisempi: &amp;lt;tt&amp;gt;who | cut -d &amp;#039; &amp;#039; -f 1 | sort | uniq | [[tr]] -d &amp;#039; &amp;#039; | [[xargs]] -n 1 [[echo]] &amp;quot;^&amp;quot; | [[colrm]] 2 2 | [[grep]] -f - /etc/passwd | cut -d &amp;#039;:&amp;#039; -f 5&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;who | [[cut]] -d &amp;#039; &amp;#039; -f 1 | [[sort]] | [[uniq]] | tr -d &amp;#039; &amp;#039; | [[finger]] -s -m | cut -c 11-27 | sort | uniq&amp;lt;/tt&amp;gt; kertoo keitä koneelle on kirjautunut. Sama paikallista /etc/passwd -tiedostoa käyttäen on monimutkaisempi: &amp;lt;tt&amp;gt;who | cut -d &amp;#039; &amp;#039; -f 1 | sort | uniq | [[tr]] -d &amp;#039; &amp;#039; | [[xargs]] -n 1 [[echo]] &amp;quot;^&amp;quot; | [[colrm]] 2 2 | [[grep]] -f - /etc/passwd | cut -d &amp;#039;:&amp;#039; -f 5&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komento &amp;lt;tt&amp;gt;[[users]]|[[tr]] &amp;#039; &amp;#039; &amp;#039;\n&amp;#039;|[[uniq]]|[[wc]] -l&amp;lt;/tt&amp;gt; kertoo kuinka monta erinimistä käyttäjää koneelle on kirjautunut.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komento &amp;lt;tt&amp;gt;[[users]]|[[tr]] &amp;#039; &amp;#039; &amp;#039;\n&amp;#039;|[[uniq]]|[[wc]] -l&amp;lt;/tt&amp;gt; kertoo kuinka monta erinimistä käyttäjää koneelle on kirjautunut.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Haluatko varmasti hyvän salasanan? Sano &amp;lt;tt&amp;gt;[[head]] -c 6 /dev/random | mimencode&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Haluatko varmasti hyvän salasanan? Sano &amp;lt;tt&amp;gt;[[head]] -c 6 /dev/random | mimencode&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/tt&amp;gt; tai &amp;lt;tt&amp;gt;[[head]] -c 6 /dev/random | base64&lt;/ins&gt;&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Laitteisto==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Laitteisto==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>91.157.139.112</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=48327&amp;oldid=prev</id>
		<title>91.157.139.112: /* Verkko */</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=48327&amp;oldid=prev"/>
		<updated>2018-12-14T18:01:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Verkko&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 14. joulukuuta 2018 kello 21.01&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l56&quot;&gt;Rivi 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Kokeile tätä: &amp;lt;tt&amp;gt;[[lynx]] --dump http://www.khdrive.fi/linkku/ | grep --after-context=5 &amp;quot;Seuraavat kokoontumiset&amp;quot;&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Kokeile tätä: &amp;lt;tt&amp;gt;[[lynx]] --dump http://www.khdrive.fi/linkku/ | grep --after-context=5 &amp;quot;Seuraavat kokoontumiset&amp;quot;&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[wget]] --recursive http://www.flug.fi/&amp;lt;/tt&amp;gt; imuroi koko Flug ry:n WWW-sivuston omalle koneelle.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[wget]] --recursive http://www.flug.fi/&amp;lt;/tt&amp;gt; imuroi koko Flug ry:n WWW-sivuston omalle koneelle.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Testaa latausnopeutesi: &amp;lt;tt&amp;gt;wget -O /dev/null ftp://ftp.funet.fi/dev/100Mnull &amp;gt; /dev/null&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Testaa latausnopeutesi: &amp;lt;tt&amp;gt;wget -O /dev/null ftp://ftp.funet.fi/dev/100Mnull &amp;gt; /dev/null&amp;lt;/tt&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(tämä testi saattaa olla hitaampi kuin nopeat liittymät)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jaa kansio nopeasti verkkoon väliaikaista käyttöä varten: &amp;lt;tt&amp;gt;python -c &amp;quot;import SimpleHTTPServer;SimpleHTTPServer.test()&amp;quot;&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jaa kansio nopeasti verkkoon väliaikaista käyttöä varten: &amp;lt;tt&amp;gt;python -c &amp;quot;import SimpleHTTPServer;SimpleHTTPServer.test()&amp;quot;&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>91.157.139.112</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=46262&amp;oldid=prev</id>
		<title>Lahtis: Näppäin q lopettaa listauksen</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=46262&amp;oldid=prev"/>
		<updated>2016-04-26T21:40:11Z</updated>

		<summary type="html">&lt;p&gt;Näppäin q lopettaa listauksen&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 27. huhtikuuta 2016 kello 00.40&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Rivi 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Peruskäyttö==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Peruskäyttö==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# {{Näppäin|TAB}} näppäimellä voi antaa komentotulkin täydentää loput komennosta tai tiedostonimestä. Mikäli vaihtoehtoja on useampia, ne saa näkyviin toisella painalluksella. Osassa komentotulkkeja voi TABilla täydentää myös mm. etäkoneiden ja käyttäjien nimiä sekä komentojen valitsimia (bashissa tämän ominaisuuden saa käyttöön ajamalla skriptin /etc/bash_completion rivit, sopiva komento löytyy usein deaktivoituna bashin alustusskripteissä).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# {{Näppäin|TAB}} näppäimellä voi antaa komentotulkin täydentää loput komennosta tai tiedostonimestä. Mikäli vaihtoehtoja on useampia, ne saa näkyviin toisella painalluksella. Osassa komentotulkkeja voi TABilla täydentää myös mm. etäkoneiden ja käyttäjien nimiä sekä komentojen valitsimia (bashissa tämän ominaisuuden saa käyttöön ajamalla skriptin /etc/bash_completion rivit, sopiva komento löytyy usein deaktivoituna bashin alustusskripteissä)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Jos listaus on pitkä näppäimellä {{Näppäin|q}} voit lopettaa listauksen&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos kaverisi pyytää auttamaan Linuxin käytössä, kerro hänelle [[Man-sivut|man-sivuista]]. &amp;lt;tt&amp;gt;man [[tar]]&amp;lt;/tt&amp;gt; ja &amp;lt;tt&amp;gt;man [[mkisofs]]&amp;lt;/tt&amp;gt; ovat esimerkkeinä parhaita. Myös [[info]]-sivut voivat olla hyviä tiedonlähteitä.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos kaverisi pyytää auttamaan Linuxin käytössä, kerro hänelle [[Man-sivut|man-sivuista]]. &amp;lt;tt&amp;gt;man [[tar]]&amp;lt;/tt&amp;gt; ja &amp;lt;tt&amp;gt;man [[mkisofs]]&amp;lt;/tt&amp;gt; ovat esimerkkeinä parhaita. Myös [[info]]-sivut voivat olla hyviä tiedonlähteitä.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;man -k printer&amp;lt;/tt&amp;gt; kertoo kaikki ne komennot, joiden yksirivinen kuvaus sisältää merkkijonon &amp;quot;printer&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;man -k printer&amp;lt;/tt&amp;gt; kertoo kaikki ne komennot, joiden yksirivinen kuvaus sisältää merkkijonon &amp;quot;printer&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lahtis</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42718&amp;oldid=prev</id>
		<title>Lahtis: palautus</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42718&amp;oldid=prev"/>
		<updated>2015-05-13T22:23:47Z</updated>

		<summary type="html">&lt;p&gt;palautus&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 14. toukokuuta 2015 kello 01.23&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot;&gt;Rivi 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Hakemiston saa pakattua näin: &amp;lt;tt&amp;gt;[[tar]] cvzf paketti.tar.gz /joku/hakemisto&amp;lt;/tt&amp;gt; . Purku onnistuu komennolla &amp;lt;tt&amp;gt;tar xvzf paketti.tar.gz&amp;lt;/tt&amp;gt;. Korvaa komennon z-kirjaimet j:lla jos haluat käyttää [[gzip]]-pakkauksen sijasta tehokkaampaa [[bzip2]]-pakkausta.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Hakemiston saa pakattua näin: &amp;lt;tt&amp;gt;[[tar]] cvzf paketti.tar.gz /joku/hakemisto&amp;lt;/tt&amp;gt; . Purku onnistuu komennolla &amp;lt;tt&amp;gt;tar xvzf paketti.tar.gz&amp;lt;/tt&amp;gt;. Korvaa komennon z-kirjaimet j:lla jos haluat käyttää [[gzip]]-pakkauksen sijasta tehokkaampaa [[bzip2]]-pakkausta.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[locate]] on nopeampi kuin find. Kokeile esim. &amp;lt;tt&amp;gt;locate foobar&amp;lt;/tt&amp;gt; löytääksesi tiedostot joiden nimissä on merkkijono &amp;quot;foobar&amp;quot;. Locate käyttää tiedostojen nimistä kerättyä tietokantaa, joka päivittyy oletuksena joka yö ([[cron]]).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[locate]] on nopeampi kuin find. Kokeile esim. &amp;lt;tt&amp;gt;locate foobar&amp;lt;/tt&amp;gt; löytääksesi tiedostot joiden nimissä on merkkijono &amp;quot;foobar&amp;quot;. Locate käyttää tiedostojen nimistä kerättyä tietokantaa, joka päivittyy oletuksena joka yö ([[cron]]).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[ls]] -&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;s&lt;/del&gt;&amp;lt;/tt&amp;gt; listaa tiedostot kokojärjestyksessä, &amp;lt;tt&amp;gt;ls -t&amp;lt;/tt&amp;gt; muokkausajan mukaan järjestettynä, &amp;lt;tt&amp;gt;ls -tu&amp;lt;/tt&amp;gt; käyttöajan mukaan (kunhan [[atime]] on käytössä). &quot;-r&quot; kääntää järjestyksen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[ls]] -&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;S&lt;/ins&gt;&amp;lt;/tt&amp;gt; listaa tiedostot kokojärjestyksessä, &amp;lt;tt&amp;gt;ls -t&amp;lt;/tt&amp;gt; muokkausajan mukaan järjestettynä, &amp;lt;tt&amp;gt;ls -tu&amp;lt;/tt&amp;gt; käyttöajan mukaan (kunhan [[atime]] on käytössä). &quot;-r&quot; kääntää järjestyksen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[file]] tiedostonnimi&amp;lt;/tt&amp;gt; yrittää arvailla mitä tyyppiä tiedosto on. Roottina voit jopa sanoa &amp;lt;tt&amp;gt;file -s /dev/hda1&amp;lt;/tt&amp;gt; ja näet sisältääkö laitetiedosto jotain joka näyttää tiedostojärjestelmältä.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[file]] tiedostonnimi&amp;lt;/tt&amp;gt; yrittää arvailla mitä tyyppiä tiedosto on. Roottina voit jopa sanoa &amp;lt;tt&amp;gt;file -s /dev/hda1&amp;lt;/tt&amp;gt; ja näet sisältääkö laitetiedosto jotain joka näyttää tiedostojärjestelmältä.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[symbolinen linkki|Symboliset linkit]] ovat joskus käteviä. Jos /var/www on liian täynnä ja /home melkein tyhjä, sano &amp;lt;tt&amp;gt;mv -i /var/www /home&amp;lt;/tt&amp;gt; ja &amp;lt;tt&amp;gt;ln -s /home/www /var/www&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[symbolinen linkki|Symboliset linkit]] ovat joskus käteviä. Jos /var/www on liian täynnä ja /home melkein tyhjä, sano &amp;lt;tt&amp;gt;mv -i /var/www /home&amp;lt;/tt&amp;gt; ja &amp;lt;tt&amp;gt;ln -s /home/www /var/www&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lahtis</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42717&amp;oldid=prev</id>
		<title>Lahtis: ls -s</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42717&amp;oldid=prev"/>
		<updated>2015-05-13T22:22:27Z</updated>

		<summary type="html">&lt;p&gt;ls -s&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 14. toukokuuta 2015 kello 01.22&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot;&gt;Rivi 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Hakemiston saa pakattua näin: &amp;lt;tt&amp;gt;[[tar]] cvzf paketti.tar.gz /joku/hakemisto&amp;lt;/tt&amp;gt; . Purku onnistuu komennolla &amp;lt;tt&amp;gt;tar xvzf paketti.tar.gz&amp;lt;/tt&amp;gt;. Korvaa komennon z-kirjaimet j:lla jos haluat käyttää [[gzip]]-pakkauksen sijasta tehokkaampaa [[bzip2]]-pakkausta.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Hakemiston saa pakattua näin: &amp;lt;tt&amp;gt;[[tar]] cvzf paketti.tar.gz /joku/hakemisto&amp;lt;/tt&amp;gt; . Purku onnistuu komennolla &amp;lt;tt&amp;gt;tar xvzf paketti.tar.gz&amp;lt;/tt&amp;gt;. Korvaa komennon z-kirjaimet j:lla jos haluat käyttää [[gzip]]-pakkauksen sijasta tehokkaampaa [[bzip2]]-pakkausta.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[locate]] on nopeampi kuin find. Kokeile esim. &amp;lt;tt&amp;gt;locate foobar&amp;lt;/tt&amp;gt; löytääksesi tiedostot joiden nimissä on merkkijono &amp;quot;foobar&amp;quot;. Locate käyttää tiedostojen nimistä kerättyä tietokantaa, joka päivittyy oletuksena joka yö ([[cron]]).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[locate]] on nopeampi kuin find. Kokeile esim. &amp;lt;tt&amp;gt;locate foobar&amp;lt;/tt&amp;gt; löytääksesi tiedostot joiden nimissä on merkkijono &amp;quot;foobar&amp;quot;. Locate käyttää tiedostojen nimistä kerättyä tietokantaa, joka päivittyy oletuksena joka yö ([[cron]]).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[ls]] -&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;S&lt;/del&gt;&amp;lt;/tt&amp;gt; listaa tiedostot kokojärjestyksessä, &amp;lt;tt&amp;gt;ls -t&amp;lt;/tt&amp;gt; muokkausajan mukaan järjestettynä, &amp;lt;tt&amp;gt;ls -tu&amp;lt;/tt&amp;gt; käyttöajan mukaan (kunhan [[atime]] on käytössä). &quot;-r&quot; kääntää järjestyksen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[ls]] -&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;s&lt;/ins&gt;&amp;lt;/tt&amp;gt; listaa tiedostot kokojärjestyksessä, &amp;lt;tt&amp;gt;ls -t&amp;lt;/tt&amp;gt; muokkausajan mukaan järjestettynä, &amp;lt;tt&amp;gt;ls -tu&amp;lt;/tt&amp;gt; käyttöajan mukaan (kunhan [[atime]] on käytössä). &quot;-r&quot; kääntää järjestyksen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[file]] tiedostonnimi&amp;lt;/tt&amp;gt; yrittää arvailla mitä tyyppiä tiedosto on. Roottina voit jopa sanoa &amp;lt;tt&amp;gt;file -s /dev/hda1&amp;lt;/tt&amp;gt; ja näet sisältääkö laitetiedosto jotain joka näyttää tiedostojärjestelmältä.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[file]] tiedostonnimi&amp;lt;/tt&amp;gt; yrittää arvailla mitä tyyppiä tiedosto on. Roottina voit jopa sanoa &amp;lt;tt&amp;gt;file -s /dev/hda1&amp;lt;/tt&amp;gt; ja näet sisältääkö laitetiedosto jotain joka näyttää tiedostojärjestelmältä.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[symbolinen linkki|Symboliset linkit]] ovat joskus käteviä. Jos /var/www on liian täynnä ja /home melkein tyhjä, sano &amp;lt;tt&amp;gt;mv -i /var/www /home&amp;lt;/tt&amp;gt; ja &amp;lt;tt&amp;gt;ln -s /home/www /var/www&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[symbolinen linkki|Symboliset linkit]] ovat joskus käteviä. Jos /var/www on liian täynnä ja /home melkein tyhjä, sano &amp;lt;tt&amp;gt;mv -i /var/www /home&amp;lt;/tt&amp;gt; ja &amp;lt;tt&amp;gt;ln -s /home/www /var/www&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lahtis</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42716&amp;oldid=prev</id>
		<title>Lahtis: /* Peruskäyttö */</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42716&amp;oldid=prev"/>
		<updated>2015-05-13T22:19:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Peruskäyttö&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 14. toukokuuta 2015 kello 01.19&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Rivi 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Voit uudelleen käyttää komennoille antamiasi parametrejä &amp;lt;tt&amp;gt;&amp;quot;ESC .&amp;quot;&amp;lt;/tt&amp;gt;-näppäinyhdistelmällä. Esim. jos luit pitkää &amp;lt;tt&amp;gt;/home/pena/file&amp;lt;/tt&amp;gt;-tiedostoa komennolla &amp;lt;tt&amp;gt;&amp;quot;[[cat]] /home/pena/file&amp;quot;&amp;lt;/tt&amp;gt;, niin kokeile &amp;lt;tt&amp;gt;&amp;quot;[[less]] ESC .&amp;quot;&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Voit uudelleen käyttää komennoille antamiasi parametrejä &amp;lt;tt&amp;gt;&amp;quot;ESC .&amp;quot;&amp;lt;/tt&amp;gt;-näppäinyhdistelmällä. Esim. jos luit pitkää &amp;lt;tt&amp;gt;/home/pena/file&amp;lt;/tt&amp;gt;-tiedostoa komennolla &amp;lt;tt&amp;gt;&amp;quot;[[cat]] /home/pena/file&amp;quot;&amp;lt;/tt&amp;gt;, niin kokeile &amp;lt;tt&amp;gt;&amp;quot;[[less]] ESC .&amp;quot;&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos siirryt &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;-komennolla uuteen hakemistoon ja haluat jostakin syystä palata takaisin siihen aikaisempaan, voit tehdä sen komennolla &amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos siirryt &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;-komennolla uuteen hakemistoon ja haluat jostakin syystä palata takaisin siihen aikaisempaan, voit tehdä sen komennolla &amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;cd ~&amp;lt;/tt&amp;gt;-komennolla pääset suoraan kotihakemistoosi.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;cd ~ &amp;lt;/tt&amp;gt;-komennolla pääset suoraan kotihakemistoosi.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Tiedostonhallinta==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Tiedostonhallinta==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lahtis</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42715&amp;oldid=prev</id>
		<title>Lahtis: malline näppäin + vinkki kotihakemistoon pääsemiseksi</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42715&amp;oldid=prev"/>
		<updated>2015-05-13T22:19:09Z</updated>

		<summary type="html">&lt;p&gt;malline näppäin + vinkki kotihakemistoon pääsemiseksi&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 14. toukokuuta 2015 kello 01.19&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Rivi 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[Virtuaalikonsoli]]ssa voi {{Näppäin|Shift|Page Up}}-näppäilyllä siirtyä pari ruudullista taaksepäin. Huomioi kuitenkin, että esimerkiksi [[X Window System|X]]:ssä käynti yleensä nollaa tämän ruutuhistorian. Sama näppäily toimii monessa [[terminaaliemulaattori]]ssa ([[xterm]] tms.), joissa taas ikkunan leveyden vaihto tuhoaa historiaa.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[Virtuaalikonsoli]]ssa voi {{Näppäin|Shift|Page Up}}-näppäilyllä siirtyä pari ruudullista taaksepäin. Huomioi kuitenkin, että esimerkiksi [[X Window System|X]]:ssä käynti yleensä nollaa tämän ruutuhistorian. Sama näppäily toimii monessa [[terminaaliemulaattori]]ssa ([[xterm]] tms.), joissa taas ikkunan leveyden vaihto tuhoaa historiaa.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[which]]-komennolla näkee mistä polussa oleva ohjelmatiedosto löytyy. Kokeile esim. &amp;lt;tt&amp;gt;which [[ldd]]&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[which]]-komennolla näkee mistä polussa oleva ohjelmatiedosto löytyy. Kokeile esim. &amp;lt;tt&amp;gt;which [[ldd]]&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komento &amp;lt;tt&amp;gt;[[history]]&amp;lt;/tt&amp;gt; tulostaa komentohistorian, &amp;lt;tt&amp;gt;history 5&amp;lt;/tt&amp;gt; viisi viimeistä komentoa. Jos käyttää historiatoimintoa (esimerkiksi muodossa &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTRL-&lt;/del&gt;R) kannattaa asentaa isompi puskuri, esimerkiksi &amp;lt;tt&amp;gt;HISTSIZE=5000&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komento &amp;lt;tt&amp;gt;[[history]]&amp;lt;/tt&amp;gt; tulostaa komentohistorian, &amp;lt;tt&amp;gt;history 5&amp;lt;/tt&amp;gt; viisi viimeistä komentoa. Jos käyttää historiatoimintoa (esimerkiksi muodossa &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;) kannattaa asentaa isompi puskuri, esimerkiksi &amp;lt;tt&amp;gt;HISTSIZE=5000&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komennolla &amp;lt;tt&amp;gt;[[pwd]] -P&amp;lt;/tt&amp;gt; saat selville missä hakemistossa &amp;quot;oikeasti&amp;quot; olet, eli symbolisten linkkien kautta kuljettu polku jätetään huomiotta.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komennolla &amp;lt;tt&amp;gt;[[pwd]] -P&amp;lt;/tt&amp;gt; saat selville missä hakemistossa &amp;quot;oikeasti&amp;quot; olet, eli symbolisten linkkien kautta kuljettu polku jätetään huomiotta.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[clear]]&amp;lt;/tt&amp;gt; tyhjentää kuvaruudun. Kätevä joissakin skripteissä. Normaalikäytössä on helpompi painaa {{Näppäin|Ctrl|L}}. Jos näppäimistö tai ruutu käyttäytyy sekavasti, esimerkiksi binääritiedoston katsomisen tuloksena, myös &amp;lt;tt&amp;gt;[[stty]] sane&amp;lt;/tt&amp;gt; tai &amp;lt;tt&amp;gt;[[reset]]&amp;lt;/tt&amp;gt; voi olla kohdallaan.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[clear]]&amp;lt;/tt&amp;gt; tyhjentää kuvaruudun. Kätevä joissakin skripteissä. Normaalikäytössä on helpompi painaa {{Näppäin|Ctrl|L}}. Jos näppäimistö tai ruutu käyttäytyy sekavasti, esimerkiksi binääritiedoston katsomisen tuloksena, myös &amp;lt;tt&amp;gt;[[stty]] sane&amp;lt;/tt&amp;gt; tai &amp;lt;tt&amp;gt;[[reset]]&amp;lt;/tt&amp;gt; voi olla kohdallaan.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Voit uudelleen käyttää komennoille antamiasi parametrejä &amp;lt;tt&amp;gt;&amp;quot;ESC .&amp;quot;&amp;lt;/tt&amp;gt;-näppäinyhdistelmällä. Esim. jos luit pitkää &amp;lt;tt&amp;gt;/home/pena/file&amp;lt;/tt&amp;gt;-tiedostoa komennolla &amp;lt;tt&amp;gt;&amp;quot;[[cat]] /home/pena/file&amp;quot;&amp;lt;/tt&amp;gt;, niin kokeile &amp;lt;tt&amp;gt;&amp;quot;[[less]] ESC .&amp;quot;&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Voit uudelleen käyttää komennoille antamiasi parametrejä &amp;lt;tt&amp;gt;&amp;quot;ESC .&amp;quot;&amp;lt;/tt&amp;gt;-näppäinyhdistelmällä. Esim. jos luit pitkää &amp;lt;tt&amp;gt;/home/pena/file&amp;lt;/tt&amp;gt;-tiedostoa komennolla &amp;lt;tt&amp;gt;&amp;quot;[[cat]] /home/pena/file&amp;quot;&amp;lt;/tt&amp;gt;, niin kokeile &amp;lt;tt&amp;gt;&amp;quot;[[less]] ESC .&amp;quot;&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos siirryt &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;-komennolla uuteen hakemistoon ja haluat jostakin syystä palata takaisin siihen aikaisempaan, voit tehdä sen komennolla &amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos siirryt &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;-komennolla uuteen hakemistoon ja haluat jostakin syystä palata takaisin siihen aikaisempaan, voit tehdä sen komennolla &amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# &amp;lt;tt&amp;gt;cd ~&amp;lt;/tt&amp;gt;-komennolla pääset suoraan kotihakemistoosi.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Tiedostonhallinta==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Tiedostonhallinta==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lahtis</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42714&amp;oldid=prev</id>
		<title>Lahtis: Malline näppäin</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=42714&amp;oldid=prev"/>
		<updated>2015-05-13T22:12:02Z</updated>

		<summary type="html">&lt;p&gt;Malline näppäin&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 14. toukokuuta 2015 kello 01.12&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Rivi 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Peruskäyttö==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Peruskäyttö==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TABilla &lt;/del&gt;voi antaa komentotulkin täydentää loput komennosta tai tiedostonimestä. Mikäli vaihtoehtoja on useampia, ne saa näkyviin toisella painalluksella. Osassa komentotulkkeja voi TABilla täydentää myös mm. etäkoneiden ja käyttäjien nimiä sekä komentojen valitsimia (bashissa tämän ominaisuuden saa käyttöön ajamalla skriptin /etc/bash_completion rivit, sopiva komento löytyy usein deaktivoituna bashin alustusskripteissä).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|TAB}} näppäimellä &lt;/ins&gt;voi antaa komentotulkin täydentää loput komennosta tai tiedostonimestä. Mikäli vaihtoehtoja on useampia, ne saa näkyviin toisella painalluksella. Osassa komentotulkkeja voi TABilla täydentää myös mm. etäkoneiden ja käyttäjien nimiä sekä komentojen valitsimia (bashissa tämän ominaisuuden saa käyttöön ajamalla skriptin /etc/bash_completion rivit, sopiva komento löytyy usein deaktivoituna bashin alustusskripteissä).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos kaverisi pyytää auttamaan Linuxin käytössä, kerro hänelle [[Man-sivut|man-sivuista]]. &amp;lt;tt&amp;gt;man [[tar]]&amp;lt;/tt&amp;gt; ja &amp;lt;tt&amp;gt;man [[mkisofs]]&amp;lt;/tt&amp;gt; ovat esimerkkeinä parhaita. Myös [[info]]-sivut voivat olla hyviä tiedonlähteitä.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos kaverisi pyytää auttamaan Linuxin käytössä, kerro hänelle [[Man-sivut|man-sivuista]]. &amp;lt;tt&amp;gt;man [[tar]]&amp;lt;/tt&amp;gt; ja &amp;lt;tt&amp;gt;man [[mkisofs]]&amp;lt;/tt&amp;gt; ovat esimerkkeinä parhaita. Myös [[info]]-sivut voivat olla hyviä tiedonlähteitä.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;man -k printer&amp;lt;/tt&amp;gt; kertoo kaikki ne komennot, joiden yksirivinen kuvaus sisältää merkkijonon &amp;quot;printer&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;man -k printer&amp;lt;/tt&amp;gt; kertoo kaikki ne komennot, joiden yksirivinen kuvaus sisältää merkkijonon &amp;quot;printer&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[alias|Aliakset]] ovat käteviä. Komennon &amp;lt;tt&amp;gt;alias l=&amp;quot;ls -lda&amp;quot;&amp;lt;/tt&amp;gt; jälkeen pelkkä l riittää komennoksi.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[alias|Aliakset]] ovat käteviä. Komennon &amp;lt;tt&amp;gt;alias l=&amp;quot;ls -lda&amp;quot;&amp;lt;/tt&amp;gt; jälkeen pelkkä l riittää komennoksi.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos olet tehnyt aliaksen, jolla on sama nimi kuin komennolla (&amp;lt;tt&amp;gt;alias ls=&amp;#039;ls --color=tty&amp;#039;&amp;lt;/tt&amp;gt;, esimerkiksi), mutta haluat suorittaa poikkeuksellisesti sen alkuperäisen, kirjoita komento muodossa &amp;lt;tt&amp;gt;\ls&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos olet tehnyt aliaksen, jolla on sama nimi kuin komennolla (&amp;lt;tt&amp;gt;alias ls=&amp;#039;ls --color=tty&amp;#039;&amp;lt;/tt&amp;gt;, esimerkiksi), mutta haluat suorittaa poikkeuksellisesti sen alkuperäisen, kirjoita komento muodossa &amp;lt;tt&amp;gt;\ls&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Paina Ctrl&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/del&gt;R komentokehotteessa ja kirjoita vaikka &quot;ls&quot;, niin löydät viimeisimmän kirjoittamasi komennon jossa esiintyy kirjaimet &quot;ls&quot;. Paina Ctrl&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/del&gt;R uudelleen hakeaksesi kauempaa komentohistoriasta.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Paina &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;Ctrl&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;komentokehotteessa ja kirjoita vaikka &quot;ls&quot;, niin löydät viimeisimmän kirjoittamasi komennon jossa esiintyy kirjaimet &quot;ls&quot;. Paina &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;Ctrl&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;uudelleen hakeaksesi kauempaa komentohistoriasta.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Ctrl&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/del&gt;A vie rivin alkuun komentokehotteessa, Ctrl&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/del&gt;E rivin loppuun. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTRL-&lt;/del&gt;F, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTR-&lt;/del&gt;B, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTRL-&lt;/del&gt;P ja &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTRL-&lt;/del&gt;N (forward/backward/previous/next) korvaa nuolinäppäimet. ESC F ja ESC B liikuttaa sanoittain. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTRL-&lt;/del&gt;D, ESC&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/del&gt;D, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTRL-&lt;/del&gt;K ja &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTRL-&lt;/del&gt;U poistaa tekstiä, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CTRL-&lt;/del&gt;Y palauttaa viimeksi poistetut merkit nykyiseen kohtaan.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;Ctrl&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;A&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;vie rivin alkuun komentokehotteessa, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;Ctrl&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;E&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;rivin loppuun. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;F&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;B&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;P&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;ja &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;N&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;(forward/backward/previous/next) korvaa nuolinäppäimet. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;ESC&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;F&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;ja &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;ESC&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;B&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;liikuttaa sanoittain. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;D&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;ESC&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;D&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;K&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;ja &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;U&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;poistaa tekstiä, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|Ctrl|&lt;/ins&gt;Y&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;palauttaa viimeksi poistetut merkit nykyiseen kohtaan.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komentoja voi yhdistellä &amp;amp;&amp;amp; ja || -operaattoreilla. &amp;lt;tt&amp;gt;[[tar]] cf paketti.tar /joku/hakemisto &amp;amp;&amp;amp; rm -rf /joku/hakemisto&amp;lt;/tt&amp;gt; suorittaa ensin tar-komennon, ja jos se onnistuu ongelmitta, suoritetaan [[rm]]-komento. || toimii toisinpäin, toinen komento suoritetaan vain jos ensimmäinen epäonnistui.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komentoja voi yhdistellä &amp;amp;&amp;amp; ja || -operaattoreilla. &amp;lt;tt&amp;gt;[[tar]] cf paketti.tar /joku/hakemisto &amp;amp;&amp;amp; rm -rf /joku/hakemisto&amp;lt;/tt&amp;gt; suorittaa ensin tar-komennon, ja jos se onnistuu ongelmitta, suoritetaan [[rm]]-komento. || toimii toisinpäin, toinen komento suoritetaan vain jos ensimmäinen epäonnistui.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komentokehotetta voi muuttaa. Esimerkiksi [[bash]]-komentotulkissa &amp;lt;tt&amp;gt;[[export]] PS1=&amp;#039;[\u@\h \w]\$ &amp;#039;&amp;lt;/tt&amp;gt; laittaa komentokehotteeseen käyttäjätunnuksen, koneen ja työhakemiston. Artikkelista [[zsh]] voi lukea kuinka tämä onnistuu zsh-komentotulkissa.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komentokehotetta voi muuttaa. Esimerkiksi [[bash]]-komentotulkissa &amp;lt;tt&amp;gt;[[export]] PS1=&amp;#039;[\u@\h \w]\$ &amp;#039;&amp;lt;/tt&amp;gt; laittaa komentokehotteeseen käyttäjätunnuksen, koneen ja työhakemiston. Artikkelista [[zsh]] voi lukea kuinka tämä onnistuu zsh-komentotulkissa.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Koneelle kirjauduttaessa ajetaan kotihakemistosta tiedosto jonka nimi on &amp;quot;.bash_profile&amp;quot; (muissa kuin [[bash]]-[[komentotulkki|komentotulkissa]] nimi on toinen, usein .profile tai .login). Sen loppuun voit kirjoittaa vaikka echo &amp;quot;Muista katsoa www.khdrive.fi/linkku/&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Koneelle kirjauduttaessa ajetaan kotihakemistosta tiedosto jonka nimi on &amp;quot;.bash_profile&amp;quot; (muissa kuin [[bash]]-[[komentotulkki|komentotulkissa]] nimi on toinen, usein .profile tai .login). Sen loppuun voit kirjoittaa vaikka echo &amp;quot;Muista katsoa www.khdrive.fi/linkku/&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[Virtuaalikonsoli]]ssa voi Shift&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;+&lt;/del&gt;Page Up -näppäilyllä siirtyä pari ruudullista taaksepäin. Huomioi kuitenkin, että esimerkiksi [[X Window System|X]]:ssä käynti yleensä nollaa tämän ruutuhistorian. Sama näppäily toimii monessa [[terminaaliemulaattori]]ssa ([[xterm]] tms.), joissa taas ikkunan leveyden vaihto tuhoaa historiaa.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[Virtuaalikonsoli]]ssa voi &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;Shift&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;Page Up&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;-näppäilyllä siirtyä pari ruudullista taaksepäin. Huomioi kuitenkin, että esimerkiksi [[X Window System|X]]:ssä käynti yleensä nollaa tämän ruutuhistorian. Sama näppäily toimii monessa [[terminaaliemulaattori]]ssa ([[xterm]] tms.), joissa taas ikkunan leveyden vaihto tuhoaa historiaa.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[which]]-komennolla näkee mistä polussa oleva ohjelmatiedosto löytyy. Kokeile esim. &amp;lt;tt&amp;gt;which [[ldd]]&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[which]]-komennolla näkee mistä polussa oleva ohjelmatiedosto löytyy. Kokeile esim. &amp;lt;tt&amp;gt;which [[ldd]]&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komento &amp;lt;tt&amp;gt;[[history]]&amp;lt;/tt&amp;gt; tulostaa komentohistorian, &amp;lt;tt&amp;gt;history 5&amp;lt;/tt&amp;gt; viisi viimeistä komentoa. Jos käyttää historiatoimintoa (esimerkiksi muodossa CTRL-R) kannattaa asentaa isompi puskuri, esimerkiksi &amp;lt;tt&amp;gt;HISTSIZE=5000&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komento &amp;lt;tt&amp;gt;[[history]]&amp;lt;/tt&amp;gt; tulostaa komentohistorian, &amp;lt;tt&amp;gt;history 5&amp;lt;/tt&amp;gt; viisi viimeistä komentoa. Jos käyttää historiatoimintoa (esimerkiksi muodossa CTRL-R) kannattaa asentaa isompi puskuri, esimerkiksi &amp;lt;tt&amp;gt;HISTSIZE=5000&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komennolla &amp;lt;tt&amp;gt;[[pwd]] -P&amp;lt;/tt&amp;gt; saat selville missä hakemistossa &amp;quot;oikeasti&amp;quot; olet, eli symbolisten linkkien kautta kuljettu polku jätetään huomiotta.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Komennolla &amp;lt;tt&amp;gt;[[pwd]] -P&amp;lt;/tt&amp;gt; saat selville missä hakemistossa &amp;quot;oikeasti&amp;quot; olet, eli symbolisten linkkien kautta kuljettu polku jätetään huomiotta.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[clear]]&amp;lt;/tt&amp;gt; tyhjentää kuvaruudun. Kätevä joissakin skripteissä. Normaalikäytössä on helpompi painaa Ctrl &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;+ &lt;/del&gt;L. Jos näppäimistö tai ruutu käyttäytyy sekavasti, esimerkiksi binääritiedoston katsomisen tuloksena, myös &amp;lt;tt&amp;gt;[[stty]] sane&amp;lt;/tt&amp;gt; tai &amp;lt;tt&amp;gt;[[reset]]&amp;lt;/tt&amp;gt; voi olla kohdallaan.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[clear]]&amp;lt;/tt&amp;gt; tyhjentää kuvaruudun. Kätevä joissakin skripteissä. Normaalikäytössä on helpompi painaa &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Näppäin|&lt;/ins&gt;Ctrl&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;L&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;. Jos näppäimistö tai ruutu käyttäytyy sekavasti, esimerkiksi binääritiedoston katsomisen tuloksena, myös &amp;lt;tt&amp;gt;[[stty]] sane&amp;lt;/tt&amp;gt; tai &amp;lt;tt&amp;gt;[[reset]]&amp;lt;/tt&amp;gt; voi olla kohdallaan.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Voit &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uudelleenkäyttää &lt;/del&gt;komennoille antamiasi parametrejä &amp;lt;tt&amp;gt;&quot;ESC .&quot;&amp;lt;/tt&amp;gt;-näppäinyhdistelmällä. Esim. jos luit pitkää &amp;lt;tt&amp;gt;/home/pena/file&amp;lt;/tt&amp;gt;-tiedostoa komennolla &amp;lt;tt&amp;gt;&quot;[[cat]] /home/pena/file&quot;&amp;lt;/tt&amp;gt;, niin kokeile &amp;lt;tt&amp;gt;&quot;[[less]] ESC .&quot;&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Voit &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uudelleen käyttää &lt;/ins&gt;komennoille antamiasi parametrejä &amp;lt;tt&amp;gt;&quot;ESC .&quot;&amp;lt;/tt&amp;gt;-näppäinyhdistelmällä. Esim. jos luit pitkää &amp;lt;tt&amp;gt;/home/pena/file&amp;lt;/tt&amp;gt;-tiedostoa komennolla &amp;lt;tt&amp;gt;&quot;[[cat]] /home/pena/file&quot;&amp;lt;/tt&amp;gt;, niin kokeile &amp;lt;tt&amp;gt;&quot;[[less]] ESC .&quot;&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos siirryt &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;-komennolla uuteen hakemistoon ja haluat jostakin syystä palata takaisin siihen aikaisempaan, voit tehdä sen komennolla &amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Jos siirryt &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;-komennolla uuteen hakemistoon ja haluat jostakin syystä palata takaisin siihen aikaisempaan, voit tehdä sen komennolla &amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lahtis</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=35744&amp;oldid=prev</id>
		<title>Pb: /* Tiedostojen ja syötteiden muokkaus */</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=35744&amp;oldid=prev"/>
		<updated>2012-02-10T10:57:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Tiedostojen ja syötteiden muokkaus&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 10. helmikuuta 2012 kello 13.57&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l114&quot;&gt;Rivi 114:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 114:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[pdftotext]] tiedosto.pdf&amp;lt;/tt&amp;gt; tekee tiedoston tiedosto.txt, joka hyvällä onnella sisältää PDF:n sisältämän tekstin.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;lt;tt&amp;gt;[[pdftotext]] tiedosto.pdf&amp;lt;/tt&amp;gt; tekee tiedoston tiedosto.txt, joka hyvällä onnella sisältää PDF:n sisältämän tekstin.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[bzcat]] ja [[zcat]]-komennoilla voit tulostaa pakatun tiedoston sisällön näytölle tai tiedostoon pakettia purkamatta. bzcat ~/patch.bz2 | [[patch]] -p1 on hyvä esimerkki tästä. Myös esimerkiksi [[zless]] ja [[zgrep]] toimivat.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[bzcat]] ja [[zcat]]-komennoilla voit tulostaa pakatun tiedoston sisällön näytölle tai tiedostoon pakettia purkamatta. bzcat ~/patch.bz2 | [[patch]] -p1 on hyvä esimerkki tästä. Myös esimerkiksi [[zless]] ja [[zgrep]] toimivat.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Tietyn numeron omaavan rivin saa tulostettua syötteeestä tai tiedostosta [[awk]]-ohjelman avulla: &amp;lt;tt&amp;gt;cat tiedosto | awk &quot;FNR == 45&quot;&amp;lt;/tt&amp;gt; (tässä rivi 45).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Kuvat ja multimedia==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Kuvat ja multimedia==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pb</name></author>
	</entry>
	<entry>
		<id>https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=34314&amp;oldid=prev</id>
		<title>88.195.29.5: /* Kuvat ja multimedia */ Näkyy ihan oikenakin</title>
		<link rel="alternate" type="text/html" href="https://www.linux.fi/w/index.php?title=Komentorivivinkkej%C3%A4&amp;diff=34314&amp;oldid=prev"/>
		<updated>2011-05-12T15:24:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Kuvat ja multimedia: &lt;/span&gt; Näkyy ihan oikenakin&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 12. toukokuuta 2011 kello 18.24&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l119&quot;&gt;Rivi 119:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rivi 119:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Kuviakin voi käsitellä komentoriviltä. Kokeile vaikka &amp;lt;tt&amp;gt;identify jokukuva.gif&amp;lt;/tt&amp;gt; (Identify kuuluu [[ImageMagick]]-pakettiin)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Kuviakin voi käsitellä komentoriviltä. Kokeile vaikka &amp;lt;tt&amp;gt;identify jokukuva.gif&amp;lt;/tt&amp;gt; (Identify kuuluu [[ImageMagick]]-pakettiin)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[Mplayer|Mplayerilla]] voit helposti kopioda Realplayer-streamia koneellesi tiedostoon. Tämä onnistuu komennolla &amp;lt;tt&amp;gt;mplayer -dumpstream URL_LÄHTEESEEN -dumpfile KOHDETIEDOSTO_LEVYLLÄ&amp;lt;/tt&amp;gt;. Real-koodekit on tietysti oltava asennettuna.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [[Mplayer|Mplayerilla]] voit helposti kopioda Realplayer-streamia koneellesi tiedostoon. Tämä onnistuu komennolla &amp;lt;tt&amp;gt;mplayer -dumpstream URL_LÄHTEESEEN -dumpfile KOHDETIEDOSTO_LEVYLLÄ&amp;lt;/tt&amp;gt;. Real-koodekit on tietysti oltava asennettuna.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Antamalla komennon &amp;lt;tt&amp;gt;mplayer filmi.ogg&amp;lt;/tt&amp;gt; tekstikonsolissa voit katsella videota filmi.ogg &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ASCII-grafiikalla.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Antamalla komennon &amp;lt;tt&amp;gt;mplayer filmi.ogg&amp;lt;/tt&amp;gt; tekstikonsolissa voit katsella videota filmi.ogg&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Skriptaus==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Skriptaus==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>88.195.29.5</name></author>
	</entry>
</feed>