It appears to me that with the default .bashrc the user, computer, and working directory are shown in the title. If so, I see no need for that info in the prompt (space waster).
If this is always true, how do I change my prompt to simply "$" and the root prompt to simply "#"?
I program in C with geany and two terminals open; one to compile and one to test the compiled program. The thing is that it's hard to the eyes to keep track of the messages and such when the terminal prompt is too long:
Code: manos@manos-desktop:/media/Iomega1TB/Documents/UNI/Datastrukturer och Algoritmer/labbar/lab1$
How can I change that to something minimal? I don't want a permanent solution as all other times I want to be aware of the current path.
I was using ffmpeg and mencoder making a video of some jpgs of my grandson when something weird happened.I entered a chmod command and then all I got was ">" on the left side of the terminal.I closed the terminal and reopened it and got back to where I was at and ended up with the same thing.I can not enter exit or anything else. I just have to close it.Rebooting didn't even help it. Now I cannot enter other commands like an ffmpeg command.I was able to cd to where I wanted to go, but when I got there and tried about any command I ended up with a ">" prompt.
I can boot up ubuntu but it's just showing the default background, the login prompt won't come up. What do I do? Startx doesn't work in the terminal (ctrl-alt F1), it gives an error. I can log in as root (recovery mode) and startx works and the desktop comes up though.
If u are usibg debaian or its derivative we can tweak out the terminal prompt. For example:
Quote:
If you are interested in tweaking. open up the .bashrc file in your home directory and add these lines
Quote:
replace this with :-) or any other thingy u can think of. 34 represents colour, in our case it is red. The result will be
Quote:
This was seen in a book i read. if u have any doubt at all please post. i'm stll thinking of how i can remove the line saying "ubuntu@ubuntu" and just have "~$" at the prompt.
To flesh out my *nix capability, I create new identities and give them the functionality that I liked in previous ones. I've added the "open terminal here" script, which I find invaluable. Now I want to change the prompt. This is what the terminal does right now: ITo run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. elliot@dan:/media/KINGSTON$
- Where do I go to shorten the prompt dramatically? I can't really think of a situation where a shorter prompt isn't better or color matters. - How do I adios the 2 sentences that want to appear every time I open this terminal? I'm aware what sudo does. - Instead, I would like the equivalent of a pwd command. Where would I put that? - How do I get the output of this terminal to be simultaneously saved in a file. I do so much copying and pasting out of these terminals that I'm looking for easier ways to do it.
Ive just done a fresh install of F13, after an install of AMD Cat 10.7 screwed up my system.Although everything works, ive just noticed that when I open a terminal, instead of my username prompt, I now have "bash-4.1$".Firstly is this a problem? and if so how can I get my normal prompt back?
Something unfortunate just happened. I was editing the bash file from my terminal and changed a source. After this I was no longer able to input commands for interpreting in the terminal.
I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.
However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.
I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.
A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.
I managed to change the background by copying over a new image file to some directory. However, there is still the big boring login window. Is there any way to change that? I'd like something darker, and smaller. I copied over the image file to /usr/share/backgrounds/warty-final-ubuntu.png My image file was actually a jpeg file, but copying it over to /usr/share/backgrounds/warty-final-ubuntu.png posed no problems.
This might be simple but i am unable to find an answer anyplace online. How do you change the terminal login prompt on a Ubuntu server?Right now when you go to log into the server it displays:<old_servername> login:
I would like it to just display login without the server name or the new server name. I am not sure how that info go in the login prompt to begin.
I'm using Nomachine NX client for Windows to remotely connect to my Ubuntu.Every now and then I experience a strange phenomena: the text in the prompt of all open terminal windows becomes black, so it can't be viewed over the black background. Typed commands are also black, but the results are in normal colors. So I can run stuff, but can't see what I'm typing...After I close all open terminal windows and start a new terminal window, everything goes back to normal.
Since upgrading ubuntu boots to a prompt rather than logging into gnome. has anyone run into this? what can I do to fix this? I recently upgraded from Ubuntu 9.10 to Ubuntu 10.4. does anyone know the command to start gnome from the prompt?
I just got a Tablet PC, and I installed Ubuntu on it. But, problem is, I tried to install 10.10, and it would install properly, but it wouldn't load, just brought up the GRUB loader with a terminal prompt. I ended up having to install 7.04, and it works great. but I'd like to upgrade it.
I mainly use debian jessie , recently i have installed daragora as my second os to get a feel of gnu/linux . the problem is that dragora uses bash , and it's commands are different from debian jessie terminal is there a way that i can use the same commands here in dragora?
I have one account on an Ubuntu server with the correct PS1 variable and I want to make one of my other accounts on the same server have the same PS1 variable, so that my prompt on this new account (when I ssh into the machine) is the same as the original account.
Is there a way that I can pass this PS1 variable between accounts so the prompt is the same?
I have tried printing it out, copying the output, and then reassigning it to PS1 on the new account, but it just doesn't work.
I've created a brand new CentOS 5.4 (Final) 64bit machine AMI on Amazon EC2. This was based off an existing image. I was able to follow the wiki to add NX server. I am using WIN XP desktop for NX client.
I can connect to the EC2 machine and get the GNOME desktop fine. I see the usual CentOS desktop and poke around.
Q/Problem:
I expected to open the Terminal window and get a shell prompt to su into root user (I need to be root to install some software that needs GUI). I do not want to install this from my plain SSH connection to EC2 (hence the NX server etc.).
When I open the Terminal window, all I get is the NX>105 prompt. I need to get to a shell prompt so I can su into root. For life of me, I cannot get around this prompt (I looked at NX documentation too). Note that this is a prompt NOT on client but on the remote machine. I do not need this as I'm already authenticated and logged in to remote GNOME desktop.
Obviously the TERMINAL is running some NX start up script (I've no idea which one). If there is some other way to sudo into root?
I am using ubuntu 8.04. At login prompt my screen resolution is 1024x768 which makes letters look so small how can I change it 800x600.In my user account I have set it to 800x600 using system>preferences>screen resolution.
I am using Puppy Version 430.I want to change the default prompt from # to the current working directory followed by one space. I can do this by opening a console window and entering PS1="w " How do I force this to persist when I restart the computer.
I'm trying to change the Xfce Terminal Emulator prompt from bash-4.1$ to something like what kconsole has. If i issue a /bin/bash -l in the terminal, then I get the prompt and the colors that I want, but I'd like this to automagically happen when I click the Terminal icon in the Xfce panel.This is for Slackware 13.37 (32bit) and Terminal 0.4.6
Now I know that in order to change the colors in your terminal you have to play around with ~/.bashrc But the effects don't stay in place after a change-root is taken affect. It just reverts to black. Is there any way I can change that too in .bashrc?
I looked into my shell 'profile' on my running lenny and copied the PS1 definition over to my [virtual] new squeeze machine, but astoundingly, the prompt does not change!
The prompt always remains to be like this:${debian_chroot:+($debian_chroot)}u@h:w$
This does definitively not stem from 'profile' and I cannot find, where it is defined and how I can override this. If I do it interactively, in a terminal [terminal running in Gnome], it works like expected. In that script, even if I use 'unset PS1',followed by PS1= ... / export PS1, it does not change,Someone with the knowledge and/or a good idea would be great!
I'm trying to change the bash prompt and based on the man pages $ should show a $ which changes to a # for a SU. However, this doesn't happen on my machine, it's $ for both user and SU.The line in .bashrc is:export PS1="u@h:w$"
I have looked almost everywhere for how to change my default shell prompt. When I open my bash shell, the prompt is [fedora-dev@Fedora-Dev Documents]$. I would like it to open at fedora-dev@Fedora-Dev]$.
Can someone tell me where to change this at. I have looked in .bashrc, etc/profile, and environmental variables.
I would like to put a variable in the $PS1 prompt that will change each time a command is run. I want the color of the $PS1 prompt to change each time a command is run.I know that I can do this:
Code: PS1="h@w # " ## "#" is changes every time a command is run