Bash scripting 15 – Using data files 1
So, carrying on from the previous article. I am going to be using gnuplot and awk, and see what I can do with the data generated by my script.
So the first task, if of course to install gnu plot
sudo apt install gnuplot
It is also a good idea at this stage to determine version numbers of the tools we are using
gnuplot -V
gnuplot 6.0 patchlevel 0
and
awk -V
GNU Awk 5.2.1, API 3.2, PMA Avon 8-g1, (GNU MPFR 4.2.1, GNU MP 6.3.0)
Copyright (C) 1989, 1991-2022 Free Software Foundation.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
Tags
#Bash,#Bashscripting,#Files,#UsingDataFiles,#Data
Mastodon | ShellLabs | Join Mastodon |