I need to copy the files from one dir to another dir based on sysdate, like
cp -> (sysdate-n) filename -> to -> new dir
n = 1,2,3.............. (3 Replies)
Dear Brothers
First i installed suse linux with the following partition. my hd0 size is 75gb
hdc1 swap 1 gb
hdc2 native linux 39gb
For the rest of the 35 gb i did not create any partition. so i planned to install solaris 10x86 on that free space.
When i installed the solaris i... (1 Reply)
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
I am trying to print 1st, 2nd, 13th and 14th fields of a file of line numbers from 29 to 10029. I dont know how to put this in one code. Currently I am removing the selected lines by
awk 'NR==29,NR==10029' File1 > File2
and then doing
awk '{print $1, $2, $13, $14}' File2 > File3
Can... (3 Replies)
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Hello Everyone,
First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you !
I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
HI,
I am using below command to display the words, but i am getting awk error. Please help me out on this
I am using below code
i am getting error as
If i use below code i am getting below OP
Output from where i am trying to select the fields after delimiter ","
from here i want to... (5 Replies)
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
LEARN ABOUT OSX
posix_spawnattr_getsigmask
POSIX_SPAWNATTR_SETSIGMASK(3) BSD Library Functions Manual POSIX_SPAWNATTR_SETSIGMASK(3)NAME
posix_spawnattr_setsigmask posix_spawnattr_getsigmask -- set or get the spawn-sigmask attribute on a posix_spawnattr_t
SYNOPSIS
#include <spawn.h>
int
posix_spawnattr_setsigmask(posix_spawnattr_t *restrict attr, const sigset_t *restrict sigmask);
int
posix_spawnattr_getsigmask(const posix_spawnattr_t *restrict attr, sigset_t *restrict sigmask);
DESCRIPTION
The posix_spawnattr_setsigmask() function sets the sigmask on the attributes object referenced by attr.
The posix_spawnattr_getsigmask() function retrieves the sigmask on the attributes object referenced by attr.
The argument sigmask is the initial signal mask to be set for the new process on creation if the POSIX_SPAWN_SETSIGMASK flag is set in the
posix_spawnattr_t. It's default value must be set via a call to posix_spawnattr_setflags(3) or the behaviour is undefined.
RETURN VALUES
On success, these functions return 0; on failure they return an error number from <errno.h>. Additionally, if successful,
posix_spawnattr_getsigmask() will modify the contents of the sigmask parameter with the current attribute value.
ERRORS
These functions may fail if:
[EINVAL] The value specified by attr is invalid.
[EINVAL] The value of attr is invalid.
SEE ALSO posix_spawn(2), posix_spawnp(2), posix_spawnattr_init(3), posix_spawnattr_destroy(3), posix_spawnattr_setflags(3)STANDARDS
Version 3 of the Single UNIX Specification (``SUSv3'') [SPN]
HISTORY
The posix_spawnattr_setsigmask() and posix_spawnattr_getsigmask() function calls appeared in Version 3 of the Single UNIX Specification
(``SUSv3'') [SPN].
Mac OS X August 22, 2007 Mac OS X