General :: How To Access Prompt
Mar 20, 2011
I am using fedora on my home pc. Due to some reasons fedora is does not show my GUI interface. I want to access my shell prompt. how can I access my system at prompt so I may troubleshoot my system
View 7 Replies
ADVERTISEMENT
Apr 7, 2011
I am trying to access another partition on my drive through the command prompt. I have tried to access it through the /dev directory but when I input "cd ./sda1" or "cd /sda1" it says no such file or directory.
View 8 Replies
View Related
Jul 22, 2011
I erased Windows a week ago and is loving Ubuntu 10.04 (which changed to xubuntu after installing Qimo for Kids??) ever since. Now I want to get coding again and PHP is working fine, but I can't access mysql!?I followed a ton of guides, completely removed, reinstalled etc. Nothing works.Here some stuff that might be interresting. I can't remember the "ls" and "awk" and "grep" commands to use, so please guide me if you need more info.
sudo mysql status
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
sudo update-rc.d mysql defaults
update-rc.d: warning: /etc/init.d/mysql missing LSB information
[code]...
View 4 Replies
View Related
Feb 17, 2011
I have been reading guides for a while now and so far have not found an exact solution to my problem.
I want a linux user (dave) to be able to switch to another account (patrol) without a password prompt, but dave must still be denied access to root. Patrol must also be denied root access.
In the sudoers file
Code:
User_Alias Patrol=dave,john
root ALL=(ALL) ALL
Patrol ALL=(patrol) NOPSSWD: ALL
[Code].....
View 6 Replies
View Related
Dec 19, 2010
Everything was working well between my Windows 7 shares and all three of my Ubuntu machines. I just replaced my buggy belkin router with a Netgear one and now none of the Ubuntu machines can open my windows box through Nautilus. All three (one 10.04, 2 10.10) can see the Windows box but when I click on it I get the never ending password prompts. My Mac can access the Windows 7 machine fine, and all three Ubuntu boxes can access the shares with CIFS/autofs. I just can't browse the available shares using Places->Network. I'm lead to believe something on Win 7 reset when I changed the router but after two days I'm at a loss as to what it could be.
View 3 Replies
View Related
Aug 2, 2011
I do regular updation of my system. Today, I have updated my ubuntu system, but after booting I am getting only grub> command prompt. I am not able to see my main login screen.
- I am using 11.04.
- I have ubuntu 10.04 cd.
View 1 Replies
View Related
Mar 1, 2010
I have a Debian etch system I haven't fired up for about a year because the mobo went bad.I had one user setup, I hammered it with all my normal passwords and finally got a prompt that said 'Access Denied'So my understanding is that I figured out my PW, but for some reason this user doesn't have access anymore.Is there a workaround for this? I am just trying to retrieve some files from the drive I don't have a problem formatting it.
Also I tried hooking it up to a windows machine:I loaded Ext2 IFS, it recognizes the drive, but says it can't load it - something to do with the headers being closed out improperly, and basically said I would have to boot it in linux then try it in windows.I tried this after I got to the linux logon prompt (the bootloader had scanned the drive because it hadn't been scanned for x amount of days), this didn't help Ext IFS read the drive.
View 1 Replies
View Related
Nov 28, 2010
How do I set up a server to where it does not give a password prompt to access a shared folder?
View 1 Replies
View Related
Mar 19, 2010
I'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?
View 4 Replies
View Related
Feb 2, 2011
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 Related
Dec 11, 2010
I use a specific PS1 prompt that I like. I share a few logins with other other people on a few different servers. I was wondering if there was a way to specify in my local bash profile a remote prompt or any other way other then copy and pasting each time I remote in.
View 7 Replies
View Related
Mar 19, 2011
I am using cent os5 as a proxy server. Normally to use Internet we use Firefox web browser on GUI Interface. I want to know that is there any way to run Internet on terminal ?
View 3 Replies
View Related
Mar 5, 2010
I am a newbie who has had a problem with a YDL 6.1 install that started out great and went astray and now I am at a complete loss.
View 3 Replies
View Related
Feb 20, 2010
Is there a way to run a prompt at logout or shutdown? I added the following code to .bash_logout, but apparently the �read� command doesn't work from there.
Code:
echo "Make a backup now? (y)"
read answer
if [ "$answer" != "y" ]
then
echo "Backup aborted."
fi
I am using Ubuntu 9.10
View 2 Replies
View Related
Dec 15, 2009
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.
View 1 Replies
View Related
Sep 6, 2010
After contracting malware on Vista i decided to switch over to Linux and chose to start of with Ubuntu because of the graphical interface. that being said, you have no doubt inferred that i have no coding experience. basically i was hoping to find some nice tutorials and sites for Ubuntu. Also, i did downloaded the suggested programs and patches but im still experiencing problems with Adobe,flash, and and opening .exe files. for the latter, when i click on .exe files it is equivalent of using explorer on windows so i was wondering how to use the command prompt to open them. supposedly linux is susceptible to malware so if you could please suggest a anti -malware program.
View 14 Replies
View Related
May 30, 2011
I dont have login prompt after loading OS , i only see mouse cursor, now i cant use my laptop.(i have the same problem in safe mode),
View 5 Replies
View Related
Mar 7, 2010
Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt.
[Code]....
View 1 Replies
View Related
Apr 4, 2010
I'm looking for a way to get my IP address using the command prompt in Linux. I know when you type "ifconfig" you can get your local IP address (i.e. 192.168.0.103), but I'm looking for my IP address that I get from my ISP. How can I get this from Linux without having to visit some website?
View 3 Replies
View Related
May 6, 2010
I would like to change the formatting on my BASH prompt from this:
anon@machinename.domain.poo:~/some/very/annoying/long/path$
to something like this:
anon@machinename.domain.poo:~/some/very/annoying/long/path
$
The idea is that I would be able to type a reasonably long command on one line without it wrapping to the next line so quickly.
View 2 Replies
View Related
Oct 26, 2010
Currently the terminal prompt looks like this:[karlis@karlis-desktop current_folder]$How can I minimize the prompt, so that it only shows $ or # without extra info in square brackets?I checked the preferences for the default Gnome-Terminal and Terminator - there are no settings for this. It is pretty hard to use terminal when working in directories with long names.
View 1 Replies
View Related
Feb 2, 2011
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.
Here is what is printed when I type echo $PS1:
[e]0;u@h: wa]${debian_chroot:+($debian_chroot)}[�33[01;32m]u@h[�33[00m]:[�33[01;34m]w[�33[00m]$
I want to assign that prompt (shown above) to my new account.
View 2 Replies
View Related
Apr 17, 2011
After writing a new prompt for Bash, I noticed that one character of my commands were being lost when it wrapped to the new line. Here is an image of the example (I typed 1234567890 over and over):
Here is my $PS1
PS1="
[[e[0;90m]d [e[0m]] [[e[0;90m]$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') files, $(/usr/bin/du -sh | cut -f1)[e[0m]
[[e[0;36m]#[e[0m]] [e[0;95m]u[e[0;90m]@[e[1;92m]h[e[0m]: [e[1;34m]w [e[1;30m]$[e[0m] "
What have I done wrong?
View 1 Replies
View Related
May 25, 2011
So here's the problem. We've got the /etc/sudoers file set up so that users can run commands from /bin like "cat" or "mkdir" without entering a password. The problem is that the "su" command is also in /bin, so if they enter "sudo su", it gives them root access without a password. Here's the /etc/sudoers file:
Defaults targetpw
%users ALL=(ALL) ALL
root ALL=(ALL) ALL
support ALL=(ALL) NOPASSWD: /sbin/, /bin/, /opt/, /etc/init.d/, /elo/
support ALL=(ALL) NOPASSWD: /usr/bin/mysql
Is there a way I can deny /bin/su while still allowing the rest of the /bin commands?
View 1 Replies
View Related
Aug 26, 2010
The command export is working inside a shell script, but when I type it at the command prompt / terminal it doesn't work. "export: The command not found" error is displayed instead.
I tried this:
cat test.sh
Code:
abc=123
export abc
echo "Exit status of export abc: $?"
[code]....
I tried it before on my RHEL system and it was working. I have checked
Code:
echo $PATH
which is okay. What could be the problem?
View 7 Replies
View Related
Jul 9, 2010
I have a script in /etc/rc.d/init.d named foo. I want to start/stop/restart my process as follows:$ foo start But I do not see the [OK] message once it starts. There is no shell prompt returned either. It seems that my own process is the problem. The executable that foo calls is built from this sample code:
int main()
{
do {
printf("Hello world
");
sleep(1);
} while (1);
}
Do I have to return some kind of signal handle for this to work?
View 6 Replies
View Related
Jul 15, 2010
I have a question about the prompt. it is very easy to tune it for it to be colored and display path where you are etc. But my problem is that when the path is too long I would prefer the code line to be on the folowing line...
Ex
11:00 me@host a/short/path > ls -ltr ./stuff
11:00 me@host a/very/very/very/long/path
> ls -ltr ./stuff
and to be honnest as I am very new in LINUX I don't know how to do this...
View 7 Replies
View Related
Jan 25, 2011
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$"
View 7 Replies
View Related
Feb 9, 2010
I recently installed Kubuntu with the windows installer wubi. Everything has gone fine until today. When i turn on the pc i normally have a prompt to go to windows or kubuntu. I choose Kubuntu and it loads it up. But now it goes to a grub prompt and i have no idea how to fix this or get into Kubuntu.
Things i did before the last reboot that may have caused this.
I edited my swappiness to help speed things up at the advice of many websites.
Example: url
I changed it from 60 to 10. I did this by adding the line "vm.swappiness=10" to the end of sysctl.conf
I noticed that there was a # or something at the beginning of every line in sysctl.conf and i did NOT add it to my line. This is my guess as to why i am having problems.
The other thing i did was some bug updates. Something was popping up down by the clock area and it was asking me to do some bug updates of some sort. I said yes.
Any idea on how i can fix this? As of now i cannot get into kubuntu at all. It just gives me a grub command prompt.
View 3 Replies
View Related
Sep 13, 2010
i have changed my monitor from crt to lcd and find the fonts to be a little out of focus,
so far i have achieved native resolution of 1280x1024 in gnome which is great! i have configured grub by adding the vga=xxx appropraite for native resolution of my monitor which is great !.........but herein lay the problem, everything is so small and stuck up in the left corner , so small that i cant read it very well.
how do i increase the font sizes at cmd prompt without changing the resolution ? dare i say ........in windows i would increase the DPI , how do i achieve this in centos ?
View 7 Replies
View Related