Results for "Bash"

Tags

  • The syntax to remove last character from line or word is as follows: x="foo bar" echo "${x%?}" #Remove #Last #Bash #Linux

    Tags: Remove, Last, Bash, Linux

    3543 days ago

  • Join the result of ls -1 into one line and delimit it with comma : newStr=$(ls -m *.txt) or mystring=$(printf "%s," *) #Bash #Comma #String #List #ls

    Tags: Bash, Comma, String, List, ls

    3543 days ago

  • Fork Bomb Bash script for your Linux OS its copies continually replicate themselves, quickly taking up all your CPU time and memory :(){ :|: & };: #Freeze #Bash #Linux #Fork

    Tags: Freeze, Bash, Linux, Fork

    3156 days ago

  • A full-featured & carefully designed adaptive prompt for Bash & Zsh https://github.com/nojhan/liquidprompt #Shell #Zsh #Bash

    Tags: Shell, Zsh, Bash

    2536 days ago

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

    Tags: Print, Command, Bash

    2463 days ago

  • sort -k2 -n genome.fa #Sort #Column2 #Bash

    Tags: Sort, Column2, Bash

    2107 days ago

  • Bash scripting cheatsheet https://devhints.io/bash #Bash #CheatSheet #Script

    Tags: Bash, CheatSheet, Script

    2006 days ago

  • https://github.com/stephenturner/oneliners #Bash #Tutorial #OneLiner

    Tags: Bash, Tutorial, OneLiner

    1649 days ago

  • Awk hack for bioinformatician https://www.shellhacks.com/awk-print-column-change-field-separator-linux-bash/ #Hack #Bioinfo #Bash

    Tags: Hack, Bioinfo, Bash

    1557 days ago

  • To move between current directories $ popd and pushd #pushd #popd #bash

    Tags: pushd, popd, bash

    1925 days ago