Results for "Linux"

Tags

  • 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

    Tags: grep, Linux, Tricks, Lines, Matches

    2709 days ago

  • MACHTYPE variable to know what type of machine you are compiling the software on. echo $MACHTYPE #Linux #MACHTYPE

    Tags: Linux, MACHTYPE

    2678 days ago

  • Delete size zero files from a folder: find . -size 0 -delete #Linux #Trick

    Tags: Linux, Trick

    2652 days ago

  • Fasta sequence length: awk '/^>/ {if (seqlen){print seqlen}; print ;seqlen=0;next; } { seqlen += length($0)}END{print seqlen}' file.fa #Length #Linux #OneLiner

    Tags: Length, Linux, OneLiner

    2647 days ago

  • Convert ps2pdf full size without cropping it : $ ps2pdf -dEPSCrop file.ps #Linux #Crop #PS #ps2pdf

    Tags: Linux, Crop, PS, ps2pdf

    2637 days ago

  • #Upgrade the current version of #Linux. $ sudo apt-get update && sudo apt-get upgrade

    Tags: Upgrade, Linux

    2623 days ago

  • Find the DIRs in Linux: $ find / -name "DIR_NAME" #Linux #Find #DIR

    Tags: Linux, Find, DIR

    2619 days ago

  • sudo apt-get install libgd-svg-perl to install GD::SVG #Perl #Linux #Install #Graph #Plot

    Tags: Perl, Linux, Install, Graph, Plot

    2605 days ago

  • To generate ssh folder in linux $ ssh-keygen #Linux #ssh #Key #Connect

    Tags: Linux, ssh, Key, Connect

    2605 days ago

  • Add color to vim. Open vi .vimrc and at the end of the file add "syntax on" #Vim #Syntax #Highlight #Vi #Linux

    Tags: Vim, Syntax, Highlight, Vi, Linux

    2604 days ago