Results for "Command lines"

Wire posts

  • Number all lines in a file; perl -pe '$_ = "$. $_"': #Tipsoftheday #Perl

    3892 days ago

  • Count the total number of lines in a file. my $total=@{[<INFILE>]}; #Perl #Count #Number #Total #File

    3607 days ago

  • Bioinformatics on the commandline http://www.vicbioinformatics.com/documents/command-line/#/ #R Bioinformatics #CommandLine #Commands #PPT

    3189 days ago

  • Want to Moves Your Home Directory to a Black Hole then only use this command mv ~ /dev/null #Command #Linux #Script #Move #Blackhole

    3155 days ago

  • Extract ten lines below matched string with grep: grep -A 10 "string" filename1 ; -B for above and -C for both #grep #Linux #Tricks #Lines #Matches

    2711 days ago

  • Remove all blank lines from file. perl -i.bak -n -e "print if /\S/" ../finalSample.fa #Perl #Tricks #PerlOneliner

    2612 days ago

  • To add something to end of all header lines: $ sed 's/>.*/&WHATEVERYOUWANT/' file.fa > outfile.fa #Add #Fasta

    2561 days ago

  • Filter #blank #lines from a #fasta file using sed. $ sed '/^$/d' finalSample.fa > finalSample_filtered.fa #Linux #Filter #FASTA #SED

    2522 days ago

  • You can use the df command to know the free space in the disk: $ df -h . #df #Linux #List #Free #Space

    2491 days ago

  • Print each command before executing? Bash script to print each command before executing. $ bash -x myscript.sh #Print #Command #Bash

    2462 days ago