02-02-2019
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends ,
how do i view a dynamically linked file in unix ?
its there on other system and do i have to ftp it in ASCII format or binary ?
and after the ftp how do i view it ?
thanks in advance
veeras (1 Reply)
Discussion started by: sveera
1 Replies
2. UNIX for Advanced & Expert Users
Hi friends,
i have a dynamically linked file on my solaris system.this is script that runs regularly. How can i read the contents of that ?
when i tried to say "vi filename " then it says executable and nothing is seen.
Please help.
thanks in advance
Veera (5 Replies)
Discussion started by: sveera
5 Replies
3. UNIX for Dummies Questions & Answers
Hello
like the topic says...
thanks (2 Replies)
Discussion started by: umen
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I was trying to point /unix-> new unix kernel ( unix_64_A ).. but instead by mistakenly i did the other way ..my new unix ( unix_64_A -> /unix ) ?? ..
unfortunately i have only one copy of unix_64_A ..is there any way to solve this problem ..please help me asap .
Thanks
Vamshi. (4 Replies)
Discussion started by: siddaonline
4 Replies
5. Linux
How to check this linked path, and the folder what is contains.. as i am new to linux, pls assist me
lrwxrwxrwx 1 root root 10 Jun 24 2008 mail -> spool/mail/
Thanks in advance, (1 Reply)
Discussion started by: kurva
1 Replies
6. SCO
How do i get the list of linked libraries in a built binaries on SCO UNIX.
I appreciate your help (1 Reply)
Discussion started by: param_it
1 Replies
7. Programming
i have this code
typedef struct client_list {
char *client_name;
struct client_list * next;
int client_socket_fd;
} client;
client *current, *head; head = NULL;
char *h="test";
add_client(current, h, head, &client_socket_fd);
... (24 Replies)
Discussion started by: omega666
24 Replies
8. UNIX for Dummies Questions & Answers
Hi,
We have 2 UNIX Servers, say test1 and test2. Here, if I create a file or folder/delete a file or folder in the 1st server, it gets reflected automatically in the 2nd server.
I don't think any links are established between these 2 servers. Both these have 2 different hostnames.
How... (1 Reply)
Discussion started by: Dev_Dev
1 Replies
9. Programming
#include<stdio.h>
#include<stdlib.h>
struct LinkedList
{
int val;
struct LinkedList *next;
}node; /*Creating a structure variable*/
typedef struct LinkedList Node;
Node *start = NULL;
int create(int i)
{
Node *temp = NULL;
if (start == NULL)
... (5 Replies)
Discussion started by: prinsh
5 Replies
10. UNIX for Beginners Questions & Answers
So I have a file called queens.cc and I need to do the following:
Compile and make a .o file while specifying that the compiler is to search /student/214/include for system include files.
Use g++, link and load .o file to make a dynamically linked executable file called queens and to also... (1 Reply)
Discussion started by: steezuschrist96
1 Replies
link(1M) System Administration Commands link(1M)
NAME
link, unlink - link and unlink files and directories
SYNOPSIS
/usr/sbin/link existing-file new-file
/usr/xpg4/bin/link existing-file new-file
/usr/sbin/unlink file
DESCRIPTION
The link and unlink commands link and unlink files and directories. Only super-users can use these commands on directories.
Use link to create a new file that points to an existing file. The existing-file and new-file operands specify the existing file and
newly-created files. See OPERANDS.
link and unlink directly invoke the link(2) and unlink(2) system calls, performing exactly what they are told to do and abandoning all
error checking. This differs from the ln(1) command. See ln(1).
While linked files and directories can be removed using unlink, it is safer to use rm(1) and rmdir(1) instead. See rm(1) and rmdir(1).
/usr/xpg4/bin/link
If the existing file being hard linked is itself a symbolic link, then the newly created file (new-file) will be a hard link to the file
referenced by the symbolic link, not to the symbolic link object itself (existing-file).
OPERANDS
The following operands are supported:
existing-file Specifies the name of the existing file to be linked.
file Specifies the name of the file to be unlinked.
new-file Specifies the name of newly created (linked) file.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of link: LANG, LC_ALL, LC_CTYPE, LC_MES-
SAGES, and NLSPATH.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
/usr/xpg4/bin/link
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWxcu4 |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
ln(1), rm(1), link(2), unlink(2), attributes(5), environ(5), standards(5)
SunOS 5.10 9 Oct 2002 link(1M)