General :: Changing Printer URI To A File:///

Dec 1, 2010

I like to redirect the print output to a file for later analysis and I was able to do this in an old Fedora 9 but with the new installation of Fedora 13 or Ubuntu 10 it is not working! I always get an error when selecting a directory/filename like file:///tmp/output.prn.

How can I fix this problem?

View 3 Replies


ADVERTISEMENT

General :: Changing Directory - Saved File On The Desktop - Cannot Seem To Get That File To Execute It

Mar 10, 2011

I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:

I try cd Desktop says that there is no such directory.

I tried /home/me/Desktop same thing.

View 5 Replies View Related

General :: Configure File Printer - Print To File

Oct 20, 2009

I want to configure file printer (print to file) on my rhel-5 machine in such a way that if users fire print command from windows xp it should create an individual computer wise txt file on my linux machine. File name should be different for each printer.

View 2 Replies View Related

General :: Installing Printer - Add Printer In Local Network Or Windows Printer Via Samba

Nov 23, 2009

I just upgrade to Fedora 11.

I have problem in installing the printer, no matter add printer in local network or Windows Printer via Samba.

The summary is as follow:

I have download a printer driver and had installed but got error when I tried to printer a test page.

View 6 Replies View Related

General :: Changing File Permissions While Doing Ftp?

Sep 17, 2009

I am trying to automate ftp to transfer files from windows to Linux server automatically and my script looks like this .

@echo off
SET CUSTOM=/apps12i/oracle/KIRAN/apps/apps_st/appl/custom/12.0.0/reports/US
echo user oracle> ftpcmd.dat

[code]....

Any files we transfer through ftp from windows , their default permissions to be set 755 automatically . We are using Red Hat Enterprise Linux AS release 4 (Nahant Update 7) .

View 1 Replies View Related

General :: Changing The Name Of Executable File A.out?

Jan 18, 2011

Is there any way to change the name "a.out" of executable file to any other name of our choice..

View 5 Replies View Related

General :: File's Group Changing When Replaced Via Scp

Oct 26, 2010

on my Fedora test server, there is a webdev group for all developers and the files under /var/www are owned by apache:webdev. Each developer is set up per normal, with each getting his/her own entry in /etc/group, then I add them to the webdev group (all from the command line). Things seemed OK, but when I edited a file as me the other day and updated it via scp, the ownership and group changed to that of my user, preventing a second dev from updating it later. How can I make sure that the file remains editable by all in the webdev group regardless of who updates it? Since it's a test server, the permissions are fairly loose at 775.

View 2 Replies View Related

General :: Changing File Permission To Execute?

May 12, 2011

My shell script runs from the command line, but fails in cronjob. /bin/sh: asper.sh: Permission denied

-rw-r--r-- asper.sh I guess the permission should look like '-rwxr-xr--' How can I change the permission to be like that?

View 2 Replies View Related

General :: Changing File Permissions And Authorizations

Jan 4, 2010

I first installed linux as ubuntu version 9.04 straight off of a Computer Active CD and liked it so started to delve into file permissions and authorisations, simple stuff I suppose just so I could feel my way around things for a while. Using the built in Ubuntu software centre I downloaded and installed a prog which handles authorisations and I found that very helpful but then through the update manager I installed the latest distribution update (9.10) and now find that the authorisation software only lists a couple of things that I can get to and consequently every time I mount one of my hard disks I'm asked for my admin password even though I am logged in as administrator which is a hassle,

a small one but there all the same, as a newbie I realise it must be me not understanding something but I just dont know what, also in the previous version right clicking on the logging out panel gave you an option to remove the 60 second shutdown or restart delay and that has disappeared in the new version, again its really only just a nuisance thing but I find that sorting out this sort of thing will help me to understand the system

View 5 Replies View Related

General :: Changing File And Folder Ownership From Root?

Oct 11, 2010

I created a folder structure as root and now need to transfer ownership to an ordinary user.

This question is linked to this one - [URL]

I have a folder /srv/app-share that needs to be visible/writeable to user1

I tried (as root):

root@server [/]# chown -R user1:user1 /srv/

But that did not work.

View 1 Replies View Related

General :: Changing A File At A Time Located In Two Locations?

Nov 23, 2010

suppose i have two file with same name fstab one file is located in /etc and the other is located in /root/ If i make a change in /etc/fstab file the changes has to reflect in /root/fstab . Is there any command to do this?

