Difference between revisions of "Class Notes"

From LMU BioDB 2013
Jump to: navigation, search
(History: removed changes permission)
(History: added more commands)
Line 9: Line 9:
  
 
*Hitting tab twice will auto show all options to select from
 
*Hitting tab twice will auto show all options to select from
 +
 +
==Other Commands==
 +
*grep "ACTG" will look for typed letters ACTG in a string of text
 +
**if typed letters are present in a file, letters will appear red
 +
***grep "letters" file_name will search for letters in a file and open it
 +
** "." is a wildcard
 +
"^" is the caret line, which only searches at the beginning of the line
 +
**"$" searches only at the end of the line
 +
 +
*"wc" shows word count
 +
**Hit Ctrl D to finish typing text after wc command
 +
***first number tells # of lines
 +
***second number tells # of words
 +
***third number tells # of characters
 +
**combine commands with this notation: command | command
 +
****you can string multiple commands together in one string

Revision as of 16:41, 12 September 2013

History

  • Type history to view past commands
    • !#### will copy and execute commands
  • Ctrl+R does most recent command
  • chmod changes permission
    • e.g. "chmod 644 genetic-code.sed"
  • Hitting tab twice will auto show all options to select from

Other Commands

  • grep "ACTG" will look for typed letters ACTG in a string of text
    • if typed letters are present in a file, letters will appear red
      • grep "letters" file_name will search for letters in a file and open it
    • "." is a wildcard

"^" is the caret line, which only searches at the beginning of the line

    • "$" searches only at the end of the line
  • "wc" shows word count
    • Hit Ctrl D to finish typing text after wc command
      • first number tells # of lines
      • second number tells # of words
      • third number tells # of characters
    • combine commands with this notation: command | command
        • you can string multiple commands together in one string
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox