I've noticed bzip2 gives a little bit better compression than gzip. So...I'm curious...what's gives the best compression out of all the compression utilities?
Thanks! (6 Replies)
Hi,
My input file is like this
1 11110001 1.1.1.1.1
2 12222212 2.3.44.5.6
3 22223333 1.3.2.4.1.55
Now i need the 2nd column value get printed
I tried with the following command
awk 'NR==1 {print $2}' input
this works fine for only 1st row.I need to change always NR assigned value to... (10 Replies)
Hi Chaps,
Does anyone know of a source of proprietary unix utilities. I often fall into the trap of testing a spot of code on my linux machine, posting the answer in the forums and then realise that the solution may only work with the GNU utils that I use, and not standard posix ones (if there are... (4 Replies)
hi experts,
i have a file
sample:
=======
000123 5 7 0008
00345 5 9 0004
how can i get an output as
123 5 7 8
345 5 9 4
thanks in an advance
subhendu (5 Replies)
I'd like to be able to do something like 'select column_a column_c column_b from file.csv'. Scripting it probably wouldn't be too extraordinarily difficult but I'd rather not reinvent the wheel if someone's built a better one already. (3 Replies)
Hi folks,
Friendly router geek wanting to be a programmer here...
So I worked with another guy here and came up with this to capture Unix admin data:
#!/bin/ksh
#
#
# Set Default Paths
#
PATH=/usr/apps/client/bin:$PATH; export PATH... (4 Replies)
Hi gurus/lead,
I have one doubt in crontab. I have shell script source code in one server. where I don't have priviliges acess R/W the shell script in that server.
how can I setup the crontab to pick the code from the other unix server ?
whether is there any possibility.
in my... (1 Reply)
Discussion started by: ramkumar15
1 Replies
LEARN ABOUT HPUX
symlink
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)