10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file name as logfiles_tar.tgz. How can I view the contents of the log files present in logfiles_tar.tgz ? Any help would be really appreciated.
Thanks (3 Replies)
Discussion started by: bobby1015
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a program that get a directory name from the user, then the program should go through one by one of the file, asking the user whether to move it to another folder. I tried to list the time of the file one by one. But it seems like it doesn't work. The code is as follow:
check()
{... (10 Replies)
Discussion started by: mInGzaiii
10 Replies
3. UNIX for Dummies Questions & Answers
I am having trouble viewing these files from my unix session. vi comes back with line too long. Also an m_dump with the relevant dml comes back with problems.
How can I view this as a text file? Also is there an easy way to view specific records within. Eg I have a policy id (4 Replies)
Discussion started by: trek88
4 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
Is there a way of viewing a binary file through a UNIX session? Or perhaps viewing information of a binary file through a session?
thanks (2 Replies)
Discussion started by: ocelot
2 Replies
5. UNIX for Dummies Questions & Answers
I think that's what I'm trying to do. This is the problem:
I log onto my comp, Comp1. Then, from the terminal, since my web server is on another comp, I type: xrlogin Comp2, so I log on to that computer. I then navigate to my directory by typing: cd /domain/myDir, so I am in my directory, on the... (3 Replies)
Discussion started by: Djaunl
3 Replies
6. UNIX for Dummies Questions & Answers
I have a file (called CORE) that is a dump created by a crashing process. This file, I believe, is in "binary" form, so when I try to use cat, more, or vi on it, it has a bunch of garbage. Is there anything I can use to "read" or view this file just like I might a non-binary file? I am running... (2 Replies)
Discussion started by: dsimpg1
2 Replies
7. UNIX for Dummies Questions & Answers
I have backed up a job ona ait tape from unix. i would like to retrieve the data from that tape from a windows pc. i am aware that there may be software available that will allow windows to recognise .tar files. does anyone know where i can source this software or is there any other options (1 Reply)
Discussion started by: mapping
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
How to view binary files in ASCII format.????????????????
Bye (2 Replies)
Discussion started by: manjunath
2 Replies
9. UNIX for Dummies Questions & Answers
How do I view files in a directory? (1 Reply)
Discussion started by: Ania
1 Replies
10. UNIX for Dummies Questions & Answers
I have a problem viewing text files in NT(Samba) with files stored on a Unix Box. The unix box is actually my FTP server where various OS's FTP to it. The text file is ftp'd from IBM to the Unix Box and viewed in NT. The problem is that the return carriage does not register in the text file. I... (1 Reply)
Discussion started by: cwong
1 Replies
msg.h(3HEAD) Headers msg.h(3HEAD)
NAME
msg.h, msg - message queue structures
SYNOPSIS
#include <sys/msg.h>
DESCRIPTION
The <sys/msg.h> header defines the following data types through typedef:
msgqnum_t used for the number of messages in the message queue
msglen_t used for the number of bytes allowed in the message queue
These types are unsigned integer types that are able to store values at least as large as a type unsigned short.
The <sys/msg.h> header defines the following constant as a message operation flag:
MSG_NOERROR no error if big message
The msqid_ds structure contains the following members:
struct ipc_perm msg_perm Operation permission structure.
msgqnum_t msg_qnum Number of messages currently on queue.
msglen_t msg_qbytes Maximum number of bytes allowed on queue.
pid_t msg_lspid Process ID of last msgsnd(2).
pid_t msg_lrpid Process ID of last msgrcv(2).
time_t msg_stime Time of last msgsnd().
time_t msg_rtime Time of last msgrcv().
time_t msg_ctime Time of last change.
The pid_t, time_t, key_t, size_t, and ssize_t types are defined as described in <sys/types.h>. See types(3HEAD).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
msgctl(2), msgget(2), msgrcv(2), msgsnd(2), ipc.h(3HEAD), types.h(3HEAD), attributes(5), standards(5)
SunOS 5.10 10 Sep 2004 msg.h(3HEAD)