Sponsored Content
Full Discussion: UNIX Special files
Top Forums UNIX for Dummies Questions & Answers UNIX Special files Post 302489096 by Perderabo on Wednesday 19th of January 2011 12:34:46 PM
Old 01-19-2011
I just reviewed this page and it seemed reasonably good for an intro.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix file does not display special characters

We have a unix file that contains special characters (ie. Ñ, °, É, ¿ , £ , ø ). When I try to read this file I get a codepage error and the characters are replaced by the # symbol. How do I keep the special characters from being read? Thanks. Ryan (3 Replies)
Discussion started by: Ryan2786
3 Replies

2. UNIX for Dummies Questions & Answers

rename more files special case

hello all i have a big problems for me if i have more files as example test.ghrt.part01.rar test.ghrt.part02.rar test.ghrt.part03.rar test.ghrt.part04.rar test.ghrt.part05.rar test.ghrt.part06.rar test.ghrt.part07.rar test.ghrt.part08.rar test.ghrt.part09.rar test.ghrt.part10.rar... (13 Replies)
Discussion started by: ateya
13 Replies

3. Shell Programming and Scripting

Unix Perl split special character $

All I'm trying to split a string at the $ into arrays @data:=<dataFile> a $3.33 b $4.44 dfg $0.56 The split command I have been playing with is: split(/\$/, @data) which results with a .33 b .44 dfg .56 any help with this is appreciated /r Rick (9 Replies)
Discussion started by: schultz2146
9 Replies

4. Shell Programming and Scripting

pattern matching on any special character in Unix

Hi, I have field in a file which would come with any special character, how do i check that field? Eg: @123TYtaasa>>>/ 131dfetr_~2 In the above example, how do I add pattern for any special character on the keyboard. Thanks (3 Replies)
Discussion started by: techmoris
3 Replies

5. UNIX for Dummies Questions & Answers

Find in Files (special characters)

Well, I've searched the forum, but couldn't find an option, that would help me. I'm really a dummie in unix, so here it goes. I've got like 50k files in a single catalogue. One of them contains a string: Including the box/square brackets. I tried to find it manually, and use some search... (2 Replies)
Discussion started by: kalik
2 Replies

6. Shell Programming and Scripting

Special Merge of two files

I have two files, foo1 and foo2. I would like to merge them into file named foo3 such that field 1,2,3,4,5,ect of foo1 are fields 1,3,5,7,9,ect of foo3, and fields field 1,2,3,4,5,ect of foo2 are fields 2,4,6,8,10,ect of foo3. Foo1 and Foo2 are the same size of 800 fields and 20K lines. eg... (6 Replies)
Discussion started by: peanuts48
6 Replies

7. Shell Programming and Scripting

Windows to UNIX FTP Special characters!

I have a file that has the name in one of the lines as MARíA MENDOZA in Windows. When this gets FTPed over to UNIX it appears as MAR�A MENDOZA. Is there anyway to overcome this? Its causing a issue because the file is Postional and fields are getting pushed by 2 digits.. Any help would be... (4 Replies)
Discussion started by: venky338
4 Replies

8. Shell Programming and Scripting

UNIX Special Characters

Any time I do : ls *.txt > mytext.txt I get something like this in the output file: ^ Tue Jan 22 16:19:19 EST 2013 x86_64 x86_64 x86_64 GNU/Linux t1Fam_BrOv :~>alias | grep ls alias l.='ls -d .* --color=tty' alias lR='ls -R' alias la='ls -Al' alias lc='ls -ltcr' alias ldd='ls -ltr |... (5 Replies)
Discussion started by: genehunter
5 Replies

9. Shell Programming and Scripting

Special IF construct syntax in UNIX

Hi, I don't understand && and || in this context. I thought && is for logical 'AND' and || is for logical 'OR'. && echo "Not empty" || echo "Empty" Please help Thank You (5 Replies)
Discussion started by: TomG
5 Replies

10. UNIX for Beginners Questions & Answers

How To Retreive Files With a Special Condition?

Everyday I have to get a list of files in a directory with a special condition and feed this list to a for loop to be processed. Since I do not use Unix all the time, it is tricky for me to get that list of files. So, the question is whether there are commands that will give me the file names... (12 Replies)
Discussion started by: april
12 Replies
endservent(3)						     Library Functions Manual						     endservent(3)

NAME
endservent, endservent_r - Close the network services database file. LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <netdb.h> void endservent(void); [Tru64 UNIX] The following function is supported in order to maintain backward compatibility with previous versions of the operating sys- tem. void endservent_r( struct servent_data *serv_data); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: endservent(): XNS4.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
[Tru64 UNIX] For endservent_r() only, this is data for services database. DESCRIPTION
The endservent() function closes either the local /etc/services file or the NIS distributed services file, previously opened with the get- servent(), getservbyname(), or getservbyport function. To determine which file or files to search, and in which order, the system uses the switches in the /etc/svc.conf file. [Tru64 UNIX] If the most recent setservent() function was performed with a nonzero parameter, a subsequent endservent() function will not close the network services database file. NOTES
[Tru64 UNIX] The endservent_r() function is the reentrant version of the endservent() function. It is supported in order to maintain backward compatibility with previous versions of the operating system. The netdb.h header file defines the serv_data structure. ERRORS
Current industry standards do not define error values for the endservent() function. [Tru64 UNIX] If the endservent_r() function fails, errno may be set to: serv_data is NULL. FILES
Contains service names. The database service selection configuration file. RELATED INFORMATION
Functions: getservent(3), getservbyname(3), getservbyport(3), setservent(3). Files: services(4), svc.conf(4). Networks: nis_intro(7). Standards: standards(5). delim off endservent(3)
All times are GMT -4. The time now is 11:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy