Difference between revisions of "Advanced Command Line"

From FreekiWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
* copying creating and moving directories
 
* copying creating and moving directories
 
* I/O redirection
 
* I/O redirection
 +
** ls /media /foo 1> out.txt 2> err.txt
 
** '>'
 
** '>'
 
** '>>'
 
** '>>'

Revision as of 12:52, 16 June 2007

  • Deconstruct a command
    • ls -la --sort=size -r /lib/modules/2.6.18-3-686/mod*
    • multiple option types
  • bash
    • programming language
    • environment variables
    • PATH and tab completion
    • /etc/init.d/networking
  • process model
    • ps (only user's processes)
    • ps -axf (all processes)
    • xeyes
    • suspend
    • bg and fg
    • kill
    • jobs
  • Examining files
    • file
    • cat
  • copying, creating and moving files
    • touch
    • cp
    • mv
  • copying creating and moving directories
  • I/O redirection
    • ls /media /foo 1> out.txt 2> err.txt
    • '>'
    • '>>'
    • tee
  • Advanced Topics
    • grave accent