View 6 Replies View Related

General :: Changing Ownership Of 'file Name' : Operation Not Permitted

Oct 14, 2010

I`ve been given a project to design a program that will interface with a hardware device through the parallel port.And so far it`s not going go. I managed to write the programe an compiled it, but when runing it the compiler says: 'changing ownership of'and then the file name then it continues to say, 'operation not permitted'.

View 9 Replies View Related

General :: Reading Changing File In Real Time

May 27, 2010

I know this command exists I just can't seem to find it. I want to see the last few lines of a file as more are added in real time. Can someone point me in the right direction?

View 2 Replies View Related

General :: Reboot Not Required After Changing HOSTS File Content?

Oct 18, 2010

I was having a discussion with someone who asked me whether a Linux OS has to be rebooted when the hosts file is modified. From personal experience, on Windows I change the file but don't reboot and I've seen others do the same thing. I assume Linux has no exception(s), but is there any reason why a reboot is not required (to at least justify my actions)?

View 2 Replies View Related

General :: Changing File Permissions Works As Root But Not As Sudo

Nov 22, 2010

I have a really strange problem. I have a few files in a large directory that I want to make readable by everyone. So I try this:

sudo find readme* -not -perm -o+r -exec chmod +r {} ;

and get this:

sudo: unable to execute /usr/bin/find: Success

I don't know why it says Success, because the permissions were not changed. I verified by typing this:

find readme* -not -perm -o+r -exec ls -l {} ;

and get something like

-rw------- 1 root root 536871076 Nov 22 14:06 readme_20101122200429
-rw------- 1 root root 536871892 Nov 22 14:08 readme_20101122200642
-rw------- 1 root root 293458128 Nov 22 14:10 readme_20101122200859

as a last resort, I tried:

sudo chmod +r *

and got:

sudo: unable to execute /bin/chmod: Success

and again Success really means fail. So, I gave up and logged in as root and tried:

find readme* -not -perm -o+r -exec chmod +r {} ;

This time it worked. Why?

EDIT: /etc/sudoers looks like:

## Allow root to run any commands anywhere
root ALL=(ALL) ALL
##Me
user1 ALL=(ALL) ALL

View 2 Replies View Related

General :: Primitive Way To Output A File To The Printer ?

Jun 13, 2011

What is the most primitive way to output a file to the printer? I mean data transfer from the file to the printer. I suppose it must be 'cp some_file /dev/<printer device>. For the console, I know the devices are /dev/ttyN, N= 1,2,... But I do not know what are the devices for the printer.

View 9 Replies View Related

General :: Unix Command To Send File To Printer?

Mar 28, 2010

Is it true that the UNIX commands to send a file to a printer for printing are system-dependent?

View 2 Replies View Related

General :: Vim - Avoid Changing A File's Linux Permissions When Saving Over A Samba Connection?

May 28, 2011

I have an Ubuntu development server and a Windows 7 workstation. I use Windows Gvim to edit files on the linux server, over a samba connection.Saving files from Windows change the Linux permissions in weird way depending on the Windows app I'm using and also depending on whether there's a file extension or not.Here are some testsNo extension; Notepad2: 644 to 764

matt@mattserver ~ % ls -l testfile
-rw-r--r-- 1 matt matt 0 2011-05-28 07:09 testfile
--- Save from Windows Notepad2 over network ---

[code]....

View 1 Replies View Related

General :: Create A Multiple Files By Reading A Input File And Changing The Contents?

Sep 16, 2009

Being new to this area .I have been assigned a task which i am unable to do . Can any one please help me .

I have requirement where i have input file XYZ_111_999_YYYYMMDD_1.TXT and with header and series of Numbers and Footer.

I want to create a mutiple output files with each file having a seperate code which is stored in text file and create XYZ_222_999_YYYYMMDD_1.TXT . and add date in the contents next to series of numbers .Like this

Before change the file looks like this

file name XYZ_111_999_YYYYMMDD_1.TXT

001,19SEP2009-14:05:05,000000003
1234
4567
6785
END_OF_DATA

[Code]....

View 4 Replies View Related

General :: Performing Admin Task Like Changing Owner Of A File Through Shell Script

Apr 5, 2011

I want to automate my tasks of administrator using shell scripts like changing owner of a file which usually only the super user which requires password can change i want to do this thing using shell script how to do?

