LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2006, 12:39 PM   #1
miles2034
LQ Newbie
 
Registered: Aug 2006
Location: honolulu
Distribution: redhat ubuntu
Posts: 17

Rep: Reputation: 0
/dev/lp1


when i ls >> /dev/lp1 i get permission denied im using redhat 9 sheike from the gui i changed the owner to root and to my username same problem. this happens in ubuntu and dsl. what am i doing wrong. please help me.
stupid newbie
 
Old 08-06-2006, 05:45 AM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,923

Rep: Reputation: 278Reputation: 278Reputation: 278
ls >> /dev/lp1

means append the output of the "ls" command to the file "/dev/lp1", which is character device. No matter how hard you try you will never be able to do that, and you don't want to. If you want to print try the "lp" command:

man lp
 
Old 09-13-2007, 11:06 PM   #3
miles2034
LQ Newbie
 
Registered: Aug 2006
Location: honolulu
Distribution: redhat ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
solve it

I thought the permission denied meant ownership but it wasn't. /dev/lp is a program and it did not have permission to execute. so now I solved it. but still no output to my printer. well that's for another day. sorry for not checking in sooner.
thanks everybody!
miles
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ??? b0nd Slackware 2 04-02-2006 09:14 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 08:11 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 03:09 PM
LP1 Cert brokenflea Linux - Certification 2 04-08-2004 12:31 PM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 09:36 PM


All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration