11-14-2009
freeBSD have a section "userGroups"
Last edited by mihaylov23; 11-14-2009 at 06:11 AM..
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
would any one please tell me which keys we used between opened vi files backward and forward
Thanks
Ayah (2 Replies)
Discussion started by: aya_r
2 Replies
2. UNIX for Advanced & Expert Users
can any one help
i have a file with this content file name hsnvalue.op
containing
HSN=0,tool=123
HSN=0,tool=123
HSN=0,tool=123
HSN=0,tool=123
HSN=0,tool=123
HSN=0,tool=123
i want to print only one value to another file final.out
:confused: (5 Replies)
Discussion started by: shafique
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to move directories around due to space issues. For example:
cd /home/usr
/home/usr TO /usr
I am doing this now
tar -cvf /home/usr.tar usr This creates huge tar file under /home.
I then cd to /usr to extract it.
cd /usr
tar -xvf /home/usr.tar
... (2 Replies)
Discussion started by: samnyc
2 Replies
4. Shell Programming and Scripting
Hi I have written the following piece of code to move all files with name *.sh to *.bak
the o/p i am getting is *.sh.bak
Pls help
cat filename | while read line
do
mv $line $line.sh
done
filename file conatins
file.sh
file1.sh
file2.sh
expected o/p is
file.bak (2 Replies)
Discussion started by: ultimatix
2 Replies
5. Red Hat
I'm new at this, so bare with me.
I'm looking to move some folders, but keep the tree intact.
Example:
I have hundreds of folders in one directory (parent directory). In each folder there is a one folder called "source" and about 10 files. I want to move all the "Source" directories... (4 Replies)
Discussion started by: gnpower
4 Replies
6. Shell Programming and Scripting
This is a mysql night mare that I cant seem to wrap my head around. Any shell based answers is appreciated as I dont know Perl and all I would do would be blindly copy & paste !
FILE CONTENTS -
1389685 INSERT INTO Opera_ShirtCatlog(col1,col2) VALUES (1,'TEST1'),(2,'TEST2');
1389675 INSERT... (10 Replies)
Discussion started by: ManoharMa
10 Replies
7. Solaris
Is there an easy, safe way to move the system to RAID1 on sparc solaris 10?
(without reinstalling).
thanks. (6 Replies)
Discussion started by: orange47
6 Replies
8. Linux
Hi there.
I am completely new to SSH commands.
I basically have a website on a shared server (wordpress site).
Due to traffic on this site, I need to move it to a dedicated server.
I have a free trial on a centOS6 dedicated server, and can access it using Putty and SSH.
I can enable... (2 Replies)
Discussion started by: CS10
2 Replies
LEARN ABOUT HPUX
elf_nextscn
elf_getscn(3E) elf_getscn(3E)
NAME
elf_getscn(), elf_ndxscn(), elf_newscn(), elf_nextscn() - get section information for ELF files
SYNOPSIS
Command: [flag]... file... [library]...
DESCRIPTION
These functions provide indexed and sequential access to the sections associated with the ELF descriptor elf. If the program is building a
new file, it is responsible for creating the file's ELF header before creating sections; see elf_getehdr(3E).
returns a section descriptor, given an index into the file's section header table. Note the first "real" section has index 1. Although a
program can get a section descriptor for the section whose index is 0 the undefined section), the section has no data and the section
header is "empty" (though present). If the specified section does not exist, an error occurs, or elf is null, returns a null pointer.
creates a new section and appends it to the list for elf. Because the section is required and not "interesting" to applications, the
library creates it automatically. Thus the first call to for an ELF descriptor with no existing sections returns a descriptor for section
1. If an error occurs or elf is null, returns a null pointer.
After creating a new section descriptor, the program can use to retrieve the newly created, "clean" section header. The new section
descriptor will have no associated data (see elf_getdata(3E)). When creating a new section in this way, the library updates the member of
the ELF header and sets the bit for the section (see elf_flag(3E)). If the program is building a new file, it is responsible for creating
the file's ELF header (see elf_getehdr(3E)) before creating new sections.
takes an existing section descriptor, scn, and returns a section descriptor for the next higher section. One may use a null scn to obtain
a section descriptor for the section whose index is 1 (skipping the section whose index is If no further sections are present or an error
occurs, returns a null pointer.
takes an existing section descriptor, scn, and returns its section table index. If scn is null or an error occurs, returns
EXAMPLES
An example of sequential access appears below. Each pass through the loop processes the next section in the file; the loop terminates when
all sections have been processed.
scn = 0;
while ((scn = elf_nextscn(elf, scn)) != 0)
{
/* process section */
}
SEE ALSO
elf(3E), elf_begin(3E), elf_flag(3E), elf_getdata(3E), elf_getehdr(3E), elf_getshdr(3E).
elf_getscn(3E)