7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm trying to do the following and can't figure out how to achieve it.
On my computer there are a number of folders called 'program' at various levels.
I would like to search for these folders (that are below my current level) and then use egrep to search for a string within files that... (6 Replies)
Discussion started by: js8765
6 Replies
2. Shell Programming and Scripting
Hi Everyone,
cat 1.txt
a <abc
b vfff
c 000>
d 4444
the output is:
<abcvfff000>
by using perl or awk, can get the value betwee "<abc" and ">", assume 1.txt has lots of those tags, so the output can filter out all those values.
Please advice.
Thanks (4 Replies)
Discussion started by: jimmy_y
4 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone
I am new to unix . i got struck up with small issue.
i have text file something like this
abc 'xyz' '5'
pqr 'lmn' '6'
i want to replace
abc 'xyz' '5' with abc 'tyr' '9'
but i know the key 'xyz'
based on the key 'xyz' i want to replace
please help me .
its... (3 Replies)
Discussion started by: Vijayaragavan
3 Replies
4. Shell Programming and Scripting
in a shell script, i hav a variable declared as "ABC-123".
i want to incriment th value ABC-123 by 1 so that the result will be
ABC-124.
Can anyone suggest a solution in shell scripting.. (4 Replies)
Discussion started by: pgmfourms
4 Replies
5. Shell Programming and Scripting
Hi Friends
I have one shell script abc.sh
If I run it ./abc.sh and . abc.sh , then what is the difference..
Thanks
Joy:confused: (1 Reply)
Discussion started by: itsjoy2u
1 Replies
6. Shell Programming and Scripting
Hi,
How to find out the words starting with ABC in a file (K shell)
I dont want the word having ABC in middle of any string.
Thanks
Subrat (1 Reply)
Discussion started by: subrat
1 Replies
7. Shell Programming and Scripting
suppose u have a file
ABC CDF ADF FDG HAA AHH AHA
so output shud be like
"ABC" "CDF" "ADF" FDG " "HAA" "AHH" "AHA" (8 Replies)
Discussion started by: cdfd123
8 Replies
show link(1m) show link(1m)
NAME
show link - Displays attribute information about the specified soft link
SYNOPSIS
cdscp show link link-name [attribute-name] [with attribute-name = attribute-value]
ARGUMENTS
The full name of a specific soft link. The last simple name can contain wildcard characters. The name of a particular attribute; see
Description for valid attribute names. The value of a particular attribute.
DESCRIPTION
The show link command displays the names and values of the attributes specified in attribute-name. You can use a combination of attributes
in any sequence in a single command. Use a space to separate multiple attributes. You can use a with attribute-name = attribute-value
clause to limit output only to soft links whose attributes have values equal to the specified values. A space must precede and follow the
= (equals sign). If you do not supply any attributes, the command displays all attributes and their values. The following is a description
of soft link attributes: Specifies the creation timestamp (CTS) of this soft link Specifies the full name of the directory, object entry,
or other soft link to which the soft link points Specifies a timeout value after which the soft link is either checked or deleted Specifies
the timestamp of the most recent update to an attribute of the soft link
Privilege Required
You must have read permission to the soft link. If you specify a wildcard soft link name, you also need read permission to the directory
that stores the soft link.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command displays the current values of all the attributes associated with the soft link /.:/sales/region1. cdscp> show link
/.:/sales/region1
SHOW
SOFTLINK /.../abc.com/sales/region1
AT 1991-10-15-15:54:40
CDS_CTS = 1991-10-15-19:54:35.00000003/08-00-2b-1c-8f-1f
CDS_UTS = 1991-10-15-19:54:35.00000006/08-00-2b-1c-8f-1f
CDS_LinkTarget = /.../abc.com/sales/service
SHOW
SOFTLINK /.../abc.com/sales/region1
AT 1991-10-15-15:54:41
CDS_CTS = 1991-10-15-19:54:36.00000077/08-00-2b-1c-8f-1f
CDS_UTS = 1991-10-15-19:54:36.00000009/08-00-2b-1c-8f-1f
CDS_LinkTarget = /.../abc.com/sales/software
CDS_LinkTimeout = :
Expiration = 1991-10-15-00:00:00.0
Extension = +1-00:00:00.000
RELATED INFORMATION
Commands: create link(1m), delete link(1m), list link(1m), remove link(1m), set link(1m)
show link(1m)