LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-01-2005, 08:21 PM   #1
baosheng
Member
 
Registered: Oct 2004
Location: Lubbock, TX, USA
Distribution: Ubuntu 7.10
Posts: 74

Rep: Reputation: 15
is there any shell command to read and write data from parallel and serial port?


I want to send data from parallel or serial port of my PC.Once I used C language to program,I open the /dev/xxx and send/read data.
But I want to know if there is any alterntive way to use shell to send/read data.

thanks
 
Old 10-02-2005, 04:47 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,503

Rep: Reputation: 174Reputation: 174
"I want to send data from parallel or serial port of my PC.Once I used C language to program,I open the /dev/xxx and send/read data.
But I want to know if there is any alterntive way to use shell to send/read data."

You might be able to do what you want with minicom. See:
man minicom

---------------------------
Steve Stites
 
Old 01-13-2007, 08:35 PM   #3
smbates
LQ Newbie
 
Registered: Sep 2004
Location: Australia
Distribution: Slackware, Ubuntu, DSL, SuSE
Posts: 1

Rep: Reputation: 0
parashell

Hi, I discovered this one only last week. Just google for parashell. It provides two shell commands - parashell can write to the parallel port, and pin can read it.

Steve
 
  


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
Serial Port read in shell script tjt Linux - Newbie 1 08-12-2004 09:18 AM
Serial port Read Write SeanatIL Programming 2 07-14-2004 03:42 PM
Why can't I read in data from the serial port using a bash script? tjt Linux - Newbie 1 06-17-2004 12:21 AM
shell script: sending data through the serial port funkymunky Programming 2 06-09-2004 11:47 PM
serial/parallel port marco_aq Linux - Networking 1 10-12-2001 02:44 PM


All times are GMT -5. The time now is 12:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration