General :: Change PS1 When SH (Shell) Out Of VIM

May 19, 2010

I've had my prompt change whenever I :sh (:shell) out of VIM, but can't for the life of me remember how?. The idea is to change the prompt to something like [SH] <your usual prompt here>, so that I know that VIM is running in the background.. I often logout of the shell, because I think VIM is open.

View 3 Replies


ADVERTISEMENT

General :: Can't Change Shell To Cshell

Feb 28, 2011

I was trying to change my shell from bash to csh by typing "csh" and got this error "if: Empty if." I figured it is because if and then do show up in the same line in the cshell source file. However there is no .cshrc in my home directory. I looked at the /etc/csh.cshrc and everything seems correct. No "empty if".

View 2 Replies View Related

General :: How To Change Shell Without Login

Jul 26, 2011

I work with a text mode debian6.0 and when I was testing some commands, I changed default shell to ash. System replied that it has not ash shell.so I thought the shell did not change. But when I start the system again and enter root password, I see a message like "can not execute ash. No such file or directory" and then system return to login page again. Root is the only user on that system.

View 11 Replies View Related

General :: Change The Default Width For Shell?

Apr 28, 2011

anyone knows how to change the default width for shell window in Linux(Ubuntu), so that I don't have to re-size it every time I open it up?

View 2 Replies View Related

General :: Change My Default Shell Prompt?

Jul 8, 2010

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.

View 6 Replies View Related

General :: Change To Shell Type That From SH To TCH And Back Again And Lost Coloring Of File System

Nov 18, 2010

after i made the change to my shell type, that from SH to TCH, and back again, i lost my coloring for my file system, if you know what i mean, folders always come in blue, and devices in yellow hope you understand? now everything i do can't seem to differentiated between files colors anymore.

View 7 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

Fedora :: Cannot Change Shell Theme?

Jul 10, 2011

I overwrote this laptop from an Ubuntu installation to Fedora 15 (Gnome 3 doesn't work, in fallback mode) and unfortunately the theme is messed up. Using Gnome-Tweak tool I cannot change the shell theme, instead I get the message Quote:Could not list shell extensionsAny way to bypass or clear out so it returns to default?---------- Post added at 10:36 PM ---------- Previous post was at 07:12 PM ----------After reboot I had kernel crashes and the system would not boot up anymore. So I re-installed over the previous one, and modified the .gconf, .gconfd, .gnome2 and .gnome2_private before connecting my /home directory to the folder

View 2 Replies View Related

Programming :: Change The Prompt Of Shell Through C?

Oct 30, 2010

I have an assignment that I have to change the prompt of shell through C.

View 11 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

Fedora :: Gnome Shell - Change Defaults?

Jun 3, 2010

I feel like this is a RTFM question, so if anyone wants to just direct me to the right manual, that's fine.

I just installed gnome-shell and i cant seem to find anyway to customize anything, esp. the task bar, the clock, et cetera

is there a preferences gui or something that I cant find? I feel like i'm trying to use a mac....

It seems pretty sweet, but, i dont know how to get used to not having a window list... i dont wanna pull up the "activities window" or alt tab every time i want switch windows (esp when my hand is used to just moving to the top of the screen and clicking on the right window...

There's this autohide taskbar at the bottom of the screen, but i cant for the life of me figure out what it's for, or how to put things on it....

View 8 Replies View Related

Ubuntu :: Trying To Change Default Shell And Failed?

Jun 9, 2011

i'm pretty new to ubuntu. I was "playing" trying to change my default shell and failed. Now, after logging in, i open a terminal window and type "su". Ubuntu asks me a password, i give my password and i get this error "unable to execture /bin/bsd-csh: file or directory does not exist". Any idea on how to solve this problem restoring my old shell.

View 2 Replies View Related

Software :: Want To Change Keyboard Layout On Shell

Mar 13, 2009

I've installed fedora10 on my virtual machine under a OpenSuse10.3. When installing i ve chosen English language and French layout for keyboard. But any time i run fedora my kb is English and i cannot find how to change it
How can i do it using shell?

View 1 Replies View Related

Fedora :: Nvidia - Change Screen Setup In Shell?

Jul 25, 2011

I have an NVIDIA graphics card and use the proprietary Nvidia driver for Fedora (13).Usually when I connect another monitor/screen - I change the setup through the nvidia-settings GUI. However, I find this a little bit cumbersome, and would like to do it with a simple click on a button or something like that.Hence:Can I somehow change my screen configuration through a bash script.

View 3 Replies View Related

OpenSUSE :: Change To Using Gnome3 Shell And After An Initial Familiarisation?

Jun 5, 2011

I have recently changed to using gnome3 shell and after an initial familiarisation i find its usability far better than other desktops and judging by the recent articles and blogs it will be the future so the earlier people start using it the better it will be. I am sure there will be a few bugs to fix, but one thing I have noticed is that in the applications list the app for 'Desk Top Effects' is there, given that gnome 3 does not use compiz nad actually uses clutter why is it there. My curiosity got the better of me and i tried to enable it, which resulted in immeadiate crash!!

View 3 Replies View Related

Ubuntu Installation :: Change Compiler For A Single Shell?

Feb 11, 2010

I have upgraded my machine to Karmic, and thereby getting gcc/g++ 4.4 in the process. I have some code that requires gcc/g++ 4.3.

I can change the compiler system wide by redirecting the symbolic link from 4.4 to 4.3

Code:
sudo rm /usr/bin/gcc
sudo ln -s /usr/bin/gcc-4.3 /usr/bin/gcc

but i would like to have it done per session instead.

View 9 Replies View Related

Ubuntu :: How To Write Shell Script To Change Resolution

Aug 6, 2010

Writing a Shell script which changes my X11.org config to 800x600 from any other resolution .

View 1 Replies View Related

Ubuntu :: Write Shell Script To Change Resolution?

Sep 23, 2010

Canceled a sys backup in progress now my Waste bin is at max and must be emptied.However OpenSuse 11.3 contradicts itself by claiming there is 0 in the waste bin? Perhaps there is a Bash command that would solve the problem

View 8 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

Debian Configuration :: Change Prompt Color In Bash Shell?

Jan 13, 2010

I am getting more and more comfortable working with the shell, thus I would like to change its prompt color to my liking, as it will be easier for me to distinguish commands vs. outputs.

I've read a couple of instructions of how to change the .bashrc file and am familiar with what the codes in PS1 mean. Except, this file can be intimidating to newbie eyes.

Where exactly on the file is it that I need to make the change?

Here is what I am trying to do. I would like my prompt to like exactly like the prompt I use in Backtrack - which consist in two different colors, one for the host and another for the pwd. Here is what the Backtrack .bashrc file looks like:

# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/local/share/man:/usr/bin/man:/usr/share/man
export HOSTNAME="`cat /etc/HOSTNAME`"

[Code]....

I also read that in order to have the same results when I log in as root, I will have to copy the modified .bashrc file into /root

View 8 Replies View Related

Ubuntu Networking :: Call Shell Script On Network Change?

Jan 21, 2011

I have a script that I would like to run when my laptops connects to a new network (e.g. changes to another SSID). I've done some searching on the net but could not find any suitable solution (but I bet there is).

View 6 Replies View Related

Server :: Change The Owner Of The Mysql Database With Shell Commands?

Jun 19, 2010

i want to know how can i change the owner of the mysql data base with shell commands.

View 3 Replies View Related

Software :: Using An Shell Script - How To Change A Value In A File According To The User Input

Sep 28, 2009

I have a file called a.sql which I need to execute in a database and the script I am calling in a shell script .Before executing the script I have to change a value in the script according to the user input.How can I do this .

Eg...
A.sql file contains an sql query like this:

And My shll script is like this:

When executed the script it asks for enter salary and if the user has input 5000 then the Enter_salary value in a.sql must be replaced by 5000.

View 6 Replies View Related

Ubuntu :: Change Nautilus Windows Size And Colors In Gnome-shell?

May 22, 2011

No Matter what I do and change in gnome-tweak-tool, the window title bar won't change to anything else, won't go smaller, even the downloaded themes won't change the bar, and I cant seem to find the needed codes in xml to change them. photo is attached to illustrate the things I need to changeI need to change their size in the first place, and maybe change them to like ambiance or whatever. i've seen many guides on the net, and It still don't find the neeeded solution

View 1 Replies View Related

Red Hat / Fedora :: Creating Web Page For Users With Restricted Shell To Change System Pw?

Feb 3, 2011

I have a box that's used as an SFTP server. All users have restricted shell so they can only use SFTP to send and receive files. But it makes it hard to have them change their passwords. I thought that if we had a web page set up where the user could enter their username, old password, new password and confirmed new password, that this would be the easiest solution.

View 1 Replies View Related

Programming :: Shell Script And Administration Of A System - Change Or Set The IP Address And Subnet Mask

Aug 26, 2010

tasks of an administrative level that we can use Shell Script to automate them. It's a kind of homework for me to figure out how to automate those tasks. Using PHP and Shell Script design and develop a Web Interface to change or set the IP Address and Subnet Mask of the UNIX / Linux System. The related services must be restarted automatically for the new IP Address and Subnet Mask to take effect. No user name and password should be asked for when using that Web Interface. How would you do it?

View 10 Replies View Related

Ubuntu :: Writing A Single Shell Script To Change Preview Settings And A Launcher's Icon

Mar 22, 2010

I want to write a single shell script that allows me to, once executed from a panel launcher, change the image preview setting between "local files only" and never. Right now i have two tiny scripts, one for local files only and another one for never, that is:

[Code]...

and the other says string "local_only". But that means i need to have two launchers, because i don't know how to write the condition <<when set to never, change it to local only. And is it possible to make a script that also changes the launcher's icon when the preview config is set to one or the other value? That way i'd know what it is set to just by looking at it. It would act as a diagnostic and therapeutic tool XD

View 9 Replies View Related

General :: What Config File Do You Change To Change Default Run Level?

Aug 5, 2009

What config file do you change to change default run level???

View 3 Replies View Related

Fedora :: Stuck With Bash Shell / Changing Default Shell To Tcsh?

Mar 14, 2010

I want to change my default shell to tcsh. I used

Code:
usermod -s /bin/tcsh username
command as given at url

But if I open a new shell, it is still a bash shell.

How do I make my default shell as tcsh?

View 6 Replies View Related

Ubuntu :: Using 10.04-server 64bit AMD With Fluxbox - Matlab In A Shell The Shell Does Not Display Characters Anymore

Jul 26, 2010

I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved