Software :: Install Bourne Shell On Ubuntu?
May 30, 2011So, is there anyway to install Bourne shell in ubuntu? How can we bring Bourne shell to ubuntu?which Linux distro uses Bourne shell.? Is there anyway to use it via VirtualBox?
View 2 RepliesSo, is there anyway to install Bourne shell in ubuntu? How can we bring Bourne shell to ubuntu?which Linux distro uses Bourne shell.? Is there anyway to use it via VirtualBox?
View 2 RepliesI just upgraded my OS and find that I have a generic type terminal.How would I go about getting the Bourne again shell?
View 14 Replies View RelatedI have a question about using bourne for a shell script. I have a script that at the moment performs a logical dump of my database, backups up the physical files of the database, and backs up everything within /var/www
I want to be able to copy the files over ssh to a remote server. However, the only way I am able to find examples of doing this is when you exchange keys and do not need to provide a password. How can you write a script that requires a password, not key exchange? I was told I specifically have to do it this way.
I am looking for an alternative to using $0 in bourne shell. I am in the process of migrating all my production shell scripts to a new tool that will automate execution and release of "jobs" in my production system. And this tool does not like the usage of $0. Which means echo $0 or "basename $0" returns null.
View 2 Replies View RelatedI have a program that I run from the terminal that requires manual input (it's matlab in mex debugging mode, matlab -Dgdb, which starts the GNU C debugger with its own custom settings).
Every time I run this program I always type in the same few commands in the program's interactive shell before I actually start working (for example: run -nojvm; stop at mexFunction; continue). I want to avoid typing these commands and I thought I could do this with shell scripting, saving the commands in the mycommands file, then running: myprogram < mycommands
The problem is that this runs all the commands and then exits the program. I want it to run the commands and return control to me so I can run my commands. Is there a way to tell the shell to use a file or a string as the input to a program then immediately return control to the user without the exiting the program?
I have a command which generates the following output:
Code:
$ sudo vnconfig -l
vnd0: not in use
[code]...
I'm using openSUSE 11.1 I have to install downloaded zlib-1.2.5.tar.gz via Shell. First I have to unzip and then instal. Can anyone write here the sorted codes of Shell for installing?
View 1 Replies View RelatedI ve installed Ubuntu 9.10.I need to work on zsh shell.
Am i new to linux.
I used chsh -l to find out the list of shells installed in ubuntu.
WHen i tried to type zsh and press enter via my default login shell bash,it says
sh:zsh not found.
Zsh is not installed in ,y system?? And if i have to install zsh shell what is the step?
I am trying to install gnome-shell. It *seems* to work fine for the most part, but in the terminal, I get the following:
Code:
When trying to install gnome-shell I get this error:
sudo apt-get install gnome-shell
davek@davek-laptop:~$ sudo apt-get install gnome-shell
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gnome-shell: Depends: libgjs0 but it is not going to be installed
E: Broken packages
davek@davek-laptop:~$
What would be needed to fix broken packages?
I'm running 10.04 32bit
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 RelatedIs there any way I can switch my desktop shell from unity to, say, gnome-shell? I can switch using other console shell I like (bash, csh, fish, etc.). Assume that there is a stable alternative desktop shell, I should be able to choose, too.
(For console shell, we goes to /etc/passwd. But for desktop, I can't find the way to config.)
I have to install a program from a tar.gz file. I have extracted it using fileroller, and it contains an installation "shell script" file.
I have no idea what scripts are, or how they work. I tried sudo make/sudo make install, with no luck. how I install this program using the shell script file?
I'm running Intrepid and so far have failed to come up with anything other than detailed instructions on how to compile/install Gnome-Shell. Has anyone come up with a binary of gnome shell? It seems I once saw a link to a PPA...or maybe I'm just hallucinating
View 3 Replies View RelatedFirst off I just want to inform you that I've done a lot of research, used countless of hours on Google trying to figure out how to solve this problem I'm having. I'm installing Ubuntu 10.10 64bit with Wubi on the same partition I have Windows 7. And the error I get is the: "Alert! /dev/sdb1 does not exist."
I'm able to get into Ubuntu after waiting a couple of minutes and writing "exit" in the "initramfs".
This is what I've tried:
- Installing without Wubi, still the same problem
- Adding pci=nocrs
- Adding rootdelay=90 in grub.cfg
- Changing the root location to "/dev/sda1"
- Tried using the uuid
[Code]...
"fdisk -l" shows sda1 and sdb1-3. In the boot selection screen Windows seems to be on the "sdb1" as it says "Windows 7 /dev/sdb1", and I thought as I installed Ubuntu through Wubi on the same exact partition that would be the correct root path, but obviously no. Does anyone have any idea what might cause this problem I'm having? Seems like a lot of people got this out there, and this is making me mad!
I recently came into (temp) possession of two Original, white, 700 MHz eMacs. I have only started to play on one of these so far. Installed Ubuntu 10.04 PPC from Alternate Install CD - two times actually (because I thought I may have screwed something up the first time), but both times it seemed to go without a hitch.
After install and restart, I cannot drop into a shell, all I get is the black screen. I'm probably forgetting something really obvious, but I've tried Holding "Shift" and "F1" and control+alt+F1 (and F2, F3, F4, F5, F6), tried the esc key; with two different Apple USB keyboards. I'm really just wanting to load an xorg.conf file and reboot.
Should I have been trying to do this just after install, but before restarting? I can get into Open Firmware just fine, but have no idea what I'd do from OF except start off the CD again. I should mention I installed Debian just fine and am pretty confident MintPPC would work flawlessly, but I am trying to get Ubuntu 10.04 on here.
mojo@mojo:~/Downloads$ sudo apt-get install gnome-shell
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following packages have unmet dependencies: gnome-shell : Depends: mutter but it is not going to be installed it asks for mutter, yet mutter is already installed. I think it asks for different version of mutter.
Just as the topic.How to install the extension alternative-status-menu?I would like the option "Power off " always have a visible, without the need to hold down the key "Alt".
View 1 Replies View RelatedI downloaded the 64bit Gnome Live CD to play around with it.. I thought there was a new Gnome shell, new interface etc. Am I missing something?
View 1 Replies View RelatedMACHINE: 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 RelatedI 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?
Is there a way to export a variable to parent shell in shell scripting ?
View 3 Replies View RelatedI am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.
Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....
I typed
#!/bin/sh
cd /
xx xxx x
[code]....
I've just installed the latest OpenSUSE 11.3 Gnome 3 Reload [and in so doing, by the way, replaced two other oses one advertised as something else but turned out to be what I regard as a poor imitatian of OpenSUSE 11.3 (and to add insult to injury it even identified itself as OpenSUSE 11.3 after install!) and the other a Linux distro more popular than OpenSUSE but failing to deliver a working Gnome 3 shell].
Which brings me to the subject at hand: Gnome 3 shell. I'm presently using the Gnome 3 panel (which I got after having to select the failsafe option after rebooting). OpenSUSE's Gnome 3 shell display is all jumbled up to the point of being unusable. Although I couldn't make out any legible print in the terminal (most of the Applications icons are recogniseable if rather tattered-looking), I had hoped I could still type in su>enter>password>enter>nvidia-xconfig>enter.
What do I do now to get a screenshot-like Gnome 3 shell display? I realize that this computer is rather resource-shabby, but I figure that if it'll run MintMenu, it should be able to run any other Gnome shell.
I downloaded shc-3.8.7.tgz and tried to install it. but i am getting error that is
make: *** [install] Error 1
I am giving the steps i followed to install shc
1. tar -xzvf shc-3.8.7.tgz
2. cd cd shc-3.8.7
3. make
4. make install
i got the following error.
*** Installing shc and shc.1 on /usr/local
*** �Do you want to continue?
make: *** [install] Error 1
I would like know when it is necessary or advisable to write a shell script instead of shell function ?
View 3 Replies View RelatedIs there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?
Example:
Code:
>>> import subprocess
>>> help(subprocess)
...
[pages of stuff to read]
...
I'm hoping so as I hate scrolling and love how less works with simple keystrokes for page-up/page-down/searching etc.
I installed 11.3 last week and eventually got nvidia drivers working. I was quite happy how most things were progressing, then the temptation to upgrade to 11.4 got too much I upgraded today (online, not dvd) and everything went well. On rebooting the desktop came up as normal and all was good. I installed nvidia and got that working ok. I then installed Gnome-Shell and couldn't figure out how to get it working. I've been using Fedora recently and the Gnome-Shell option is available at Login. I then discovered the gnome-shell --replace terminal command and I tried it. It seemed to load ok, but as I had used the terminal, when I closed the terminal it seems like compiz crashed. I lost all windows borders and nothing was usable. I REISUB'd and started again. On reboot I got a CLI login prompt. After logging in I tried startx, to no avail. I then tried gdm start and got to the desktop again (not gnome-shell). I Alt+F2'd and ran gnome-shell --replace again and all was good - except no network I rebooted again, and got the CLI again. Went through it all again and tried to configure network (wireless) no good. I then connected an ethernet cable and tried again. That worked, but I'm not sure why - I didn't think anything was downloaded. Anyway wireless now works ok - even on reboot. However I'm still getting dumped to the CLI login on restarts.
View 9 Replies View RelatedI have a tar.gz file which I extracted and then installed the software it contained using a property file. now, I need to automate that 2 step process into one. I am new to shell scripting and will be much appreciated if someone can guide me on how to accomplish that. below is my final opjective on this excercise.
1. excecute software_install.sh file which finds install.properties file and invokes the actual shell script that installs the product (odcpkg.sh)