10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have written the following code
do
FILE_NO=$(echo $LINE|awk -F"|" '{print $1}'|tr "'" '+'|sed 's/\(.*\)\(++\)\(.*\)\(++\)/\3/')
INST_NO=$(echo $LINE|awk -F"|" '{print $2}'|tr "'" '+'|sed 's/\(.*\)\(++\)\(.*\)\(++\)/\3/')
if ]
then
... (3 Replies)
Discussion started by: yogendra.barode
3 Replies
2. Red Hat
Hello,
I am in the process of learning Linux OS.
How do I run the below lines of code automatically as root on server startup.
cd /opt/program_folder/ServiceManager/bin
nohup ./servce_manager DEV &
Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies
3. Debian
Hello,
Anyone already tried to install Debian Sparc in a Sun V880 ?! I'm trying to and after I boot it with the CDROM the system starts to boot up and I don't see any errors message but it freezes after it detects the USB ports (There is nothing attached to it and I don't use it).
Here is a... (8 Replies)
Discussion started by: pxb368@motorola
8 Replies
4. Shell Programming and Scripting
Hi All
I have text file like this:
a=21ej
c=3tiu32
e=hydkehw
f=hgdiuw
g=jhdkj
a=klkjhvl
b=dlkjhyfd
a=yo
c=8732
Any way I can process data from first a to just before of second a, and then second a to just before of 3rd one.
Just fetching records like that will help, I mean... (3 Replies)
Discussion started by: sandipjee
3 Replies
5. Solaris
I am using Solaris Sparc 10,and facing some issues.
HD:80gb ; Root = 11gb(currently using) , I have made a parttition in the c0t0d0s2 slice(which is of 60gb & the partition tag is 'usr'),and I have done newfs on -> /dev/dsk/c0t0d0s2 which is mounted on /export (having ufs filesystem).
Now... (6 Replies)
Discussion started by: big_zer0
6 Replies
6. Shell Programming and Scripting
If we have 3 process to write to same log file at the same time like below. will it cause the data outdated because the multiple process writing same time? It this a safe way to keep the log for multiple process?
p1 >> test.log &;
p2 >> test.log &;
p3 >> test.log &
Thanks, (5 Replies)
Discussion started by: casttree
5 Replies
7. Solaris
Hi Guys
Im totally confused with some stuff.ive started doin a course in veritas volume manager 5.0..i downloaded n installed veritas volume manager 5.0 in my sun blade 150 server..its a test server..im not gettin my gui that is VEA..When i enter commands like vxdisksetup its displayed... (1 Reply)
Discussion started by: madanmeer
1 Replies
8. UNIX Desktop Questions & Answers
Hi Everybody..
I am using Moblin V2 which has nautilus file manager the one which is also used in Ubuntu.
I want to lock the access to file system such that i can only browse my home folder not other locations like /, /usr, /bin and all.
Or i want to create a partition of 10 or 15 GB so... (1 Reply)
Discussion started by: lokeshsingla
1 Replies
9. Shell Programming and Scripting
I am trying to make a script to convert drg files to wav and so far i have this
#!/bin/bash
drg2sbg "$*" -o "$*".sbg
sbagen -Wo "/home/nick/Desktop/I-Doser Wave Files/"$*"" "$*".sbg
rm "$*".sbg
cd "/home/nick/Desktop/I-Doser Wave Files"
rename 's/\.drg$/\.wav/' *.drg
exit
the drg2sbg and... (2 Replies)
Discussion started by: Nickbowlingdude
2 Replies
10. UNIX for Dummies Questions & Answers
I've downloaded the iso images and attempted an boot cdrom in order to install directly from cdrom, but I keep getting error message:
Fast Data Access MMU Miss
After checking simillar issue on the net I've update open boot firmware to the latest 4.10.6 but still no success.
Anyone could help... (4 Replies)
Discussion started by: bubbs
4 Replies
UI::Dialog::Backend::Nautilus(3pm) User Contributed Perl Documentation UI::Dialog::Backend::Nautilus(3pm)
NAME
UI::Dialog::Backend::Nautilus
SYNOPSIS
use UI::Dialog::Backend::Nautilus;
my $nautilus = new UI::Dialog::Backend::Nautilus ();
my @paths = $nautilus->paths();
ABSTRACT
UI::Dialog::Backend::Nautilus is simply an OOPerl wrapper around the data provided by the nautilus(1) file manager's scripts feature.
DESCRIPTION
nautilus(1) is a GNOME file manager that has a "right-click" menu for user made scripts (found in the user's ~/.gnome2/nautilus-scripts/
directory). This is an OOPerl interface to the environment variables provided to the scripts during runtime by nautilus. When you use any
of the UI::Dialog meta classes (UI::Dialog, UI::Dialog::GNOME, etc.) access to this backend is provided via the $d->nautilus method. ie:
replace $nautilus with $d->nautilus in the synopsis example (provided you made $d with something like my $d = new UI::Dialog...). Also,
UI::Dialog and friends only load this module when you first use the $d->nautilus method (this may silently fail, but you can test by ref()
for success).
EXPORT
None
INHERITS
None
CONSTRUCTOR
new( @options )
EXAMPLE
my $nautilus = new UI::Dialog::Backend::Nautilus ();
DESCRIPTION
This is the Class Constructor method. It accepts a list of key => value pairs and uses them as the defaults when interacting with
the various widgets.
RETURNS
A blessed object reference of the UI::Dialog::Backend::Nautilus class.
METHODS
path( )
EXAMPLE
my $path = $nautilus->path();
DESCRIPTION
This method examines the NAUTILUS_SCRIPT_CURRENT_URI string uri unescapes and strips it of any prefixing protocol indicators
(file://) then returns the modified string.
RETURNS
a SCALAR.
paths( )
EXAMPLE
my @paths = $nautilus->paths();
DESCRIPTION
This method splits the NAUTILUS_SCRIPT_SELECTED_FILE_PATHS multiline string and returns the ARRAY of selections in the order pro-
vided by nautilus.
RETURNS
an ARRAY.
uri( )
EXAMPLE
my $uri = $nautilus->uri();
DESCRIPTION
This simply returns the NAUTILUS_SCRIPT_CURRENT_URI string.
RETURNS
a SCALAR.
uris( )
EXAMPLE
my @uris = $nautilus->uris();
DESCRIPTION
This method splits the NAUTILUS_SCRIPT_SELECTED_URIS multiline string and returns the ARRAY of selections in the order provided
by nautilus. This does not uri escape or unescape the string.
RETURNS
an ARRAY.
geometry( )
EXAMPLE
my ($h,$w,$x,$y) = $nautilus->geometry();
DESCRIPTION
This method splits the NAUTILUS_SCRIPT_WINDOW_GEOMETRY string and returns and ARRAY of the geometry details provided by nautilus.
The array returned contains the following (in order):
height
width
X-coordinate
Y-coordinate
RETURNS
an ARRAY.
uri_unescape( )
EXAMPLE
my $path = $nautilus->uri_unescape( "file:///path/to/somewhere" );
my @paths = $nautilus->uri_unescape( "file:///path/to/somewhere",
"file:///yet/another/path" );
DESCRIPTION
This is the method used to unescape the NAUTILUS_SCRIPT_CURRENT_URI in the path() method. This method is derived from the
URI::Escape module which is not included in the Perl core modules yet is vitally necessary for the path() method to function in a
usefull manor.
RETURNS
an ARRAY or a SCALAR depending on the calling arguments.
SEE ALSO
PERLDOC
UI::Dialog
UI::Dialog::Backend
MAN FILES
nautilus(1)
BUGS
Please email the author with any bug reports. Include the name of the
module in the subject line.
AUTHOR
Kevin C. Krinke, E<lt>kckrinke@opendoorsoftware.comE<gt>
COPYRIGHT AND LICENSE
Copyright (C) 2003 Kevin C. Krinke <kckrinke@opendoorsoftware.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
perl v5.8.8 2004-08-01 UI::Dialog::Backend::Nautilus(3pm)