LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2017, 01:21 PM   #1
rao1995
LQ Newbie
 
Registered: Nov 2015
Posts: 3

Rep: Reputation: Disabled
create table using linux cli and to pdf


I have a table which looks like the one in the attachment

This is done in excel but i will be automating it in a linux EC2 AWS server instance
I can get the ‘Today NAV’ value from an API call in the linux AWS ec2 server & update all other values using formulas.
How do i create this kind of table and output to a pdf file using CLI and bash scripting only?
PS : Its a pdf because i ll be using it to send an email daily to my gmail id so i can view the statement on my cell phone.
Thank You for the help.
Attached Thumbnails
Click image for larger version

Name:	net.PNG
Views:	19
Size:	165.6 KB
ID:	24775  
 
Old 04-14-2017, 03:06 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,789
Blog Entries: 13

Rep: Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831
Quote:
Originally Posted by rao1995 View Post
How do i create this kind of table and output to a pdf file using CLI and bash scripting only?
You haven't tried to create a PDF file from the CLI? Regarding BASH scripting, how well do you know it?

As you know, it is helpful to other members to understand what expertise you have with these actions so they can best offer you suggestions.

There are a variety of commands or tools to convert text or standard output to a PDF file, text2pdf, and convert are two options.

My most common statement about BASH scripting is that whatever you can write in the command line, you can put into a BASH script, where the command line is the equivalent of live scripting.

Please take the time to look up and choose a PDF generation tool or command, verify you have it, or can install it on your system. If you find one and have trouble installing it on your system, then post the specification of your distribution and we'll help first with that.

Next, people can help with BASH scripting, and as I said earlier, it would be helpful to know if you already know how to write and use a script, of any language, BASH or other.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kali Linux: Using CLI to capture network connections and create a file Kenux Linux - Newbie 4 09-26-2015 06:49 PM
Create Network Share via Samba on Linux machine via CLI Bindu19 Linux - Newbie 5 01-15-2014 02:34 PM
cups-pdf in OpenSuse 11.2 doesn't create pdf zorro_kwh Linux - Newbie 2 03-09-2011 10:53 AM
pdf table to html table? frieza Linux - Software 4 02-14-2009 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration