CentOS 5 :: Can't Seem To Save Changes / Exit Screen To Get Back To Command Prompt
Dec 14, 2009
im following a tutorial to setup a dns server, after editing vi etc/sysconfig/syslog, i cant seem to save me changes or exit the screen to get back to a command prompt. have tried to google the answer to no avail, any ideas? also im using putty to ssh, is the answer the same as using the terminal directly?
I was writing a bash script which attached to another script. The issue I'm having is, when I use the exit command written in the script, it takes me back to the first script. How do I disable this?
Okay I am curious if anyone knows how to get this screen? I remember having it a while ago before I had to go to windows, and now that I am going back to Linux I would LOVE to have this screen back! I enclosed a screen shot picture. I think its way better than just a blinking cursor.
I am using Ubuntu 9.04 Server. I use screen alot for persistant sessions and suddenly I have a problem. When I type Code: screen -R -DD as usual, I get into screen but there is no command prompt. There is a cursor and I can type commands which work, eg ls. However I don't know which directory I am in, so it makes using it rather hard.
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.
We have a vendor supplied device that requires user interation, so we are using expect to automate the process. unfortunately the vendor may change the prompts as we take patches, which breaks our expect script. What I need to do is find a way to evaluate whether or not the prompt expect receives matches and if it doesn't I want the script to exit and throw an error. Currently it times out and then moves on to the next prompt.
How do I make my expect script exit if the prompt doesn't match?
I've re-set my password in recovery mode: now how do I save my changes and exit to a normal boot up ie to my desktop? Right now my screen shows "username@Username-desktop:~$" I've also done a sudo apt-get updates and sudo apt-get desktop for good measure. But how do I get out? If I force quit the change is not saved and I cannot log on.
i have done something while changing permission in vi editor. now when i open any file, i am not able to save and exit from it. when i type esc+shift:wq after opening a file. it says cant open file in write mode.
I'm not sure this belongs in this forum as opposed to the hardware forum, but I do not beleive this is a hardware issue.I want to stop the scrren from blanking and going to power save. I'm running 5.3_x86-64 and I'm using the nVidia drivers direct from nVidia called NVIDIA-Linux-x86_64-96.43.13-pkg2.run.
So far, I'm added DPMS off in /etc/xorg.conf, removed all the screensaver packages and all the power management packagesbut the screen is still going blank after a time of inactivity.What else do I need to do? I can not allow the screen to go blank, there should be no screensaver or power management and the machine should stay in a completely awake and ready-to-use state at all times.
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.
I was dual-booting Ubuntu 11.04 just fine for about the last week but then ran into some issues and decided to reinstall Ubuntu. Now after the install I get this error: error: nu such device: d38af2a9-740e-4d3c-b267-2a3848e5d319 and it goes into the grub rescue command prompt screen. I have tried to reinstall Ubuntu about 6 times now, complete installs. I have tried changing boot priority multiple times. I installed off a thumb drive and left the thumb drive in after install, took it out after install.
I'm have much computer experience but am new to Ubuntu. I typed in sudo apt-get install ubuntu-desktop and it tells me it's already installed. Good. So it should work. I type sudo/etc/init.d/gdm start and the screen goes blank for 8 seconds three times in a row and then back to the command line. I have also tried gdm start without the path before and it says GDM already running. Aborting!
Whenever I'm running my application process, I've 1M physical memory usage is increasing for every 2 hours.This I observed using 'free -m' command.But 'top' command did not showing any increase 'RSS' size.It is same as it was started initially.Even though I stopped my process,the increased memory was not released back. If I start my application process then again memory usage start increasing by 1M for every 2 hours. increase of memory usage observer with 'free' and that too when my application is running, but top command is not showing any change in the RSS sizeIf my application is leaking any memory which is allocated by new/malloc, that should be released back whenever my application exit and the size increase will be show through top command for that process, right? This is not happeningThis proves that there is no potential leaks in my process.But why physical memory is increasing when only my process is running?
I am using the latest UBUNTU 9.10. It was working great. I logged in as Tom, put in my password and could do what I needed to do. Now when I go to the CLI through the terminal I get "Tom@new-host-2:~$ " which has no privileges. I obviously messed up something. I can't find a way to get back to my original prompt when I access the terminal.
In Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?
I just went out and bought a 19" flat screen LCD monitor. Plugged it in and it is not working correctly. When I start the computer the bios info will show up on the screen, then it goes to the screen that let's you choose an O/S if you were to dual boot. After clicking "enter" it will show the first line of the boot then it goes off into horizontal colors then goes black. I have search many different posts and googled but nothing is giving me a hint at this.I changed the xorg.conf to match the refresh rates to match the monitor but that did not work, and did not really think it would considering the point this monitor goes out on me. running: 2.6.27.7-smp 01:00.0 VGA compatible controller:
Silicon Integrated Systems [SiS] 315PRO PCI/AGP VGA Display Adapter
i have noticed that if vista is not the active partition, hybernate does not work. it just goes black and then back to the user icon screen to log back in. another "slight" problem was that i was not able to apply a service pack. after restoring vistas dominance i was able to install the pack. is there any other work arounds for hybernate? even though you might not be interested in cleaning up after microsoft.
I am trying to write a python script which logs into a NetApp filer and fetches some data. I am using the telnetlib library. Filer does not take exit command. So it expects Control-D. How to send that via python script?
Is this a beta version or something? I installed this version because it came as a live cd coupled with emc2 for cnc machining. I cannot get anything to work correctly. I tried to install Mozilla thunderbird using the application manager and it is very slow. It takes forever for the menus to open. or emails and is virtually unusable. I tried to use the startup manager and it killed my grub bootloader so I needed to reinstall. I couldnt successfully use the grub2 console prompt to log back into linux even though I ollwed several tutorials for this. I tried to install the flash player plugin and it kept telling me still to install it before I could watch flash videos even though I had installed it 3 or 4 times. I just tried to install evolution mail and it cannot log into my gmail account. I tried to install swift dove which is a faster version of thunderbird and it says it is starting but then never does. I am reasonably sure I should hang in there as I have heard Ubuntu is very good as an os.
I've installed the latest version of Ubuntu on one of my systems. I need to wipe it out and replace it with another OS for testing. After a week or so I'll reinstall Ubuntu.I've customized the looks and feel of Ubuntu desktop and have changed many other settings at a number of places. Is there a way so I can save my settings (like the desktop background, the screen saver settings, colors, terminal window settings including its fonts etc., and others) in a file or a set of files which can then be imported directly when I'd reinstall Ubuntu?
Not sure how this happened, but my Print-to-file always automatically displays "File System" as the default save location.Does anybody know how to change this back to save by default to ~/username
command will just execute and exit with a status of "0" -"Every command returns an exit status (sometimes referred to as a return status ). A successful command returns a 0, while an unsuccessful one returns a non-zero value that usually may be interpreted as an error code. Well-behaved UNIX commands, programs, and utilities return a 0 exit code upon successful completion, though there are some exceptions."[URL]With the command . . .
Code:
# dosfsck -v /dev/sdb
it could be very helpful (and decide my next move) to see the exit code as 0, 1, or 2 . the man page suggests the command exit code will specify if the message I get - "Cluster size is zero" (I think it is a "1")is a recoverable or fixable error by the utility. or is non-recoverable - a pretty nifty feature if I understand this right. [URL] is there anything like this script COMMAND_LAST used in the following link. [URL] that can be entered in the terminal window after - or at end of - my dosfsck command or any command. just to see if it has a 0, 1, or 2 status ?
every time I logout from Xwindow KDE, it doesn't redirect me to Linux command line, instead it was halted without the machine being shut down. How can I exit from KDE and go to Linux command line?
I have some screen questions. First, can you give screens names (such as whatever app you're screening), and second, how do you exit from a screen without closing the app (ie exit screen back to the command prompt, do your thing, then screen -r it)?