Skip to content
  • View menu
  • View sidebar

bioinfo core

Index & solution of bioInfo utilities

  • Home
  • All entries
  • Blogs
  • Contact
  • About

Categories

  • Between languages (7)
  • Blogs (8)
  • Python (35)
  • R (1)
  • Unix (37)

Tags

bedfile Blogs conda Excel html numpy Pandas Python R slurm Unix
04/02/202010/21/2021 by bioinfocore

Unix read command output into a variable

  • Unix
  • Unix

Add $() to your command, as the example below

var=$(head -n 1 inputFile)

Post navigation

← Previous Post Pandas if any NA in the DataFrame
Next Post → Unix count how many columns in a csv or txt table
Copyright 2024 | by bioinfocore