07-02-2014
FYI
Package was installed
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
When I do
find . -name "*.txt" -size +0 -exec ls {} \;
I get something like
./lpi_stdout.txt
./lpi_stderr.txt
What would I need to do or pipe it into to strip off those first two characters so I just get
lpi_stdout.txt
lpi_stderr.txt
?
Thanks for the help! (1 Reply)
Discussion started by: LordJezo
1 Replies
2. UNIX for Dummies Questions & Answers
What is the command to find the path of a file if we know the file name and the root directory where the file resides..
For eg. if a file abc.dat resides in /home/mydir/myfiles/. I am looking for a command which will be fired from / directory, takes abc.dat as input and display the path of... (3 Replies)
Discussion started by: abhilashnair
3 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to autogenerate a PATH variable from the output of a find command as follows:
PATH=`find $dir -name "*.jar" | sed 's/$/:/'`
The output looks similar like this if I echo it:
PATH=/path/to/1.jar:
/path/to/2.jar:
/path/to/3.jar:
I want the path to be on one line.
I'm on... (3 Replies)
Discussion started by: rein
3 Replies
4. UNIX for Advanced & Expert Users
HI ,
I am trying to wite a script that will prompt me saying " what is path that you want to find ?". once i specify the path, the script should put this path in the find command mentioned below and execute the script:
find <path> -ctime +200 -type f -exec ls -l {} \;
for example :
... (7 Replies)
Discussion started by: bsandeep_80
7 Replies
5. UNIX for Dummies Questions & Answers
i understand by using the pwd command we get the present working directory.
which command is used to find absolute path from home directory to root..
What is absolute path to your and root user's home directory.:confused::confused::confused: (2 Replies)
Discussion started by: shaziafathima
2 Replies
6. Shell Programming and Scripting
I have the following FTP embedded in a Ksh script on AIX 5.3
ftp -n <<WHATEVER
open 10.101.26.218
user hcistats *******
ascii
put $thupdatefile
put $thcollectfile
quit
WHATEVER
Here is what my script returns:
... (3 Replies)
Discussion started by: troym72
3 Replies
7. Shell Programming and Scripting
When this command is issued from a directory other than where the file is located it works fine:
find /db2/D01/log_archive/ -name "S0002166.LOG" -type f
/db2/D01/log_archive/db2d01/D01/NODE0000/C0000000/S0002166.LOG
When I change -name to -newer, it doesn't work. Find only searches the current... (5 Replies)
Discussion started by: fletchdb2
5 Replies
8. UNIX for Dummies Questions & Answers
I have a script like this running under OS X 10.8. The problem arises when the find command encounters a space in the path name. I need the "dir" variable as I'll be extending the script to more general use.
#!/bin/bash
CFS=$IFS
IFS=$(echo)
set dir = "/Users/apta/Library/Mail\... (3 Replies)
Discussion started by: apta
3 Replies
9. Red Hat
Hi Folks,
I want to run the below command and to exclude the specific path like /var/test/support/... . How to achieve using the below command
find / -type f \( –perm –4000 –o –perm –2000 \) –print
-Siva
Please do not use FONT tags inside CODE tags. And, there is usually no reason to... (2 Replies)
Discussion started by: gsiva
2 Replies
10. UNIX for Advanced & Expert Users
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
LEARN ABOUT OSX
package::stash::pp
Package::Stash::PP(3) User Contributed Perl Documentation Package::Stash::PP(3)
NAME
Package::Stash::PP - pure perl implementation of the Package::Stash API
VERSION
version 0.33
SYNOPSIS
use Package::Stash;
DESCRIPTION
This is a backend for Package::Stash implemented in pure perl, for those without a compiler or who would like to use this inline in
scripts.
BUGS
o remove_symbol also replaces the associated typeglob
This can cause unexpected behavior when doing manipulation at compile time - removing subroutines will still allow them to be called
from within the package as subroutines (although they will not be available as methods). This can be considered a feature in some cases
(this is how namespace::clean works, for instance), but should not be relied upon - use "remove_glob" directly if you want this
behavior.
o Some minor memory leaks
The pure perl implementation has a couple minor memory leaks (see the TODO tests in t/20-leaks.t) that I'm having a hard time tracking
down - these may be core perl bugs, it's hard to tell.
Please report any bugs through RT: email "bug-package-stash at rt.cpan.org", or browse to
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Package-Stash <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Package-Stash>.
SUPPORT
You can find this documentation for this module with the perldoc command.
perldoc Package::Stash
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Package-Stash <http://annocpan.org/dist/Package-Stash>
o CPAN Ratings
http://cpanratings.perl.org/d/Package-Stash <http://cpanratings.perl.org/d/Package-Stash>
o RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Package-Stash <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Package-Stash>
o Search CPAN
http://search.cpan.org/dist/Package-Stash <http://search.cpan.org/dist/Package-Stash>
AUTHOR
Jesse Luehrs <doy at tozt dot net>
Mostly copied from code from Class::MOP::Package, by Stevan Little and the Moose Cabal.
SEE ALSO
o Class::MOP::Package
This module is a factoring out of code that used to live here
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.2 2011-09-28 Package::Stash::PP(3)