Ubuntu :: How To Get Terminal Prompt
Jan 1, 2010How do I get a terminal prompt?
View 6 RepliesHow do I get a terminal prompt?
View 6 RepliesI 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.
View 6 Replies View RelatedIt 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 want to open another terminal from typing a command to one terminal.
can anyone tell me a command for this..
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 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.
View 5 Replies View RelatedIf 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?
View 4 Replies View RelatedSomething 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.
View 13 Replies View RelatedI'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.
View 1 Replies View RelatedSince 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.
View 9 Replies View RelatedI'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'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.
View 6 Replies View Relatedin xfce desktop >> when i try and run "disk management" >> it gives me a "not allowed" message >> How can I use su (root) with "disk management" (in the gui) without the "command prompt-terminal" window?
View 7 Replies View RelatedI'm logging on my server via PuTTY but I'm getting the bash # prompt and I can't call the few commands I know i.e.: lynx
How do I get the more familiar $ prompt?
How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?
View 3 Replies View RelatedWhat is the command for "Open a terminal window and run application in this terminal
View 4 Replies View RelatedLinux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.
My compiz settings window in General tab has 'Audible bell' checked.
My GNOME terminal has 'Terminal bell' checked.
I also added 'set bell-style audible' to my ~/.inputrc
And I also tried to manually load pcspkr module into my kernel.
No of the above helped or at least I haven't been able to notice any difference.
I also used some commands for irssi to produce bell sign.
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'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:
Code:
gksu chkrootkit
with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:
Code:
gnome-terminal --profile=<profile_name>
how do I incorporate this within the Command entry line of the launcher?
i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused
This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.
so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.
Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.
what is the difference between Byobu Terminal and Terminal? i ask this because when i upgraded from ubuntu 10.10 to 11.4 i did not have Byobu Terminal
View 2 Replies View RelatedWhen I upgraded to Ubuntu 11.04 Natty Narwhal, the Byobu terminal was installed. What are the differences between the Byobu terminal and the default terminal(I mean the terminal that is default in 10.10)? Is it more advantageous to use Byobu?
View 2 Replies View RelatedFor some reason bash is acting really really weird. When I use my gui terminal, and I tryto use tab completion, it freezes up the terminal, and I can't edit the line at all unless I do a ctrl+c.and when I try to do tab completion in text only mode it prints out : "Error: Can't open display: (null)"again and again and again, and I have to do a ctrl+c, also in text only mode it will randomly log me out. I have tried checking for blown caps, but there weren't any, and all the other programs work fine except for the command line. I am using bash version: 4.1.5(1)-releaseand gnome-terminal version: 2.30.2
View 5 Replies View RelatedI 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?
View 4 Replies View Relatedgnome-terminal from the Debian squeeze does not use the 'default_size_columns' and 'default_size_rows' from the /apps/gnome-terminal/profiles/Default/ folder of gconf.
View 6 Replies View RelatedRecently I've updated from 13 to 14. However, after updated I've tried to work with my terminal and it seems doesn't works fine. I can read 'starting terminal' but after that it's closed.I've uninstalled and re-installed it through the graphical tools (gnome-terminal) but that doesn't works fine.
View 3 Replies View Related