Article 5KTFG How to create script having specific commands

How to create script having specific commands

by
ayman123
from LinuxQuestions.org on (#5KTFG)
server:na> cd /opt/na/bin ///This Path
server:bin>
server:bin>
server:bin>
server:bin> file-export-parameter //run script
Which code do you want to export? ///We have these option to select
ID Started Stopped
214: 2021-06-27 2021-07-04
213: 2021-06-20 2021-06-27
212: 2021-06-13 2021-06-20

Make your selection from the ID's:213 ///select option 2
Do you want to export: //we have to select other options
1: fileA
2: fileB
3: fileC
Make your selection: 0..3, 0 to exit:2 //select option 2
[file-export-parameter] Exporting fileB; this can take a while ...
[file-export-parameter] Successfully exported fileB to /var/tmp/file-export-fileB.csv
server:bin> cd /var/tmp/ //go to path whic file downloaded
server:tmp> more file-export-fileB.csv | grep actual > file-export-fileB1.csv //create new file with specific filterlatest?d=yIl2AUoC8zA latest?i=ZkUrmxTh-bc:o3qRiUesBJQ:F7zBnMy latest?i=ZkUrmxTh-bc:o3qRiUesBJQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=ZkUrmxTh-bc:o3qRiUesBJQ:gIN9vFwZkUrmxTh-bc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments