Long commands overwritten in the same line

Solution Verified - Updated -


  • Not able to write long commands on terminal in multiple lines. The command overwrites in the same line.

  • Expected behaviour at terminal and putty is :

# /tasks/iso/bin/keytool -import –alias %Alias% –file  /tasks/iso/lib/security/%Certificate_Name% -keystore /tasks/iso/lib/security/certs
  • The system write like :
/security/%Certificate_Name% -keystore /tasks/iso/lib/security/certstasks/iso/bin


  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content