07-25-2018
Didn't know the command pax.
I had to install the package pax.
It does exactly what I want.
Thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the below code to recurse through a given file path. I am able to go to the leaf level once recursively but traversing out is not possible as the required varaibles don't have the values on return. Both typeset and local don't work for my variable definitions. I have the o/p of the sample... (2 Replies)
Discussion started by: avrkiran
2 Replies
2. SuSE
I faced a problem when I tried to copy files from one directory to another using certain user although this user has r/w/x permission on source and destination directory ?? the OS is Linux-Suse 9
any help?? (2 Replies)
Discussion started by: mm00123
2 Replies
3. Shell Programming and Scripting
Hi,
I have a folder that has about 100 directories. They all have different names. I need to do a find and copy of only directories (and their files) that start with ABC.
There are directory names as ABCDE,ABCDG,ABCHT and so on.
I tried using the AB* but that doesn't work. Can someone... (4 Replies)
Discussion started by: bbbngowc
4 Replies
4. Shell Programming and Scripting
Hi,
I have to copy last modified Directory to another directory.How can i Do using pipe or redirect
cp -R 'ls -lrt|tail -1' test is not working.
please help. (3 Replies)
Discussion started by: shaveta
3 Replies
5. UNIX for Dummies Questions & Answers
Dear All,
Again I have another simple question. :confused:
I want to write a csh which can copy all files of a current directory with a new name in the same directory, I mean:
If I have tree bird apple as files in a directory I want to give ,say number 007 as argument to my csh and it copies... (3 Replies)
Discussion started by: dreamer0085
3 Replies
6. UNIX for Dummies Questions & Answers
I use (cp new folder directory), but it just makes a new folder, i want to copy everything in a directory not the actual directory. (10 Replies)
Discussion started by: wiinick
10 Replies
7. Shell Programming and Scripting
Hi experts
cp bin root src /mnt
but not copy bin/bigfile
any help?
( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum)
Thanks (6 Replies)
Discussion started by: yanglei_fage
6 Replies
8. Shell Programming and Scripting
How to copy files from one directory to another directory with the subfolders copied.
If i have folder1/sub1/sub2/* it needs to copy files to folder2/sub1/sub2/*.
I do not want to create sub folders in folder2.
Can copy command create them automatically?
I tried cp -a and cp -R but did... (4 Replies)
Discussion started by: santosh2626
4 Replies
9. Shell Programming and Scripting
Hi guys,
I need a solution to copy files and folders without using cp-r , cp-R or any variants. So i need to code it manually. I allready have a loop
#!bin/bash
IFS=$'\n'
if test "$1" = ""
then
wd=pwd
else
wd=$1
fi
for file in $(find $1)
do
if... (1 Reply)
Discussion started by: Wolverine89
1 Replies
10. Shell Programming and Scripting
Hope the title is close enough; didn't quite know how to put this...
OK.
We have a hypothetical script, script.a, with one simplistic line:bash ./nextDir/script.bNow script.b has a bit more going for it; and does file moves, copies, and renames, calling all the targets with respect to itself.... (7 Replies)
Discussion started by: LinQ
7 Replies
PSPAX(1) Documentation for pax-utils PSPAX(1)
NAME
pspax - list ELF/PaX information about running processes
SYNOPSIS
pspax [options] ELFs
DESCRIPTION
pspax is a user-space utility that scans the proc directory and list ELF types, as well as their respective PaX flags and filenames and
attributes. Depending on build options, it may additionaly display the process running set of capabilities.
OPTIONS
-a, --all
Show all processes
-h, --header
Print GNU_STACK/PT_LOAD markings
-i, --ipaddr
Print ipaddr info if supported
-p, --pid PID
Only process specified process id
-u, --user UID
Process user/uid #
-g, --group GID
Process group/gid #
-n, --nx
Only display w^x processes
-w, --wx
Only display w|x processes
-v, --verbose
Be verbose (can be used more than once)
-B, --nobanner
Don't display the header
-h, --help
Show condensed usage and exit
-V, --version
Print version and exit
HOMEPAGE
http://hardened.gentoo.org/pax-utils.xml
REPORTING BUGS
Please include as much information as possible (using any available debugging options) and send bug reports to the maintainers (see the
AUTHORS section). Please use the Gentoo bugzilla at http://bugs.gentoo.org/ if possible.
SEE ALSO
chpax(1), dumpelf(1), paxctl(1), pspax(1), readelf(1), scanelf(1)
AUTHORS
Ned Ludd <solar@gentoo.org>
Maintainer
Mike Frysinger <vapier@gentoo.org>
Maintainer
Fabian Groffen <grobian@gentoo.org>
Mach-O Maintainer
NOTES
1. http://hardened.gentoo.org/pax-utils.xml
2. http://bugs.gentoo.org/
pax-utils 0.2.3 03/03/2011 PSPAX(1)