Following command should help you to copy the file with root user over user1's ssh keys. In fact you'll temporarily switch to user1 and run that scp command.
Hi,
I am fairly new to Unix. My school computers have only UNIX installed on them, and I wish to use them to do some parallel computing. To do so, I need to transfer the files from my Windows computer to my Unix account on a different computer.
I am using the SSH login with the Putty client.... (2 Replies)
Hi,
I am having a Solaris 5.9 server in which an audit trail script is running every day.It is doing nothing but taking the backup of three files given below
-rw-r--r-- 1 root root 1807 May 18 01:30 login_server1_17May2008
-rw-r--r-- 1 root root 0 May 18 01:30... (5 Replies)
awk -F^ '{ if (($1 != "X") && ($5 != "3")) || if (($1 != "S") && ($5 != "2")) print $0}' abc> xyz
The above command returns this error
awk: syntax error near line 1
awk: illegal statement near line 1
I am newbie to awk, Any awk intelligence involved in correcting this issue is highly... (2 Replies)
simple bash script to scp specific file to another server
example: /etc/dir1 (specific file name) then you will just execute a keyword..
sample: ./scp.sh atm*. where atm*. is a sample keyword to search)
thanks (0 Replies)
Hi,
I'm pretty poor at using UNIX but I'm learning. Please help me with these simple problems! Much appreciated!
1. I've changed my shell from bash to csh but I prefer bash. How do I change back? I've tried using chsh -s but it's not working!
2. I'm trying to download TopCat. I've done... (2 Replies)
Hello
Any Unix programm can help me to solve thsi issue:
I have 2 venn digrams please checke the attached file for pictures of venn diagram for eg red is A yellow is B and green is C..Please see attached file for Venn diagrams
In one .....
I have 3 data set A , B and C
Venn diagram... (0 Replies)
I have mistakenly removed /root/.cabal/ from my root directoty and when I tried to reinstall it I get this output:
faiz:~$ sudo cabal install pandoc --reinstall
Resolving dependencies...
In order, the following will be installed:
pandoc-1.14.0.4 (reinstall)
Warning: Note that reinstalls are... (3 Replies)
i have one function block in the beginning of my script and there are some commands inside that function which will perform some operations.
And i am invoking that function from my main script by passing some values. Sometimes it is hanging in the middle for some value.
For example:
For 1st... (3 Replies)
HI
We have some Red Hat Linux Sevres which is having TCP connection timeout, not SSH connection, as an example oracle connection connected from TOD.
SSH i managed to add keepalive and it's working fine (1 Reply)
Discussion started by: bentech4u
1 Replies
LEARN ABOUT REDHAT
foomatic-printjob
FOOMATIC-PRINTJOB(1) General Commands Manual FOOMATIC-PRINTJOB(1)NAME
foomatic-printjob - <put a short description here>
SYNOPSIS
foomatic-printjob [ -s spooler ] [ -P queuename ] [ -o option1=value1 -o option2 ... ] [ -i ] [ file1 file2 ... ]
foomatic-printjob -Q [ -s spooler ] [ -P queuename ] [ -i ] [ -a ] [ user1 user2 ... ]
foomatic-printjob -R [ -s spooler ] [ -P queuename ] [ - ] [ -i ] [ jobid1 jobid2 ... ]
foomatic-printjob -C [ -s spooler ] [ -i ] command [ arguments ]
foomatic-printjob -S [ -s spooler ] [ -i ]
foomatic-printjob -h [ -s spooler ] [ -P queuename ] [ -i ]
Options
-sspooler Explicit spooler type (cups,lpd,lprng,pdq)
-Pqueuename
Command should apply to this queue
-ooption=value
Set option to value
-ooption Set the switch option
-#n Print n copies
file1 file2 ...
Files to be printed, when no file is given, standard input will be printed
-Q Query the jobs in a queue
-a Query the jobs in all queues
user1 user2 ...
Users whose jobs should be listed
-R Remove a job from a queue
- Remove all your jobs
jobid1 jobid2
IDs of the jobs to be removed
-C Execute control commands for queue/job manipulation
command [ arguments ]
Control command for queue/job manipulation. The commands are the ones of the BSD "lpc" utility. Use the control command "help" to
get a list of supported commands. Note: the amount of commands varies with the spooler, but the same commands given under differ-
ent spoolers do the same thing.
-i Interactive mode: You will be asked if foomatic-printjob is in doubt about something. Otherwise foomatic-printjob uses auto-
detection or quits with an error.
-S Save the chosen spooler as the default spooler
-h Show this message or show a list of available options if a queue is specified
EXIT STATUS
foomatic-printjob returns ...
AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary.
BUGS
This manpage needs some editing.
Foomatic Project 2001-01-06 FOOMATIC-PRINTJOB(1)