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.
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.
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.
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.
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?
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).
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.
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 "
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?
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.
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.
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
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?
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.
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.
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?
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.
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.
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.
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?
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
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.
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 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?