Hdi2u S24

From wiki
Revision as of 23:38, 19 April 2017 by Rf (talk | contribs) (Created page with "= Processes = * Sometimes a command or program you run in the terminal goes on too long, or is obviously doing something you did not plan. * If there is no obvious way (such...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Processes

  • Sometimes a command or program you run in the terminal goes on too long, or is obviously doing something

you did not plan.

  • If there is no obvious way (such as a menu option or button) to stop the program running, try using Ctrl-c
  • A command can include the output of another command by generating a process via the `` or $() operators.

Questions

  • Try these three commands:
ls
echo `ls`
echo $(ls)
  • The results are the same but the method is different. Does it matter?