Astronomy 480 Linux III Tutorial
Short Description
Astronomy 480 || Linux III Tutorial. Pipes. Pipes are extremely handy! Try this to start things off:. ps -augx | grep yourusername. What did you get? …
Website: www.astro.washington.edu | Filesize: 201kb
Content
Astronomy 480 || Linux III Tutorial
Pipes
Pipes are extremely handy! Try this to start things off:
ps -augx | grep yourusername
What did you get? Try it without the ‘grep.’ Type top and see what you get. Then, try it
again, but pipe it with a ‘grep’ and your user name. What did ‘top’ give you? What is it telling you?
Type ‘q’ to get out of ‘top.’
I find that the pipe command is the most handy when I want to do an ls -l but I have so many files
and directories that they go by way too fast:
ls -l | less
Working on Multiple Jobs Using A shell
You will be doing this. It is somehow rewarding to get a really huge computer job going (let’s say one
that will run for 2 or 3 days of a simulation of the formation of the solar system), and then go home and
go to bed, knowing that you are still working! How productive is that?
Some command line jobs will take a while to complete. For example, the command
ls -R / > filelist.txt 2>…
Get the file Download here
Related Books:Related Searches: formation of the solar system, pipe command, command ls, huge computer, grep
Comments
Leave a Reply