LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-09-2013, 11:54 AM   #1
Mrudhul
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
In CLI for HP-UX box I get LF and CR on either sides.


Hi,

I am completely new to HP-UX and was tring to open /usr/lbin/modprpw using cat by mistake.
From the next step in CLI it show LF(on left) and CR(on right) on either sides of "#->".
Whatever prss from then comes with LF-CR on either sides.
Can someone help me to get back to normal mode and also let me know what could be the issue.

Thanks in advance.
 
Old 01-10-2013, 02:33 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,254

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Basically, you've tried to use a cmd designed for text files on a binary; it's not going to work and may (in your case DID) screw up your terminal settings.
Easiest thing is to logout of the terminal session and log back in.

Not sure if HP-UX has it, but there is a cmd called 'file', that will tell you about a file's format
eg
Code:
file screen.txt
screen.txt: ASCII text

file CentOS-6.3-x86_64-bin-DVD1.iso
CentOS-6.3-x86_64-bin-DVD1.iso: ISO 9660 CD-ROM filesystem data 'CentOS_6.3_Final               ' (bootable)
 
1 members found this post helpful.
  


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
print on both sides qrange Linux - Software 2 10-08-2012 04:04 PM
SO_KEEPALIVE : is it required on both sides?. pawan_linux Linux - Networking 2 04-08-2011 04:04 AM
Printing on both sides of the paper seran Linux - General 2 01-27-2006 08:45 AM
printing on both sides of a page virendratp Linux - Newbie 1 08-03-2005 04:09 AM
bad sides of debian spank Linux - Newbie 8 01-28-2004 10:26 PM


All times are GMT -5. The time now is 11:32 AM.

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