shell prompt is printed first and then logs of previous commands are printed

Bug #1550414 reported by Aayush Kapadia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-lts-utopic (Ubuntu)
New
Undecided
Unassigned

Bug Description

I was trying to run some application in background by providing '&' at the end. However because of spelling mistake I typed something else. So Ideally it should print "Command Not Found" and then print the shell promt (">>") . However reverse is happening. First shell prompt (">>") is printing and then all "command not found" and other logs are printing out.

Also in case of wrong command with '&' at the end it is also printing that it created background job for that pid something like this

aayushkapadia@aayushkapadia:~/MyShell$ sdfg &
[1] 6344
aayushkapadia@aayushkapadia:~/MyShell$ No command 'sdfg' found, did you mean:
 Command 'sdf' from package 'sdf' (universe)
 Command 'asdfg' from package 'aoeui' (universe)
sdfg: command not found

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.16.0-57-generic 3.16.0-57.77~14.04.1
ProcVersionSignature: Ubuntu 3.16.0-57.77~14.04.1-generic 3.16.7-ckt20
Uname: Linux 3.16.0-57-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb 26 22:02:37 2016
InstallationDate: Installed on 2015-10-09 (139 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: linux-lts-utopic
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Aayush Kapadia (kapadiaaayush) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.