LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 10: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, 01:33 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:49 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
Open Source Consulting | Domain Registration