ls can list recursively
But if you need csv format for Excel then example:
Then ---------- Post updated at 07:58 PM ---------- Previous update was at 07:06 PM ----------
Or you can make XML format which is also usable into Excel.
How can I find out what software is installed on the machine, other than ls? Is there a registry program like in Windows? The os is Sun 2.5.
Thanks (1 Reply)
how to obtain/ collect a list of all the applications installed in the system.. is there a configuration file(like the one which exists for hardware ) which holds all this information?? if no is there any command/shell script or utility that we can use for the same ??
I am using Red hat linux... (2 Replies)
Is there such a script out there that will Analyze a folder and subfolders, getting file type utilization and file aging. A CSV file will be created with file information File,Size,Date Created,Last Modified,Last Accessed,Extension,File Type,Owner
A Summary report text file will also be created... (4 Replies)
Hi guys, im currently doing a library database program, and i need help for the following commands
my library.txt is
Google:Harry:45.00:50:100
This is my code
echo "Please enter Title"
read BookTitle
echo "Please enter Author"
read Author
echo "Price"
read Price
... (2 Replies)
Hi ,
We are migrating our scripts from one unix server to another unix server in aix. Is there any way we can export the permissions, owner, group of the folders and files inside the folders.
If I am copying xyz folder from old server, I need to generate a report with permissions ,owner and... (5 Replies)
i need to extract following information through command line on solaris machine :
1.manufacturer name (hardware as well as OS)
2.Model number
3.Serial number - Serial Number of the device or the Physical device serial number for Virtual Servers
4.whether the server is physical or virtual -... (3 Replies)
Hi,
do you know any good server inventory open source products?
I want information like, server hostnames, ram, cpu, os, filesystems, volume groups, disks, adapters, installed software versions, firmware levels and so on
os: aix, solaris, linux, hpux
data should be kept in a database, web... (7 Replies)
Hello guys,
I need an open source tool that can list all the softwares installed in my unix/linux servers, the tool should list all the softwares installed and the current version, grouped by the hostname, anybody know any solution for this specific problem?
Thanks guys, have a good day! (7 Replies)
Discussion started by: denisloide
7 Replies
LEARN ABOUT DEBIAN
plack::session::store::file
Plack::Session::Store::File(3pm) User Contributed Perl Documentation Plack::Session::Store::File(3pm)NAME
Plack::Session::Store::File - Basic file-based session store
SYNOPSIS
use Plack::Builder;
use Plack::Middleware::Session;
use Plack::Session::Store::File;
my $app = sub {
return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
};
builder {
enable 'Session',
store => Plack::Session::Store::File->new(
dir => '/path/to/sessions'
);
$app;
};
# with custom serializer/deserializer
builder {
enable 'Session',
store => Plack::Session::Store::File->new(
dir => '/path/to/sessions',
# YAML takes it's args the opposite order
serializer => sub { YAML::DumpFile( reverse @_ ) },
deserializer => sub { YAML::LoadFile( @_ ) },
);
$app;
};
DESCRIPTION
This implements a basic file based storage for session data. By default it will use Storable to serialize and deserialize the data, but
this can be configured easily.
This is a subclass of Plack::Session::Store and implements its full interface.
METHODS
new ( %params )
The %params can include dir, serializer and deserializer options. It will check to be sure that the dir is writable for you.
dir This is the directory to store the session data files in, if nothing is provided then "/tmp" is used.
serializer
This is a CODE reference that implements the serialization logic. The CODE ref gets two arguments, the $value, which is a HASH
reference to be serialized, and the $file_path to save it to. It is not expected to return anything.
deserializer
This is a CODE reference that implements the deserialization logic. The CODE ref gets one argument, the $file_path to load the data
from. It is expected to return a HASH reference.
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to
cpan-RT.
AUTHOR
Stevan Little <stevan.little@iinteractive.com>
COPYRIGHT AND LICENSE
Copyright 2009, 2010 Infinity Interactive, Inc.
<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.4 2011-07-27 Plack::Session::Store::File(3pm)