General :: Shell Script To Prompt Customer ?

Oct 20, 2010

I need to create a shell script called 'custinfo' to prompt a customer to enter and display back the following: name, age, address, phone number, and product.

Below is what i have so far.

View 7 Replies


ADVERTISEMENT

General :: Coloring The Z Shell But Don't Color Prompt

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

General :: How To Minimize Bash Shell Prompt

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

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 :: Shell Script To Prompt For Input

Jun 14, 2011

I would like to run some existing scripts and send it to a text file:

Note: 'script' is an exist shell script
Note: '/opt/2011jun15/my.db' auto generates everyday with only changes to the directory 2011jun15 base on the current date

currently i will need to run the script manually and make changes to the path below, change directory name 2011jun15 daily and text file new2011jun15.txt ./script -f /opt/2011jun15/my.db > new2011jun15.txt

Am i able to write a shell script to prompt me for a change of path for only '2011jun15' and 'new2011jun15.txt'?

It will be great if i can automate the whole process?

View 11 Replies View Related

General :: Show Only The Parent Folder In The Shell Prompt?

Aug 8, 2011

Whenever I go inside a directory in Linux, it shows the file path at prompt like:

root@vivek-HP-Pavilion-dv6-Notebook-PC:/var/www/abc/def/

How can I change it to show short names instead?

View 1 Replies View Related

General :: Unix - Making Shell Prompt Show Last Return Value

May 30, 2011

I'm currently on a Linux machine and the shell prompt is showing me the last return value and number of executed commands (picture included, with these numbers shown in purple).

My own computer doesn't have this, how can I configure it? I'm using Xubunto, if more details are needed let me know -- I'm not much of a Linux user (I don't know what's relevant here).

View 3 Replies View Related

General :: Create A New Mysql User And A Mysql Database At The Shell Prompt?

Aug 7, 2010

How do I create a new mysql user and a mysql database at the shell prompt?

View 1 Replies View Related

General :: Surveying The Unix Customer Statistical Data

Aug 11, 2010

I have been assigned with a job to survey the customers who use Open Source Linux and Unix distributions.Though Red Hat and Ubuntu are the most popular distros, but if someone who have ever got involved in tracking what % of the Linux Distribution being used by the customers.

View 14 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

OpenSUSE :: Customizing A Bash Shell Prompt (PS1)?

Jul 28, 2010

I changed the default SUSE prompt setting by modifying the shell variable PS1 to display the following information:

u : the username of the current user
h : the hostname up to the first '.'
w : the current working directory, with $HOME abbreviated with a tilde

I used export command to setup a new shell prompt:

export PS1="[u@h: w]$ " To add colors to the shell prompt and make a regular user prompt blue I used the following command syntax:export PS1="e[0;34m[u@h: w]$ e[m "

[Code]...

View 3 Replies View Related

Ubuntu :: Added New User But Can't See The Shell Prompt?

Apr 8, 2010

I just added a new user to my ubuntu by:

useradd -gdevelopers -d/home/peter -m peter

when peter logs in (after I created a passwd for him) he doesn't see the shell as I do:

me:
adhg@server:~$
peter
$

ALSO, he can't user the TAB to move inside a folder (when you type cs /home/p and use tab to get /home/peter)

View 2 Replies View Related

Ubuntu :: Permanently Keep Colored Shell Prompt?

Nov 3, 2010

After I succesfully instaled ubuntu 10.04 server, I applied

export PC1="[e[36;1m]u@[e[31;1m]h:w$ [e[32m"

