Results for "Command lines"

Wire posts

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

    3895 days ago

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

    3610 days ago

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

    3192 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

    3158 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

    2714 days ago

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

    2614 days ago

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

    2564 days ago

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

    2525 days ago

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

    2494 days ago

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

    2465 days ago