Results for "Command Line"

Wire posts

  • Split the text file with line number in Linux: wc -l abc.txt and then: split -l 60000 abc.txt #Split #Break #Line #Ubuntu #Linux #Tricks

    2794 days ago

  • #Remove all line that start with # file: $ sed '/^#/ d' filename #line #sed #linux

    2623 days ago

  • Remove four beginning characters from each line of the file. $ sed 's/^....//' genbank.txt #Remove #Sed #Text

    2519 days ago

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

    2515 days ago

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

    2486 days ago

  • Linux command to find the file contains a string "LOCK_EX": grep -Ril "LOCK_EX" / #Root #Find #Linux #Grep #search

    2363 days ago

  • Print the lqst line of the file zith Perl. $ perl -ne 'END {print $last} $last= $_ if /\S/' blocks_coords.gff #Last #Line #Perl

    1768 days ago

  • #Convert #fasta file to uppercase/lowercase, without altering the annotation line $ awk '{ if ($0 !~ />/) {print toupper($0)} else {print $0} }' name.fasta

    2248 days ago

  • https://web.expasy.org/cellosaurus/- a knowledge resource on cell lines #Cell #line #DB

    2241 days ago

  • #Convert a #multi-line #fasta to a #singleline #fasta $ awk '!/^>/ { printf "%s", $0; n = "\n" } /^>/ { print n $0; n = "" } END { printf "%s", n }' sample1.fa > sample1_singleline.fa

    2167 days ago