Often when I start looking at history of commands some of chars from command displayed aren't erased, for example:
Whats happening:
prompt$ some_command
prompt$ some_commanother_command
What should have happened:
prompt$ some_command
prompt$ another_command
I can't erase those chars and bash ignores them when executing command, also they disappear when new prompt is being displayed (after p
I added this command to my root .bashrc file to add color to my prompt
and to simplify its path portion to the lowest level directory,
Code:
export PS1="\e[1;31m\u@\h:\W\$\e[m "
and my bash prompt comes up ending with $ when I expected #.
Also, occasionally, when I enter a command, part of that command
becomes part of my prompt!
If the following is a prompt and command,
Code:
I see a 'Run' menu at the start menu at lubuntu desk top.
I booted my computer today and found the Grub rescue command prompt. I have been given this computer and it has Linux and windows 7 on it, but I have only ever used the windows section. I have no idea about Linux at all, and was startled by this "Grub" thing.
It won't let me do anything in the command prompt, and i can't boot windows. I have a netbook, so there's no CD drive on the computer.
When I start a program that runs for a bit, say make, I could just type the next command in bash even before I got a prompt back and when the
first command finished, the second one was executed as if I had typed it later. But suddenly this doesn't work any more. The additional command will be shown at the prompt after the first one finished but is not executed.
Whenever I enter into initrd prompt, I know that not every command is executed in that prompt. Can somebody tell me how I can add more commands support in that initrd prompt. It would be nice if you can provide with me some reference materials.
How can you specify the line where you want tmux's command prompt to appear?
I want to see the windows when executing tmux commands that require window numbers (e.g. join-pane, etc) but as the command prompt is displayed on top of the window numbers, I have to cancel it, memorize the window number and type the command again.
Our Terminal Servers has two Group Policies in place: one that includes disabling the command prompt, and another that runs a batch script to startup a program upon login.
But the startup program never gets launched.
Published at LXer:
There comes a time in every Linux users life when you will open the Terminal more often than not because you have realized that it is faster, more efficient and more powerful than GUI (Graphical User Interface). Youll have started to learn more and more commands and now feel more comfortable with command prompt.