Commands about ip and printer !


 
Thread Tools Search this Thread
Operating Systems SCO Commands about ip and printer !
# 1  
Old 10-28-2014
Question Commands about ip and printer !

Im new in unix Smilie so I need some help, I need a command to :
1- See all IP of the pcs are connecting to system ( my pc ), If I can find the name as in windows it will be cool !
2- See what are in the printer's queue, how to cancel and restart it.
3- How to appear the content of file in the screen.

this is what I need for now thanks for advance Smilie
# 2  
Old 10-28-2014
netstat -a for all incoming and outgoing connections.

Printers, I don't know.

How to "appear the file"? Depends what kind of file it is. For a text file, more filename. Space for next page, q to quit.
# 3  
Old 10-28-2014
You can use either "lpstat -t" for the printer details, and "cancel" with the spoolid as the argment to cancel print jobs. Or start 'scoadmin' and select printers to use either the character based system, or graphical X-Windows.
You could also use 'finger' to list the currently connected clients.
Assuming the system was installed using the defaults, all the manuals are available through the web server. (http://ipaddress of SCO system)
# 4  
Old 10-29-2014
I guess you didn't understand me !
like when I use the command " w " it appears all user and what they are doing
is they any command to show their ip too ?
# 5  
Old 10-29-2014
output of:
$finger
Quote:
coll29 *p1 2 Wed Oct 29 08:45 192.168.100.115
coll29 *p2 1 Wed Oct 29 07:51 192.168.100.115
coll30 *p32 Wed Oct 29 10:07 192.168.201.102
coll31 *p11 Wed Oct 29 08:18 192.168.201.101
coll32 *p17 Wed Oct 29 08:32 192.168.100.152
What did you not understand?
# 6  
Old 10-30-2014
Did you write that before ?
If the command is on the link you posted, the link didn't work for me !

Last edited by Scrutinizer; 10-30-2014 at 05:20 PM.. Reason: Spelling
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. HP-UX

Setting printer paper length using unix commands

Hi Guys, I have been trying to resolve a printing problem but nothing works out . I have an Epson LQ 680 (dot matrix printer) . I need to print a file . The paper length should be 34 .Left margin should be 5. I have tried the following things after researching from the man pages. pr -t... (24 Replies)
Discussion started by: Kar1234
24 Replies

2. Linux

Find printer location and printer type

Hi, Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies

3. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

4. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

5. Solaris

Configuring Printer with Printer Manager

Hi All, I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies

6. IP Networking

How do you send printer codes to an IP printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Discussion started by: jeffbugfree
2 Replies

7. Linux

know I do for to printer in printer deskjet 80colun

I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies
Login or Register to Ask a Question