Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Separating output after final character Post 302989866 by RavinderSingh13 on Thursday 19th of January 2017 06:33:54 AM
Old 01-19-2017
Hello $shell_Learner,

cero's solution is correct you could use " to have the special meaning of new line saved while echoing that variable, you could directly try following and without saving the values of ls command as follows too.
Code:
ls /Applications | mail -s "Application Check" your_email_id
OR
ls -l /Applications | mail -s "Application Check" your_email_id

Thanks,
R. Singh

Last edited by RavinderSingh13; 01-19-2017 at 08:00 AM.. Reason: Adding ls -l solution too successfully now.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Final Output

Hi There, I am having two output files having the following information: Output1: Name1 0 Name2 222 Name3 598 Name4 9800 Output2: Name1 10 Name2 333 Name3 567 Name4 39003 as you can see the two output files have the same Name colom but different records for each name. Now, how... (4 Replies)
Discussion started by: charbel
4 Replies

2. Shell Programming and Scripting

Modifying the final output file

Hey all, I am haivng n number of files all of them are of the same format but different details. i.e File1 is having the folloeing details: "Account1",123 "Account2",10 "Account3",12355 "Accountn",555 File2 is having the folloeing details: "Account1",1234 "Account2",100... (5 Replies)
Discussion started by: charbel
5 Replies

3. Shell Programming and Scripting

A final question! Compare character with each array element

qwrtyuiop666yhh (1 Reply)
Discussion started by: rorey_breaker
1 Replies

4. Shell Programming and Scripting

Adding and then separating the output

Hi I have this output /vol/vol0 4GB /vol/nonprod00 682GB /vol/prod00 3GB /vol/nasp_archive 201GB /vol/nasp_iface 92GB /vol/nasp_bsi 0GB /vol/nasp_vertex 0GB /vol/nasp_sapmnt_mp2 1GB /vol/nasp_sapmnt_prd 52GB /vol/nasp_sapmnt_srp 1GB /vol/nasp_smd 1GB /vol/nasp_ccms 0GB... (8 Replies)
Discussion started by: bombcan
8 Replies

5. UNIX for Dummies Questions & Answers

LINUX - How to remove the final delimiter from a command output

Hi All, I am trying to list the various dates for which the file is available in a directory using the command below, (& subsequently pass the command output to a loop) Command : ls dir|grep 'filename'|cut -d '_' -f1|cut -c1-8|tr '\n' ',' However, it is giving me an extra comma... (6 Replies)
Discussion started by: dsfreddie
6 Replies

6. Shell Programming and Scripting

Addition to Bash shell script that emails final output as attachement?

Greetings. I have a nice bash shell script that runs a multi-step analysis well. I already have the SGE options set up to email me the progress of the run (started, completed, aborted), but a final step would be to code the shell script to email the final output (a .txt file) to the same email... (6 Replies)
Discussion started by: Twinklefingers
6 Replies
CGI::Application::Plugin::DBIProfile::Graph::SVGTT(3pm) User Contributed Perl DocumentationCGI::Application::Plugin::DBIProfile::Graph::SVGTT(3pm)

NAME
CGI::Application::Plugin::DBIProfile::Graph::SVGTT - SVT::TT::Graph::Bar Graph output for CAP:DBIProfile. SYNOPSIS
# in httpd.conf SetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::SVGTT PerlSetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::SVGTT # in your CGI::Application subclass (needed to install callback) use CGI::Application; use CGI::Application::Plugin::DBIProfile::Graph::SVGTT; DESCRIPTION
This module provides a SVG::TT::Graph::Bars graphing option for CAP:DBIProfile. This also provides an example of non-inline graphs for DBIProfile. The following settings control the output: $CGI::Application::Plugin::DBIProfile::Graph::SVGTT::WIDTH Width of output image. $CGI::Application::Plugin::DBIProfile::Graph::SVGTT::HEIGHT Height of output image. REQUIREMENTS
SVG::TT::Graph SEE ALSO
SVG::TT::Graph::Bar CGI::Application::Plugin::DBIProfile CGI::Application::Plugin::DBIProfile::Graph::HTML AUTHOR
Joshua I Miller, L<unrtst@cpan.org> COPYRIGHT &; LICENSE Copyright 2007 Joshua Miller, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-11-10 CGI::Application::Plugin::DBIProfile::Graph::SVGTT(3pm)
All times are GMT -4. The time now is 01:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy