01-15-2006
Softlink may need to write a script to find out. Thank you very much for the help.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I do not want to violate any rules, so thought to ask before posting any links.
Just to contribute to the forum: through surfing I found a link to download "Unix in a Nutshell" (*.chm) FREE.
I was wondering if I can post that link here.
Thanks
Hemang (5 Replies)
Discussion started by: hemangjani
5 Replies
2. UNIX for Advanced & Expert Users
Hi
Can you please tell me how to create a softlink to a file on a different partition ?
thanks (3 Replies)
Discussion started by: infyanurag
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Is there is a good collection of Links to Unix Related stuff?
Regards,
Kriss (1 Reply)
Discussion started by: Kriss
1 Replies
4. UNIX for Dummies Questions & Answers
hi
i have a hardlink how can i find the source of it (2 Replies)
Discussion started by: jpriyank
2 Replies
5. Shell Programming and Scripting
HI,
I would like to ask You about some good books or links where I can find information about shells, theoretical information.
I will be grateful if You can help me
And I have question about zsh loop
trivial script:
#!/bin/zsh
for i in {1..100000}
do
echo $i;
doneexec time is 10... (9 Replies)
Discussion started by: Physix
9 Replies
6. UNIX for Dummies Questions & Answers
How can you tell if a file is linked to another file??????
Do not title posts "Urgent", etc. Per forum rules. (3 Replies)
Discussion started by: BIGGDRE10
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a file with more than 1 layers of soft links for it. For ex.
ls -la .profile
.profile@ -> /home/act/.profile_abc
ls -la
/home/act/.profile_abc@ -> .profile_final
I want to get the name of the last file (i.e. .profile_final) when I refer to .profile using shell script. I... (2 Replies)
Discussion started by: deo_kaustubh
2 Replies
8. UNIX for Dummies Questions & Answers
Hello.
I have some main directories.
For example :
/main_dir1
/main_dir2In main_dir2, I have a sub dir named sub_dir2-1 with 2 files in it ( file_2-1, file_2-2 )
/main_dir2sub_dir2-1file_2-1
file_2-2From "/main_dir1/A/B/C" I make a soft link
ln -s /main_dir2/sub_dir2-1 ... (6 Replies)
Discussion started by: jcdole
6 Replies
script(1) User Commands script(1)
NAME
script - make record of a terminal session
SYNOPSIS
script [-a] [filename]
DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the
record is saved in the file typescript. See WARNINGS.
The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends
when the forked shell exits or when Control-d is typed.
OPTIONS
The following option is supported:
-a Appends the session record to filename, rather than overwriting it.
NOTES
script places everything that appears on the screen in filename, including prompts.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a
privileged user, that is, root. Be sure that typescript is not a link before running script.
SunOS 5.10 30 Jan 2004 script(1)