View 4 Replies View Related

General :: Split A Gzip File Based On Size And Have A Prefix Without Changing Extension?

Jan 18, 2010

have a gzip file ABC_000023232.gzipBCD_023232032.gzipI want to split these files into smaller files but keep the extension same because I am using this as a variable in a script

Code:
for i in `ls *.gzip`
split -b 500K $i $i

[code]...

View 3 Replies View Related

General :: Unable To Copy PPD File When Creating New Printer Via Lpadmin?

Jul 18, 2011

I'm a Red Hat 6 newbie but have been around Unix.I looked at some threads here regarding this issue and haven't been able to find a solution.I'm executing;

lpadmin -p bam -v socket:139.64.101.21 -m /etc/cups/ppd/BR5370_2_GPL.ppd

When I look in /var/log/cups/error_log, here's what I get:
E [18/Jul/2011:14:37:36 -0700] [cups-driverd] Bad PPD name "/etc/cups/ppd/BR5370_2_GPL.ppd"!
E [18/Jul/2011:14:37:36 -0700] copy_model: empty PPD file!

[code]...

View 5 Replies View Related

General :: Send Data Through A USB Port To A Printer Which Recieve Text File?

Jul 7, 2010

I am trying to send data through a USB port to a printer which can recieve text file. Now to send the data to the printer I am doing echo "Hello World" > /dev/usb/lp0

but the data doesnt seem to be sent to the printer because I have an analyzer to monitor the data sent to the printer. Is there anything else which I need to do

View 1 Replies View Related

General :: Print Data To Laser Printer Using An Overlay Form And Save File As Pdf?

Jun 5, 2010

i have custom programs written in Basis pro5. Standard output to a pdf virtual printer works fine. Using pdftk to overlay on to a form is hit or miss.... There are products out there like Unform that are just too expensive for my company. i have purchased another product from a company that prints the forms to the laser perfectly but i am incapable of capturing them and saving them as pdf's for archiving/emailing/faxing and i don't much care for this company.

View 2 Replies View Related

General :: Windows User Not Authorized For Printer On Ubuntu Server But File Share Is Ok

Apr 13, 2011

Two users on both Ubuntu server and Windows 7. Both users admins on Windows. Used SWAT to set up Samba. Printer is local to Ubuntu server. User A can access both file share and printer on Ubuntu server from Windows. User B can access the file share but can only see the printer, not use it. Have looked everywhere I can think of to find out why one user has access and the other doesn't on both Windows side and Ubuntu side. As far as I can tell, they are set up the same. Can anyone provide some direction on what I should look at to find out what might be preventing User B from being authorized to use the printer on Ubuntu?

View 2 Replies View Related

General :: Install A Printer On The Parallel Port? The Printer Is A Epson LX-2170?

May 14, 2010

My Operating system is Ubuntu 10-4 that I have just installed.

View 6 Replies View Related

Software :: Overwrite The Contents Of A File Without Changing The File Size?

Jul 12, 2010

We have some large files with sampling data in it. Don't want to delete these files. But want to quickly overwrite the file with 0s and/or 1s and preserve the original file size.

View 3 Replies View Related

Debian Installation :: When Connect The Printer, Doesn't Recognize Printer As The Photosmart B109 Printer For Unknown Reason?

Jan 3, 2011

I've bought a HP Photosmart printer, HP Photosmart wireless e-All-in-One printer - B110a and i've got a problem installing it properly. I'm using Debian 6.0 Squeeze. When i connect the printer, Debian doesn't recognize my printer as the Photosmart B109 printer for unknown reason. When i go to the site of HP and search for a driver, it directs me to this site:I've downloaded that latest hplip file as a .run file and installed it. My printer is recognized proparly, but when i try to print a colored image, it comes out black/white. Something is not crrect. Does anyone recognize this problem with this type HP printer?

View 7 Replies View Related

Ubuntu :: Get A .ppd Or Similar File From A .deb.sh File For A Printer?

Apr 11, 2010

How do I get a .ppd or similar file from a .deb.sh file for a printer?

The printer in question is a lexmark S305, the file is:

lexmark-inkjet-09-driver-1.5-1.i386.deb.sh

it is from this page:

[URL]

View 1 Replies View Related

Red Hat / Fedora :: See Which File Is Changing As A Log File?

Sep 20, 2010

I want to see which file is changing in linux as a log file.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved