488891
114
Verklein
Vergroot
Pagina terug
1/178
Pagina verder
simply appends the output of the ls command to an already existing le
named filelist.txt. If the le does not exist, it is created.
2 Redirections also works the other way round. Instead of using the standard
input from the keyboard for a command, you can use a le as input:
sort < filelist.txt
This will force the sort command to get its input from the contents of filelist
.txt. The result is shown on the screen. Of course, you can also write the result
into another le, using a combination of redirections:
sort < filelist.txt > sorted_filelist.txt
3
If a command generates a lengthy output, like ls -l may do, it may be useful
to pipe the output to a viewer like less to be able to scroll through the pages.
To do so, enter
ls -l | less
The list of contents of the current directory is shown in less.
The pipe is also often used in combination with the grep command in order
to search for a certain string in the output of another command. For example,
if you want to view a list of les in a directory which are owned by the user
tux, enter
ls -l | grep tux
7.11 Starting Programs and Handling Processes
As you have seen in Section 7.7, “Editing Texts” (page 100), programs can be started
from the shell. Applications with a graphical user interface need the X Window System
and can only be started from a terminal window within a graphical user interface.
For example, if you want to open a le named vacation.pdf in your home directory
from a terminal window in KDE or GNOME, simply run okular ~/vacation.pdf (or
evince ~/vacation.pdf) to start a PDF viewer displaying your le.
When looking at the terminal window again you will realize that the command line
is blocked as long as the PDF viewer is open, meaning that your prompt is not
available. To change this, press [Ctrl] + [Z] to suspend the process and enter bg to
send the process to the background. Now you can still have a look at vacation.pdf
while your prompt is available for further commands. An easier way to achieve this
is by sending a process to the background directly when starting it. To do so, add
an ampersand at the end of the command:
okular ~/vacation.pdf &
104 Start-Up
114

Hulp nodig? Stel uw vraag in het forum

Spelregels

Misbruik melden

Gebruikershandleiding.com neemt misbruik van zijn services uitermate serieus. U kunt hieronder aangeven waarom deze vraag ongepast is. Wij controleren de vraag en zonodig wordt deze verwijderd.

Product:

Bijvoorbeeld antisemitische inhoud, racistische inhoud, of materiaal dat gewelddadige fysieke handelingen tot gevolg kan hebben.

Bijvoorbeeld een creditcardnummer, een persoonlijk identificatienummer, of een geheim adres. E-mailadressen en volledige namen worden niet als privégegevens beschouwd.

Spelregels forum

Om tot zinvolle vragen te komen hanteren wij de volgende spelregels:

Belangrijk! Als er een antwoord wordt gegeven op uw vraag, dan is het voor de gever van het antwoord nuttig om te weten als u er wel (of niet) mee geholpen bent! Wij vragen u dus ook te reageren op een antwoord.

Belangrijk! Antwoorden worden ook per e-mail naar abonnees gestuurd. Laat uw emailadres achter op deze site, zodat u op de hoogte blijft. U krijgt dan ook andere vragen en antwoorden te zien.

Abonneren

Abonneer u voor het ontvangen van emails voor uw Suse openSUSE 11.3 bij:


U ontvangt een email met instructies om u voor één of beide opties in te schrijven.


Ontvang uw handleiding per email

Vul uw emailadres in en ontvang de handleiding van Suse openSUSE 11.3 in de taal/talen: Engels als bijlage per email.

De handleiding is 7 mb groot.

 

U ontvangt de handleiding per email binnen enkele minuten. Als u geen email heeft ontvangen, dan heeft u waarschijnlijk een verkeerd emailadres ingevuld of is uw mailbox te vol. Daarnaast kan het zijn dat uw internetprovider een maximum heeft aan de grootte per email. Omdat hier een handleiding wordt meegestuurd, kan het voorkomen dat de email groter is dan toegestaan bij uw provider.

Stel vragen via chat aan uw handleiding

Stel uw vraag over deze PDF

loading

Uw handleiding is per email verstuurd. Controleer uw email

Als u niet binnen een kwartier uw email met handleiding ontvangen heeft, kan het zijn dat u een verkeerd emailadres heeft ingevuld of dat uw emailprovider een maximum grootte per email heeft ingesteld die kleiner is dan de grootte van de handleiding.

Er is een email naar u verstuurd om uw inschrijving definitief te maken.

Controleer uw email en volg de aanwijzingen op om uw inschrijving definitief te maken

U heeft geen emailadres opgegeven

Als u de handleiding per email wilt ontvangen, vul dan een geldig emailadres in.

Uw vraag is op deze pagina toegevoegd

Wilt u een email ontvangen bij een antwoord en/of nieuwe vragen? Vul dan hier uw emailadres in.



Info