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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In