12-08-2004
File Editing and Printing in Unix
Hi,
Can some one provide me with, some good links containing help for file editing and printing in unix.
Regards,
Muhammad Tayyab
Shereen Motor Co. Kuwait
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i currently am using a unix server and NT pc. i have downloaded a ziped file that should explode into 3 seperate unix based files, however when i unzip it using Alading Expander it displays only 1. This exploded version contains all 3 files ( you can scroll down when viewing the file and see the... (1 Reply)
Discussion started by: pixelmonkey
1 Replies
2. UNIX for Advanced & Expert Users
Hi guys ...
i need ur help with some printing problem in unix ...
first prob. :
i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) .
My issue , is it possible to print directly to an Ip address from unix ?
How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies
3. Shell Programming and Scripting
Hi,
I am trying to print a file with one of the field has over 1000 charactors. When I print the file only part of the data was printed.
What can I do to be able to print out all the data in this field?
Thanks (3 Replies)
Discussion started by: whatisthis
3 Replies
4. UNIX Desktop Questions & Answers
I need to print Unix files on a daily basic. I have a Del 962 Ink Jet printer. Can anyone tell me how to print? I also need to know if Unix can print on an ink printer? (6 Replies)
Discussion started by: Brokersol
6 Replies
5. Shell Programming and Scripting
Hi,
Is there a way to edit BINARY files in Unix.
Or even are there any commands (shellscript/perl) through which I can replace all the occurences of a string inside a BINARY file with another string ?? (1 Reply)
Discussion started by: cool.aquarian
1 Replies
6. HP-UX
Hi,
I am a newbie to the UNIX world. I am asked to edit the file in hexadecimal format and save it. Later I should be able to print the file in char mode.
please anyone tell me how to do that mostly using VI editor. (1 Reply)
Discussion started by: vkudire
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
8. Shell Programming and Scripting
I want to print the output of a db2 query, on to an unix file in a manner that the columns are separated by 'commas'. Please help me out..thanx in advance (1 Reply)
Discussion started by: prasan_ven
1 Replies
9. Shell Programming and Scripting
Hi Folks,
I need your help with Reading/Editing of EBCDIC files at UNIX. "dd" is not helping much so "iconv" too (as my file is packed decimal type). we will not be able to get access of powerexchange or mainframe.
I need atleast 100 records from each file.(if all is possible it would be... (3 Replies)
Discussion started by: ektubbe
3 Replies
10. Shell Programming and Scripting
Hi Guys,
I have a hugefile. I have requirement to change Indicator from "T" to "P" or from "P" to "T" which comes in header itself. I could not open either in any of editors or in UNIX command line using vi as file size > 3GB
Please suggest a solution as how to achieve it through script or any... (10 Replies)
Discussion started by: Abdulhameed M
10 Replies
LEARN ABOUT CENTOS
pam_echo
PAM_ECHO(8) Linux-PAM Manual PAM_ECHO(8)
NAME
pam_echo - PAM module for printing text messages
SYNOPSIS
pam_echo.so [file=/path/message]
DESCRIPTION
The pam_echo PAM module is for printing text messages to inform user about special things. Sequences starting with the % character are
interpreted in the following way:
%H
The name of the remote host (PAM_RHOST).
%h
The name of the local host.
%s
The service name (PAM_SERVICE).
%t
The name of the controlling terminal (PAM_TTY).
%U
The remote user name (PAM_RUSER).
%u
The local user name (PAM_USER).
All other sequences beginning with % expands to the characters following the % character.
OPTIONS
file=/path/message
The content of the file /path/message will be printed with the PAM conversion function as PAM_TEXT_INFO.
MODULE TYPES PROVIDED
All module types (auth, account, password and session) are provided.
RETURN VALUES
PAM_BUF_ERR
Memory buffer error.
PAM_SUCCESS
Message was successful printed.
PAM_IGNORE
PAM_SILENT flag was given or message file does not exist, no message printed.
EXAMPLES
For an example of the use of this module, we show how it may be used to print information about good passwords:
password optional pam_echo.so file=/usr/share/doc/good-password.txt
password required pam_unix.so
SEE ALSO
pam.conf(8), pam.d(5), pam(8)
AUTHOR
Thorsten Kukuk <kukuk@thkukuk.de>
Linux-PAM Manual 09/19/2013 PAM_ECHO(8)