I want to configure shell prompt.

Hi,
I want to configure my shell prompt, but, I am unable to find either .cshrc or .profile file in my "/" directory.
Is there any other possibility through which i can configure my shell prompt so that it displays hostname:current working directory before "#".
Rahul

Hi Rei,
Thanks for the answer, we can make it more useful by adding following instead of limiting to one user "root"
set prompt="`whoami`@`hostname` %/#"

Similar Messages

  • Configuring Login Prompt

    I wanted to configure the login prompt for my tty1. Essentially, I want to for a default user to be prefillled and perhaps to display to display some ascii art prior the prompt.
    From what I have gathered,
    The configuration file for tty is in
    /lib/systemd/system/getty\@.service
    Should I be looking into the source of /bin/login? (and where can I find this source)

    Have you tried Google?
    http://unix.stackexchange.com/questions … ogin-shell
    http://www.deater.net/weave/vmwprod/linux_logo/
    and many more by simply searching for "linux login ascii art"

  • Sql Table Configure Same Prompt table fields

    i have a two tables table 1 have 4fields and table2 have 4 fields both are configure same prompt table values when i select table 1 (field1) i want disable table2 same value(field1) it's urgent requirement any one do this

    Hi Victor,
    Not all fields are used by all localizations. So that not all fields are available on the form.
    Thanks,
    Gordon

  • In my Scenario i want to configure file sender Adapter.But in Parameters

    In my Scenario i want to configure file sender Adapter.But in Parameters, for Adapter Engine  Column It Shows blank,Integration Server will not appear for that column.Finally It Gives Error- Adapter Engine is not Defined.
    What is the Reason for this...
    Please Clarify ASAP...
    Thanks..

    Hi Chiru,
          It seems that you may have missed some steps while doing the configuration. After doing all the activities in SLD and IR and activating all the components created in IR it should work.
          Plz check that you have selected as Adapter Type as File and correct namepace in the next field. Transport Protocol as File System (NFS), Message Protocol as File and I hope after all these information you will get Integration Server in the Adapter Engine field.
        If the problem persists please revert back.
    Warm Regards,
    Subhasha Ranjan

  • I want to configure Firefox to only accept cookies from a specific list of websites, but my "Allow Exceptions" list is deleted when Firefox closes.

    I want to configure Firefox to only accept cookies from a specific list of websites, but my "Allow Exceptions" list is deleted when Firefox closes. (Firefox 5.0)

    @dmcritchie:
    ''How do you expect to keep cookies for certain sites, if you wipe out all of your cookies when the session ends or you clear the same history through the Tools menu''
    If you mean from session-to-session, I don't expect it to keep cookies. That's the whole point. Every time Firefox is opened, I want it to write a new cookie, and keep that cookie until it closes and no longer than that. (Perhaps I should clarify: I don't mean session in the networking sense but rather in the period of time when one starts using Firefox until Firefox closes.) The behavior I want is for it to be able to write cookies when open, but only for specific sites, and then forget about them on close.
    I should also mention that your responses are worthless to me because you don't explain anything. For instance, the quote above is ''not'' obvious from your reply of "Make sure you are not clearing cookies". You need to explain this; what is obvious in a reading for you is not obvious for everyone.
    Furthermore, how is "Site Preferences" related to "everything on the right-side"? (Not to mention that it's unclear what you mean by "right-side.")

  • I want to configure oracle precompiler pro*c on oracle 9i

    hello everybody
    plz help me it is very urgent. i am using oracle 9i release 2 on red hat linux 7.3.i want to configure oracle pre compiler pro*c.
    thanks & regards.

    Hi,
    First check weather Pro*C is installed or not. You will find it in ORACLE_HOME/bin. If it is there, then use the relink command like this.
    $relink recomp
    It will compile compilers.

  • Want to configure Oracle EDI Gateway for Inbound Invoice Interface

    Hello,
    Newbie to Oracle Apps and want to configure Oracle EDI Gateway for Inbound Invoice Interface. We are having Oracle EBS R12 installed on OEL 5.6
    Do i need to install EDI Gateway or it comes with APPS R12 installation ? if i have to install it explicitly then which EDI version i have to install ? what are steps should i follow to achieve desired results.
    One more query, we are having old version of Oracle APPS 6i too, is it possible to configure Oracle EDI Gateway on it ??
    You help will be highly appreciated.

    Try to post your message on dedicated EBS forums http://forums.oracle.com/forums/category.jspa?categoryID=3.

  • Difference of output from cron job & shell prompt

    We have a script in production like:
    sqlplus -s <username>/<password><<EOF
    set head off
    set feedback off
    set numwidth 4
    set serveroutput off
    spool /tmp/test1.txt
    prompt column1 , column2
    select column1||' , '|| column2 from <table> where <condition>;
    spool off;
    EOF
    echo "Best Regards," >> /tmp/test1.txt
    echo "IT Team" >> /tmp/test1.txt
    When run one time from the shell prompt, it gives the correct value like-
    column1, column2
    <column-1>, <column-2>
    Best Regards
    IT Team
    But when I run it from a cron job twice the output is like-
    column1, column2
    <column-1>, <column-2>
    Best Regards
    IT Team
    Best Regards
    IT Team
    The problem in the above output is that the bottom 2 statements,
    Best Regards
    IT Team
    keep getting repeated the number of times when the cron job is run. If the cron job is run 3 times the set of 2 statements get repeated thrice.
    I hope, I have been able to explain the problem.
    Requesting a reply to my query.
    Regards

    Locking this duplicate post - Difference of output from cron job & shell prompt

  • Configuring Shell Script

    I am a newbie to Shell Scripting.
    I am trying to set up a Unix Resource on my IDM system.
    I have a Test Machine (which is Remote, of course). Naturally, the machine is Unix-based. Within this machine is a Unix Database, which is MySql-based.
    On this machine, I created a User (complete with full Administrator rights and privileges).
    And, to this user's Home Directory, I added certain a scripts which is meant for "*Creating a new User"* in the Unix Database. This script is written in PERL language.
    I created the Shell Resource, by using the IDM sample Shell Script files (the ones located in the IDM sample-folder). Naturally, I modified certain attributes, removed others, etc, etc.
    My problem is : the Get Resource Action and Get Result Handler.
    These two things are MANDATORY when configuring Shell Script. I have absolutely no idea how to write those scripts.
    I have searched everywhere online (sun docs, forums, even google).
    Could anyone please give me an idea of how to code/write the script for those Actions?
    Thanks

    Thanks for your replies.
    I was able to get the "Create User" process to work. What I did was design a custom-script which is suited to my own Unix environment.
    t worked (or, it seemed to work).
    In IDM, i got the following error :
    *Error detected: [Adding account to hosts and creating quotas]&amp;amp;amp;#xD;&amp;amp;amp;#xA;Default shell for netpasswd is /usr/alt/uadm2/bin/nologin. This can be changed later.&amp;amp;amp;#xD;&amp;amp;amp;#xA;Default shell for sui-dev is /usr/alt/uadm2/bin/nologin. This can be changed later.&amp;amp;amp;#xD;&amp;amp;amp;#xA;Default home path for sui-dev is /home. This can be changed later.Default shell for ssl3 is /usr/alt/uadm2/bin/nologin. This can be changed later.&amp;amp;amp;#xD;&amp;amp;amp;#xA;Default shell for sui-test is /usr/alt/uadm2/bin/nologin. This can be changed later.&amp;amp;amp;#xD;&amp;amp;amp;#xA;Default home path for sui-test is /home. This can be changed later.[Adding user to groups]&amp;amp;amp;#xD;&amp;amp;amp;#xA;[Creating home directory]&amp;amp;amp;#xD;&amp;amp;amp;#xA;DUMMY - ssh -2 -l root sui-dev "/usr/alt/uadm2/libexec/mkhome sui-dev /users1/u1/mjerome 44444 500 550 mjerome"&amp;amp;amp;#xD;&amp;amp;amp;#xA;DUMMY - ssh -2 -l root sui-test "/usr/alt/uadm2/libexec/mkhome sui-test /users1/u1/mjerome 44444 500 550 mjerome"&amp;amp;amp;#xD;&amp;amp;amp;#xA;[all done].*
    Result Code = 120.
    Error
    *com.waveset.util.WavesetException: An error occurred adding user 'mjerome' to resource 'Unix Administration'. com.waveset.util.WavesetException: Error detected: . com.waveset.util.WavesetException: Error detected: [Adding account to hosts and creating quotas] Default shell for netpasswd is /usr/alt/uadm2/bin/nologin. This can be changed later. Default shell for sui-dev is /usr/alt/uadm2/bin/nologin. This can be changed later. Default home path for sui-dev is /home. This can be changed later.Default shell for ssl3 is /usr/alt/uadm2/bin/nologin. This can be changed later. Default shell for sui-test is /usr/alt/uadm2/bin/nologin. This can be changed later. Default home path for sui-test is /home. This can be changed later.[Adding user to groups] [Creating home directory] DUMMY - ssh -2 -l root sui-dev "/usr/alt/uadm2/libexec/mkhome sui-dev /users1/u1/mjerome 44444 500 550 mjerome" DUMMY - ssh -2 -l root sui-test "/usr/alt/uadm2/libexec/mkhome sui-test /users1/u1/mjerome 44444 500 550 mjerome" [all done]. com.waveset.util.WavesetException: Result Code = 120.*
    From what is written there, I could see that the user was INDEED created. (Just to be sure, I checked my Unix machine. And, yes, the user was created. I also checked the MySQL database, and the user is there, too)
    However, I keep getting the above error in IDM.
    I can't figure out any explanation besides the fact that, perhaps, this is because I do not have a RESULT HANDLER script in place yet.
    And, this is where my problem is : some documentation on Shell Script say that Result Handlers are needed only for two Actions : GetUser and GetAllUsers.
    However, other documents claim that Result Handlers are needed for ALL resource actions. (In other words, if you have a Create User resource action, then you must have a Create-User result handler).
    I don't even know which of these claims is true.
    Any help, please?

  • HT201250 I am having trouble setting up my time capsule.  the amber light is flashing.  i have a Verizon FIOS network that i use for the internet (WiFi) and do not want to configure the Time Capsule to do that function.  I just want the Time Capsule to ba

    I am having trouble setting up my time capsule.  the amber light is flashing.  i have a Verizon FIOS network that i use for the internet (WiFi) and do not want to configure the Time Capsule to do that function.  I just want the Time Capsule to back up.

    Simple.. bridge the TC.. in the apple utility in the NAT and DHCP area.
    Plug it into the FIOS router.. you can turn off wireless in the TC if you want.. or use it.. it can work faster if you are nearby and can select 5ghz.. but up to you.

  • Auto Configure not prompting for credentials

    Hi Folks,
    I've a problem where users of Outlook on XenApp cannot configure an email profile. It just times out. I access the same XenApp server/user account from a Published Desktop or RDP the profile configures fine. 
    The Outlook Auto Configuration tool works identically in both scenarios except for the last step. On the Published Desktop I am prompted for domain credentials and then sent the Autodiscover XML file. However, over a XenApp session Auto Configuration never
    prompts for login details, although the log say differently, and the attempt fails.
    I turned on Outlook logging and captured Autodiscover logs for both scenarios (identifying information is changed to NWTraders)
    Log of Autodiscover failure over a XenApp session
    11676 0x0073AF1C
    02/05/15 13:13:07  Autodiscover to https://mail.nwtraders.com/autodiscover/autodiscover.xml starting 11676
    0x0073B22A 02/05/15 13:13:08
     GetLastError=0; httpStatus=401. 11676
    0x0073B22A 02/05/15 13:13:08
     AutoDiscover disabled auth schemes: 11676
    0x0073B22A 02/05/15 13:13:08
       <NONE> 11676
    0x0073B22A 02/05/15 13:13:08
     AutoDiscover supported auth schemes: 11676
    0x0073B22A 02/05/15 13:13:08
       Negotiate 11676 0x0073B22A
    02/05/15 13:13:08    NTLM 11676
    0x0073B22A 02/05/15 13:13:08
       Basic 11676 0x0073B22A
    02/05/15 13:13:08  AutoDiscover attempting Auto-Negotiate with Desktop Credentials. 11676
    0x0073B22A 02/05/15 13:13:08
     AutoDiscover USING pcreds->dwAuthScheme: 11676
    0x0073B22A 02/05/15 13:13:08
       Negotiate 11676 0x0073B258
    02/05/15 13:13:08  GetLastError=0; httpStatus=401. 11676
    0x0073B258 02/05/15 13:13:08
     AutoDiscover attempting NTLM with Desktop Credentials. 11676
    0x0073B258 02/05/15 13:13:08
     AutoDiscover USING pcreds->dwAuthScheme: 11676
    0x0073B258 02/05/15 13:13:08
       NTLM 11676 0x0073B287
    02/05/15 13:13:08  GetLastError=0; httpStatus=401. 11676
    0x0073B287 02/05/15 13:13:08
     AutoDiscover attempting supplied Credentials. 11676
    0x0073B287 02/05/15 13:13:08
     [email protected] 11676
    0x0073B287 02/05/15 13:13:08
     AutoDiscover USING pcreds->dwAuthScheme: 11676
    0x0073B287 02/05/15 13:13:08
       Negotiate 11676 0x0073C563
    02/05/15 13:13:13  GetLastError=0; httpStatus=401. 11676
    0x0073C563 02/05/15 13:13:13
     AutoDiscover attempting Basic auth with the Supplied Credentials. 11676
    0x0073C563 02/05/15 13:13:13
     [email protected] 11676
    0x0073C563 02/05/15 13:13:13
     AutoDiscover USING pcreds->dwAuthScheme: 11676
    0x0073C563 02/05/15 13:13:13
       Basic 11676 0x0073CE7C
    02/05/15 13:13:15  GetLastError=0; httpStatus=401. 11676
    0x0073CE9B 02/05/15 13:13:15
     AutoDiscover attempting AutoDiscover Credentials. 11676
    0x0073CE9B 02/05/15 13:13:15
     [email protected] 11676
    0x0073CE9B 02/05/15 13:13:15
     AutoDiscover USING pcreds->dwAuthScheme: 11676
    0x0073CE9B 02/05/15 13:13:15
       Negotiate 11676 0x0073D84F
    02/05/15 13:13:17  GetLastError=0; httpStatus=401. 11676
    0x0073D85F 02/05/15 13:13:17
     AutoDiscover attempting AutoDiscover Credentials. 11676
    0x0073D85F 02/05/15 13:13:17
     [email protected] 11676
    0x0073D86E 02/05/15 13:13:17
     AutoDiscover USING pcreds->dwAuthScheme: 11676
    0x0073D86E 02/05/15 13:13:17
       Negotiate 11676 0x0073E204
    02/05/15 13:13:20  GetLastError=0; httpStatus=401. 11676
    0x0073E204 02/05/15 13:13:20
    AutoDiscover prompting for Exchange credentials. 11676
    0x0073E213 02/05/15 13:13:20
    Autodiscover to https://mail.nwtraders.com/autodiscover/autodiscover.xml Failed (0x80040113) 11676
    0x0073E213 02/05/15 13:13:20
    AutoDiscover Warning: ExcludeHttpRedirect is ON. 11676
    0x0073E213 02/05/15 13:13:20
    AutoDiscover Warning: ExcludeSrvRecord is ON. 11676
    0x0073E213 02/05/15 13:13:20
    AUTODISCOVER GET SETTINGS END 11676
    0x0073E213 02/05/15 13:13:20
    Log of Autodiscover success over Published Desktop (works same over RDP)
    02/05/15 13:11:40  Autodiscover to https://mail.nwtraders.com/autodiscover/autodiscover.xml starting 12244
    0x00725EBF 02/05/15 13:11:41
     GetLastError=0; httpStatus=401. 12244
    0x00725EBF 02/05/15 13:11:41
     AutoDiscover disabled auth schemes: 12244
    0x00725EBF 02/05/15 13:11:41
       <NONE> 12244
    0x00725EBF 02/05/15 13:11:41
     AutoDiscover supported auth schemes: 12244
    0x00725EBF 02/05/15 13:11:41
       Negotiate 12244 0x00725EBF
    02/05/15 13:11:41    NTLM 12244
    0x00725EBF 02/05/15 13:11:41
       Basic 12244 0x00725EBF
    02/05/15 13:11:41  AutoDiscover attempting Auto-Negotiate with Desktop Credentials. 12244
    0x00725EBF 02/05/15 13:11:41
     AutoDiscover USING pcreds->dwAuthScheme: 12244
    0x00725EBF 02/05/15 13:11:41
       Negotiate 12244 0x00725EEE
    02/05/15 13:11:41  GetLastError=0; httpStatus=401. 12244
    0x00725EEE 02/05/15 13:11:41
     AutoDiscover attempting NTLM with Desktop Credentials. 12244
    0x00725EEE 02/05/15 13:11:41
     AutoDiscover USING pcreds->dwAuthScheme: 12244
    0x00725EEE 02/05/15 13:11:41
       NTLM 12244 0x00725F1D
    02/05/15 13:11:41  GetLastError=0; httpStatus=401. 12244
    0x00725F2C 02/05/15 13:11:41
     AutoDiscover attempting supplied Credentials. 12244
    0x00725F2C 02/05/15 13:11:41
     [email protected] 12244
    0x00725F2C 02/05/15 13:11:41
     AutoDiscover USING pcreds->dwAuthScheme: 12244
    0x00725F2C 02/05/15 13:11:41
       Negotiate 12244 0x0072719B
    02/05/15 13:11:46  GetLastError=0; httpStatus=401. 12244
    0x007271AB 02/05/15 13:11:46
     AutoDiscover attempting Basic auth with the Supplied Credentials. 12244
    0x007271AB 02/05/15 13:11:46
     [email protected] 12244
    0x007271AB 02/05/15 13:11:46
     AutoDiscover USING pcreds->dwAuthScheme: 12244
    0x007271AB 02/05/15 13:11:46
       Basic 12244 0x00727AC3
    02/05/15 13:11:48  GetLastError=0; httpStatus=401. 12244
    0x00727AF2 02/05/15 13:11:48
     AutoDiscover attempting AutoDiscover Credentials. 12244
    0x00727AF2 02/05/15 13:11:48
     [email protected] 12244
    0x00727AF2 02/05/15 13:11:48
     AutoDiscover USING pcreds->dwAuthScheme: 12244
    0x00727AF2 02/05/15 13:11:48
       Negotiate 12244 0x007285CF
    02/05/15 13:11:51  GetLastError=0; httpStatus=401. 12244
    0x007285EE 02/05/15 13:11:51
     AutoDiscover attempting AutoDiscover Credentials. 12244
    0x007285EE 02/05/15 13:11:51
     [email protected] 12244
    0x007285EE 02/05/15 13:11:51
     AutoDiscover USING pcreds->dwAuthScheme: 12244
    0x007285EE 02/05/15 13:11:51
       Negotiate 12244 0x00728F93
    02/05/15 13:11:53  GetLastError=0; httpStatus=401.12244
    0x00728F93 02/05/15 13:11:53
    AutoDiscover prompting for Exchange credentials. 12244
    0x0072B25D 02/05/15 13:12:02
    corpNWTraders\jsmith 12244
    0x0072B25D 02/05/15 13:12:02
     AutoDiscover USING pcreds->dwAuthScheme: 12244
    0x0072B25D 02/05/15 13:12:02
       Negotiate 12244 0x0072BB95
    02/05/15 13:12:05  GetLastError=0; httpStatus=200. 12244
    0x0072BB95 02/05/15 13:12:05
     Autodiscover XML Received 
    12244  ---BEGIN XML---
    I have the Autodiscover methods which use Active Directory turned off because the Exchange service is not on my domain or a Trusted domain. So we are relying on the HTTPS method only
    11588 0x00404E76
    02/05/15 12:17:01 AutoDiscover Warning: ExcludeScpLookup is ON.
    11588 0x00404E76
    02/05/15 12:17:01 AutoDiscover Warning: ExcludeHttpsRootDomain is ON.
    11588 0x00404E76
    02/05/15 12:17:01 AutoDiscover Warning: ExcludeHttpsAutoDiscoverDomain is ON.
    Regards - Mic

    Hi,
    Based on the information you provided, the issue was caused by an Autodiscover failure. To troubleshoot the issue, I suggest you post the question in Exchange forum:
    https://social.technet.microsoft.com/Forums/office/en-US/home?category=exchangeserver
    Regards,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • How to configure Team explorer 2010 command-line tool in Mac x os. configure shell or system path to include the folder to which (TF client) unzipped archive available.

    How to configure Team explorer 2010 command-line tool in Mac x os.
    Hot to configure shell or system path to include the folder to which (TF client) unzipped archive available. I am new to Mac X OS. Please help.

    Dmitry,
    Thanks for the great writeup!
    I think I've got my universal instant client libraries built correctly.
    I too am using MacBook Pro but I'm getting stuck at building the 32 bit oci8.so
    First problem is my pecl download (ver 1.4.1) did not contain a "configure" file so ./configure failed.
    I used configure from /sw/....... to try to continue.
    Second problem. Using existing configure from /sw/.... I used an appropriate variation of your example command
    (./configure --with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 && make).
    Things look like everything ran OK but The output does NOT include an oci8.so file
    So I guess my question is: Which "configure" should I be using? And if it is not the one on the system under /sw/...
    where would I get it since it doesn't come in the pecl download?

  • Urgently I want to configure the knowledge search

    Hello All
    I am working on CRM 5.0 IC WebClient.
    I want to configure the knowledge search, I want to know if the knowledge data base is a separate data base should be integrated with CRM or it is already there only need to be configured.
    I want to know how data will be saved on this database.
    Installing TREX is a must so I want to know if it is installed or not
    If any documentation is available please mail me at [email protected]
    Regards
    Jacopo François

    Hi Jacopo,
    Please surf through this link.
    http://help.sap.com/saphelp_crm40/helpdata/en/83/1668ce7f3411d6885d00008658acb2/content.htm
    Regarding Trex installation, you may get the guide in service market place under CRM.
    Best Regards,
    Pratik Patel
    <b>Reward with points!</b>

  • I want to configure my ipad2 only to use cellular even for large Apps download

    since cellular network cheaper in india, want to configure ipad2 to download all Apps even larger size through cellular network. need a help.

    Can't do it.
    20mb limit can't be bypassed.

  • I want to configure my Ipad2 with IPV6

    I want to configure my Ipad2 to use IPV6

    Can't do it.
    20mb limit can't be bypassed.

Maybe you are looking for

  • Problem starting OpenOffice with KDE [Solved]

    I just did a clean Arch install witk KDE desktop. After I installed OpenOffice with pacman -Sy openoffice-base when I try to start openoffice I get the following error message "The application cannot be started. An internal error occurred." I tried t

  • Attach to external Data Source hangs indefinitely

    The data source is a freshly published schema created in VS. I have a similar schema in production with data that was working. Why would the update hang? (And yes, the connection string is correct). The screen that shows you what tables to select end

  • Can I sync Mail via USB with my PowerBook?

    I have a new iPhone 4S and a PowerBook G4 17" with 2 GB of RAM that is in mint condition.  I understand that I won't get e-mail from a Mail account directly on my PowerBook once I convert from MobileMe to iCloud, unless Apple or a third party develop

  • Instantcient 10.2 32 bit on win 7 pro

    hallo, I've installed instantclient 10.2 on windows 7 professional, but as soon as I try to create a DSN after chosing driver I get a messagebox with error. Because I have polish Windows I don't know the original english text. It says that the loadin

  • Adobe X (10.1.4) Cannot use docs on screen

    I have a laptop and another screen.  When I open my documents in Adobe reader the first screen fills up with my open documents, when the document then moves onto the laptop screen I am unable to maximise, minimise or use the document.