and my prompt was nice and colorfull. But, when I make logout and login, my prompt appears all green ([e[32m.) After restart, nevertheless, it looses color settings (of course) and appears plain white.

What should I do in order to keep my prompt color settings permanently?

View 4 Replies View Related

Ubuntu :: Unresponsive Keyboard At Root Shell Prompt?

Jan 28, 2011

I have no user name or password and cannot log in. In recovery mode, I after I enter "drop to root shell prompt" my keyboard does not respond when I try to "give root password for maintenance" or try to enter "Control-D" at the blinking cursor.

View 3 Replies View Related

Fedora :: Grub Prompt Shell Shown After Upgrade

May 31, 2010

I have a problem when tried to upgrade my fedora 12 to fedora 13...

I run this command :
su -
yum update rpm ---- running success
yum -y update --- running success

After this, my laptop hang so i force to shutdown by pressed power button ! Next problem which is after i boot my laptop, it always shows me, GRUB prompt shell, GRUB > (commands GRUB) !

Code:
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub>

I already run this command :
Code:
grub> find /grub/grub.conf
(hd0,5)

grub> root (hd0,5)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 30 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+30 p (hd0,5)/grub/stage2 /grub/menu
.lst"... succeeded
Done.
But when I reboot, it always shown me GRUB prompt shell.

View 7 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

CentOS 5 Server :: FreeNX - Cannot Get Shell Prompt In GNOME Terminal Window

Jun 9, 2010

I'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?

View 14 Replies View Related

Ubuntu :: Customer Relationship Management Software

May 14, 2010

I am looking for customer relationship management, I have had a look at "Sugarcrm" but cannot seem to figure out how to install it.I run a small business on my own which often means i get flooded with customers from time to time and i need a CRM system that is simple to use and doesnt have to be fancy..What I am asking is there a package out there for ubuntu other then Sugarcrm?Btw the software will be installed on a stand alone computer.

View 2 Replies View Related

Ubuntu Installation :: Install 10.10 From Customer Mirror

Apr 13, 2011

I want to install ubuntu10.10 from customer mirror. such as i copied ubuntu10.10 alternative image to some folder in server 10.1.1.2 and then used pxe to install os. when selecting mirror, i inputted [url]. but i couldn't download file to install automatically, and got following error message in red. however, i inputted "wget [url], i could download the fileA.

View 1 Replies View Related

Software :: Customer Support Portal Application?

May 13, 2010

Some good open source software for these requirements:

1. Support center
customers can submit issues(or tickets) to our support staff and support staff can process these issues on the web or via email.

2. Knowledge base
Multi languages support are required, and admin also can apply the access privilege to each account/group.

3. Document or File download (FTP?)
customers can download the software hotfix , patch, Presentation file or even upload their log files. Admin can control the access privilege easily.

Is there any single open source software can meet these requirement at the same time?

View 1 Replies View Related

Security :: Network Appliance Shipped To Customer Premises ?

Nov 2, 2010

We make network appliances for process control. The owners and operators are not supposed to open them. But they can.

For unrelated reasons, we put our homegrown software onto a USB that is inserted into the appliance. To keep prying eyes off it, we encrypt it. The key is on the appliance internal drive, which can be removed and mounted elsewhere by enterprising IP thief, who can then find the key to the encrypted USB drive.

Any ideas for closing this vector down?

For casual snoopers, we have password protected grub.

Calling cadillackid: would be very pleased to hear about your approach to locking down devices sent to remote premises.

View 9 Replies View Related

Software :: Open Source Customer Support Packages ?

Mar 18, 2011

Can anyone recommend any open source customer support portal software? I'm looking for something where users can sign in, and submit support tickets for a wide variety of issues (game play, billing, etc). Then a Support Agent can login and assign tickets, respond, etc. I've already started looking at bugzilla, but I was hoping to find some other options to compare to.

View 5 Replies View Related

Fedora Servers :: Config A Customer's Samba To Use A MS 2003 SBS For Auth

Mar 1, 2009

I'm trying to config a customer's samba server to use a MS 2003 SBS for auth. The samba is for file sharing only config'ed with disk quota's. Currently the samba is config'ed for auth = Users. But I want a central point for user auth, and since they already have the sbs in place, I'd like to use that.

View 1 Replies View Related

Ubuntu Servers :: Different Is Customer Are Rent Space For Download Bittorrent?

May 26, 2010

I've a plan to make Bittorrent Colocation. It like web hosting, the different is customer are rent space for download bittorrent. Because internet bandwidth in my country is very slow. So it have multi-user on this server What bittorrent client I use?

View 5 Replies View Related

Ubuntu :: Handel Customer Support Request With Opensource Software?

Jul 28, 2011

is there any opensource software or website that gives us facility to handle our Customers Support Request.That is every user has its username and password and he can make login with that on it. and write its problem and click on submit button. IT Support automatically get email of it that this user is getting this problem.. Also management can see the current status of the problem

View 1 Replies View Related

General :: Get Away From The # Prompt And To The $ Prompt?

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

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

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

Red Hat :: Command Line Prompt But Not The Correct Bash Prompt?

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

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







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