Search results

  1. R

    How to delete lines upto a particular line

    Hello Linux users, I want help with command line for the following purpose, From a file, I want to delete line 1 to line x, where line x contains a specific phrase; Phrase:[ hbonds_Protein ] Filename: hbond.txt In the attached file, this phrase is on line 37, in this case I want to delete...
  2. R

    Apply same command in multiple directories?

    Is there a way to apply the same command on multiple directories (say 20+) on linux? Any insight would be appreciated!
  3. R

    Command for repeating jobs on Linux

    Hello Linux users, I have a job that is to be repeated thrice in the following way. Here em and md refers to energy minimization and data collection stages in the molecular dynamics simulations. Trial 1: (em0 -> md1 -> em1) Trial 2: (em0 -> md2 -> em2) Trial 3: (em0 -> md3 -> em3) Here the...
  4. R

    cat command to print multiple lines from a text file

    How to use cat command to print say lines 25, 45, 65 ....... from this attached text file?
Top