Good day!
I am trying to learn how to use the "sed" editor, to perform multiple edits on multiple files in multiple directories.
I have one script that tries to call up each file and process it according to the edits listed in a second script. I am using a small input text to test these, at... (12 Replies)
Dear Experts
Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task??
Thanks for your help in... (6 Replies)
Hi all
Some yeras ago (1994) I had a utility that bundled up multiple files into a big file with a seperator lines. Automatically loaded this temp file into vi - which allowed you to edit all the files. then when you :wq or ZZ vi it saved all the files bak to their appropriate file names and got... (0 Replies)
Hello,
I have 2 csv files:
File1:
Name,year,organization
Jim,2007,Org1
Bob,1999,Org3
Chris,2001,Org2
File2:
DocumentName,DocumentTitle,organization,year
Test1,Test1,Org1,2007
Test2,Test2,Org2,2008
Test3,Test3,Org3,2009
Using the ksh, I'm reading by line and grabbing the... (2 Replies)
We have 2 file XML files - FILE1.XML and FILE2.xml - we need copy the contents of FILE1.XML and replace in FILE2.xml pattern "<assignedAttributeList></assignedAttributeList>"
FILE1.XML
1. <itemList>
2. <item type="Manufactured">
3. <resourceCode>431048</resourceCode>
4. ... (0 Replies)
Hi guys, I am a newbie here :wall:
I need a script that can search for a file in a directory and copy the contents of that file in a new file.
Please help me. :confused: Thanks in advance~ (6 Replies)
I have a file with data records separated by multiple equals signs, as below.
==========
RECORD 1
==========
RECORD 2
DATA LINE
==========
RECORD 3
==========
RECORD 4
DATA LINE
==========
RECORD 5
DATA LINE
==========
I need to filter out all data from this file where the... (2 Replies)
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
I am trying to write a large X app. I have successfully modified my xorg.conf to setup 4 monitors on an NVIDIA Quatro5200. I am trying to modify a simple hello world application to open a window on three of the four monitors. depending on the changes to loop the window creation section and event... (2 Replies)
symlink(4) Kernel Interfaces Manual symlink(4)NAME
symlink - symbolic link
DESCRIPTION
A symbolic (or soft ) link is a file whose name indirectly refers (points) to a relative or absolute path name.
During path name interpretation, a symbolic link to a relative path name is expanded to the path name being interpreted, and a symbolic
link to an absolute path name is replaced with the path name being interpreted.
Thus, given the path name
If is a symbolic link to a relative path name such as the path name is interpreted as
If is a symbolic link to an absolute path name such as the path name is interpreted as
All symbolic links are interpreted in this manner, with one exception: when the symbolic link is the last component of a path name, it is
passed as a parameter to one of the system calls: or (see readlink(2), rename(2), symlink(2), unlink(2), chown(2) and lstat(2)). With
these calls, the symbolic link, itself, is accessed or affected.
Unlike normal (hard) links, a symbolic link can refer to any arbitrary path name and can span different logical devices (volumes).
The path name can be that of any type of file (including a directory or another symbolic link), and may be invalid if no such path exists
in the system. (It is possible to make symbolic links point to themselves or other symbolic links in such a way that they form a closed
loop. The system detects this situation by limiting the number of symbolic links it traverses while translating a path name.)
The mode and ownership of a symbolic link is ignored by the system, which means that affects the actual file, but not the file containing
the symbolic link (see chmod(1)).
Symbolic links can be created using or (see ln(1) and symlink(2)).
AUTHOR
was developed by HP and the University of California, Berkeley.
SEE ALSO cp(1), symlink(2), readlink(2), link(2), stat(2), mknod(1M).
symlink(4)