The > is the default UNIX secondary prompt (held in the $PS2 environment variable, so you can change it for the current logon session with PS2="anythingyoulike ") and shows that the last command line was incomplete, often because of unclosed quotes
e.g.
or you are entering a multi-line command
To get back to normal finish the command or terminate it (control-c)
when I make ncftp 111.111.1.2
I just get problems like ...
/usr/lib/dld.sl unresolved symbol:inet_ntop (code)
does anybody know what is the problem and how to solve this?
thx.. (2 Replies)
Hi@all,
I try to compile c code on hpux 11.11 pa-risc 2 with gcc (32bit). I compile with the option -g, so that I get the symbol table, but it is not available. Does someone knows something on this?
thx (2 Replies)
I have a file with delimiter ";" and 2 columns for eg:
Transparent; ScotchPro™
If you see carefully you can see a special character "TM" at the end of data which is not showing up when I read the data in a regular sequential file. Did anyone anytime tackle this kind of Data. Please advice.... (1 Reply)
Hi,
test -d .ssh || mkdir .ssh && chmod 700 .ssh
The command has couple of symbols, could someone redirect me to the link, where i can understand their significance.
Thanks, John (1 Reply)
Hi,
I have the following directory:
/home/dragon/websphere/cells/profile/imp/001/
I want to put this in a shell script and get the values before and after cells by removing the '/'
Any idea how to make this possible?
Regards,
Dinesh (6 Replies)
Hi!
I need to know where is the caret symbol (^) on the keyboard. I press Shift+6 and does not appear!! Thank you very much.
Removed email address - all should benefit of an answer. (1 Reply)
When I try to link a .so file I get the undefined symbol error. Though I have the library file in my system. The compile and linking commands used are as follows
g++ -m64 -g -Wall -I./include -c dxl_sample.c
g++ -o firstprogram -m64 -g -Wall -I./include -Bdynamic... (1 Reply)
When I try to link a .so file I get the undefined symbol error. Though I have the library file in my system. The compile and linking commands used are as follows
g++ -m64 -g -Wall -I./include -c dxl_sample.c
g++ -o firstprogram -m64 -g -Wall -I./include -Bdynamic... (1 Reply)
Hi All,
How do i represent £ symbol in unix and how to retain £ symbol in file.
Thanks in Advance (3 Replies)
Discussion started by: HemaV
3 Replies
LEARN ABOUT NETBSD
ksyms
KSYMS(4) BSD Kernel Interfaces Manual KSYMS(4)NAME
ksyms -- kernel symbol table interface
SYNOPSIS
pseudo-device ksyms
DESCRIPTION
The /dev/ksyms character device provides a read-only interface to the current kernel symbol table. It can be accessed either as a sequential
file, where it looks like an executable file but with zero-sized text and data segments, or via ioctl(2).
/dev/ksyms represents the symbol table at the time when the device is opened, and may not change until it is closed.
The in-kernel symbol manager is designed to be able to handle any type of symbol table. However, only elf(5) symbol tables are currently
dealt with.
IOCTLS
The ioctl(2) command codes below are defined in <sys/ksyms.h>.
The (third) argument to the ioctl(2) should be a pointer to the type indicated.
KIOCGSIZE (int)
Returns the total size of the current symbol table. This should be used when allocating a buffer to read in the whole symbol
table to memory.
KIOCGVALUE (struct ksyms_gsymbol)
Returns the value for the given symbol name in a symtab-independent fashion.
struct ksyms_gsymbol {
const char *kg_name;
unsigned long *kg_value;
};
The struct element kg_name should be set to the name of the requested value, and the address that kg_value points to will
receive the symbol value.
KIOCGSYMBOL (struct ksyms_gsymbol)
Returns the complete symbol for the given symbol name.
struct ksyms_gsymbol {
const char *kg_name;
void *kg_sym;
};
The struct element kg_name should be set to the name of the requested symbol, and the found symbol will be written to the
kg_sym address. It is the callers responsibility to ensure that enough space for the symbol is allocated.
FILES
/dev/ksyms
SEE ALSO ioctl(2), nlist(3), elf(5)HISTORY
A ksyms device exists in many different operating systems. This implementation is modelled in function after Solaris ksyms. This ksyms
driver was written by Anders Magnusson for NetBSD.
The ksyms driver first appeared in NetBSD 2.0.
BSD November 12, 2008 BSD