12-25-2002
Link files in unix
Can anyone say some ideas about using/creating link files (for ex., lrwxrwxrwx 1 bin bin 7 Jan 10 2001 bin -> usr/bin) in a shell script.
10 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
Link describe the Step by step formation of Unix
http://perso.wanadoo.fr/levenez/unix/
Also:
- History
- Author of First Unix C Language
- Unix Family research Tree
- BSD and Sun History chart
- Technical Comparison between Unix Diffrences (4 Replies)
Discussion started by: killerserv
4 Replies
2. UNIX for Dummies Questions & Answers
Does any one now if you can change permissions on a linked file with out completely removing it and then relinking it? (2 Replies)
Discussion started by: moviestud80
2 Replies
3. UNIX for Dummies Questions & Answers
How do you identify the type of a link in the output of the ls -l command? (1 Reply)
Discussion started by: Tom Bombadil
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Can any one please explain me what is the difference between hard link and soft link in UNIX.
Thanks in advance
Raja Chokalingam. (2 Replies)
Discussion started by: RAJACHOKALINGAM
2 Replies
5. Shell Programming and Scripting
if I have 1000 files, named file1, file2, ... ,file1000. for each one, I want to append a line, for example "this is the end of file#".
then, I want to link them all together.
how can I do that by using a simple script? (1 Reply)
Discussion started by: fredao
1 Replies
6. Solaris
how to make link command by c language (2 Replies)
Discussion started by: ma7moudax
2 Replies
7. Shell Programming and Scripting
How to find the link files. i have main file, now i want to find all the files linked to it. (4 Replies)
Discussion started by: aju_kup
4 Replies
8. UNIX for Advanced & Expert Users
Hi there,
Our vendor needs to have access to some files on our AIX box1, but we don't want them to have access to this box at all.
We allow them to have access/logon to another AIX box2, is that possible that I create a symbolic link in box2 to point to those box1 log/config files ? How?... (1 Reply)
Discussion started by: TheGunMan
1 Replies
9. Solaris
How do I nullify a zero link file.
Please help me (0 Replies)
Discussion started by: bluenavi
0 Replies
10. UNIX for Dummies Questions & Answers
how do i nullify zero link files under /proc
please help me (4 Replies)
Discussion started by: bluenavi
4 Replies
BZEXE(1) General Commands Manual BZEXE(1)
NAME
bzexe - compress executable files in place
SYNOPSIS
bzexe [ name ... ]
DESCRIPTION
The bzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them (at a
penalty in performance). For example if you execute ``bzexe /bin/cat'' it will create the following two files:
-r-xr-xr-x 1 root bin 9644 Feb 11 11:16 /bin/cat
-r-xr-xr-x 1 bin bin 24576 Nov 23 13:21 /bin/cat~
/bin/cat~ is the original file and /bin/cat is the self-uncompressing executable file. You can remove /bin/cat~ once you are sure that
/bin/cat works properly.
This utility is most useful on systems with very small disks.
OPTIONS
-d Decompress the given executables instead of compressing them.
SEE ALSO
bzip2(1), znew(1), zmore(1), zcmp(1), zforce(1)
CAVEATS
The compressed executable is a shell script. This may create some security holes. In particular, the compressed executable relies on the
PATH environment variable to find gzip and some other utilities (tail, chmod, ln, sleep).
BUGS
bzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases,
using chmod or chown.
BZEXE(1)