06-21-2013
Just to add that I don't see how
ls -tr could be useful in this context
Last edited by radoulov; 06-21-2013 at 12:39 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, to do a su - user, we need to know what are the users...
so in unix
1) which file to see the list of users, passwords? (2 Replies)
Discussion started by: yls177
2 Replies
2. UNIX for Dummies Questions & Answers
Hey, got a few questions here for anyone who can help......
Command line to - display users using the system, but count them only once.
Command line to - use the lastcomm command to display how many times ive used grep in october.
Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
i just wanted to know how do i find out the list of users whose terminal is writable?i mean i used
who -T
but this gives a list of all users whose terminal is writable or blocked and not writable. So how do i do this?I am new to Unix. (2 Replies)
Discussion started by: salman4u
2 Replies
4. Shell Programming and Scripting
Dear All,
Please help in this subject..
my requirement is list the files in directory and out of that list make the different set and each should set contains 10 files and assign to variable and start zipping in background. pick the second set files and same to be repeat the commands parallel.
i... (3 Replies)
Discussion started by: nmadhuhb
3 Replies
5. Shell Programming and Scripting
I will be very grateful if someone can help me with bash shell script that does the following:
I have a list of filenames:
A01_155716
A05_155780
A07_155812
A09_155844
A11_155876
that are kept in different sub directories within my current directory. I want to find these files and copy... (3 Replies)
Discussion started by: manishabh
3 Replies
6. Shell Programming and Scripting
All,
I am trying to find a set of files, it could be one file OR set of file ,
all with extension .DAT
I need to do some acticity, only if the files exist in a partificular folder
like
if ; then
CntV=`ls $Landing/*.DAT |wc -l`
echo "Lst Value " $Cnt... (3 Replies)
Discussion started by: Shanks
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
On my system, I have about 75 users. Some uers have two or three sessions on the same systems. when I do w, it shows all the sessions. Is there any way to find only the users and not worry about how many sessions. For example: you can see sshe has four connection. I only want to know... (5 Replies)
Discussion started by: samnyc
5 Replies
8. UNIX for Dummies Questions & Answers
Hi, I am new to Unix. I need a script to check some 74 files are present in a particular location or not . (4 Replies)
Discussion started by: nid21
4 Replies
9. UNIX for Advanced & Expert Users
Hi All,
im hav one requirement, let me explain my requirement.
my script will run every one hour and it wil pull files from remote server to my local server.but the d files hwich are pulled my not be in required format wht im expecting in my server.
but in my sever in particular dierectory i... (7 Replies)
Discussion started by: Seshendranath
7 Replies
10. Shell Programming and Scripting
I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation.
When I tried like below,
-bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation
-bash-4.1$ find ./ -name % Retail by State
find: paths must precede expression: Retail
Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies
LEARN ABOUT OSF1
ucontext
ucontext(5) File Formats Manual ucontext(5)
NAME
ucontext - user context
SYNOPSIS
#include <ucontext.h>
DESCRIPTION
The thread of control within an executing process is specified by the ucontext structure. This structure contains at least the following
members:
ucontext_t uc_link
sigset_t uc_sigmask
stack_t uc_stack
mcontext_t uc_mcontext
The values for each member is as follows: Points to the context that is to continue when this context returns. If uc_link is equal to zero
(0), this is the main context, and the process exits when this context returns. Specifies the set of signals that are blocked when this
context is active. See sigprocmask(2) for more information. Specifies the stack used by this context. See sigaltstack(2) for more infor-
mation. Contains the saved machine registers and any implementation-specific context data.
RESTRICTIONS
Portable applications should not access or modify the uc_mcontext value in the ucontext structure.
SEE ALSO
Functions: getcontext(2), sigaction(2), sigprocmask(2), sigaltstack(2).
ucontext(5)