How to issue commands c shell

hi buddy.....
i need help again.....
how to issue commands c shell in Linux(Ubuntu 9.10) for example:
*% source ./.login*

how to issue commands c shell in Linux(Ubuntu 9.10) for example:by default C shell is not included in Ubuntu (see below)
bcm@bcm-laptop:~$ csh
The program 'csh' can be found in the following packages:
* csh
* tcsh
Try: sudo apt-get install <selected package>
csh: command not found
bcm@bcm-laptop:~$ uname -a
Linux bcm-laptop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linuxpost results of following commands
env | sort

Similar Messages

  • How to issue iCommand Commands in code?

    I understand how to bind iCommand commands to UI elements.
    I would like to know how to issue Commands in C# code.
    I need to do this so that I can issue commands in the Click event code behind for UI elements that don't support commands, such as App Bar Buttons.
    Any examples would be greatly appreciated.
    Thanks!

    Your example would work, except that I don't have a button on my page to reference. I want the code behind for an AppBarButton, which does not support the "Command" parameter, to be able to raise/issue/fire (proper term?) a command.
    I could put a hidden button on the page and then reference it's Command, but that just seems like a really ugly way to do it.
    Any suggestions?
    Hi Pfredd,
    >>I want the code behind for an AppBarButton, which does not support the "Command" parameter, to be able to raise/issue/fire (proper term?) a command.
    Generally, this will break MVVM pattern if you want to invoke Command from code behind, I would suggest you customizing AppBarButton like this and set Command binding:
    <AppBarButton x:Name="WeekButton" Label="SomeText" >
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
    <Button Command="{Binding OkCommand}" >
    </Button>
    </StackPanel>
    </AppBarButton>
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create a handy icon or something to issue command quickly

    hey all,
    I was wondering if there was a way to relaunch the dock quickly or automatically.
    First of all, Im really new to the terminal but with a little research, I found the killall Dock command does relaunch it. However, is there a way to save this in a way so that if i click an icon, it initiates (or if i use quicksilver to activate it).
    Also, to automate the command, could i use Automator, or do I have to use something else. How would I go about it w/ automator or other prgms.
    Thanks in advance,
    Any advice would be greatly appreciated
    arsh89

    I don't know why you would want to restart the Dock so much. But, if you want to automate it so that you can do it even more frequently, you can create an AppleScript application that performs that terminal command for you. Then you can double-click the application to do it.
    All the details on how to issue a shell script command are available from Apple.

  • How to call a HP-UX command or shell script from Forms 4.5

    Does anybody know how to call a unix command or shell script to get a files list of HP-UX server from Oracle Forms 4.5 on client side? I tried to use DBMS_PIPE package to get it done but I failed. Please let me have the solution if anybody knows how. Very urgent!

    I tried the host command before and it just let me shell to the DOS environment but not HP-UX environment as Forms was running on Windows platform. So, I could not run a unix command or a shell script. Is DBMS_PIPE the only way to get it done?

  • Merge/concatenate animation codec movie files in the command line/shell

    We know how to join 2 mp4/h264 movies together in the command line/shell via MP4Box.
    We have not been able to find a similar tool for joining to Quicktime Animation codec movie together via command line/shell.
    Anyone know how to do that of have suggestions?
    thanks,
    paul

    Hi,
    I'm also having trouble with this same issue. I've been trying to change the Quicktime Default Setting to 10-bit uncompressed (btw codec works fine out directly out of QT and other apps), or to use the command line to do quick renders of tiff frame sequences to QT 10-bit. I think its a problem with my syntax on the command line. As per the manual I set up a fileout in a script with 10-bit as the codec, opened the script in Textedit and followed the instructions on p393, and dropped it into the include/startup directory. Below is a copy of the Textedit view of the script output settings. Also, If I want to use these settings the command line what should I change? The quotation marks, commas etc?
    "QuickTime", "Shake 3 QT 1", "Apple FCP Uncompressed 10-bit 4:2:2",
    0, "100W@c6000WDcsuHpoe10pFnKA6W230PPMMRH#0LgfI5ALV1EaKGn3DG3214QaPb03SeOBPg00K1bY AESIIW0KAbabF7YWOQan8401v6QvQehFnRYIBt9be1B4AEjYA6ci8YmM#IKXCg5aRMZC2MXBM0Ani04w HAJLmBrQ97MtegeEEO9d5oBoxCgv7GNhEOvai8INwFwb2roIf91bvbr040HAK4IYCW0",
    0, 44100, 16);
    I get the same message returned in Terminal:
    error: - NRiCompressor - corrupted input data (length)
    The QuickTime codec specified in the global default could not be selected. The system default codec will be selected.
    So it renders to Animation. Something else I found was that the example on p393 in the manual is for 10-bit uncompressed - so I tried copying it right off the page, into Textedit, and into the include/startup dir - still no joy.
    Can anyone shed any light on the matter?
    D.
    G5 Quad 2.5   Mac OS X (10.4.8)  

  • Update command in Shell script

    Hi friends
    sqlplus -s / <<END
    set feedback on;
    update tran2 set sno=1;
    exit;
    END
    when i am using update command in shell script like above
    it is updating the database well...but i just want to know how many rows it is updating and i dont want to commit
    for that
    sqlplus -s / <<END
    set feedback on;
    update tran2 set sno=1;
    set feedback off;
    rollback;
    exit;
    END
    It's working fine
    is there any other method to do the same

    Well what's exactly your requirement? The current requirement doesn't make a lot of sense.
    How many row is going to be updated depends on where clause, if you have no where clause that essentially updating whole table, the number of row updated is count of your rows.

  • Ciscoworks/Sun Solaris issues command

    Our Ciscoworks on Solaris always issues commands rusersd to other servers, here is an example to server02, which should not happend. the server itself has nothing to do with ciscoworks.
    Can you please tell me why it is issuing this? and how to stop it?
    10.Y.Y.101 is the Ciscoworks server,
    thanks, Han
    Here is one of them:   X.X.100.117  Server02
    Here are a couple log entries from :
    May  6 12:08:29 Server02 portmap[8173]: connect from 10.Y.Y.101 to getport(rusersd): request from unauthorized host
    May  6 16:36:20 Server02 portmap[8479]: connect from 10.Y.Y.101 to getport(rusersd): request from unauthorized host

    Not sure about solaris. Various strings of netstat on sof appliance (Linux) work for me. Here showing first connections to my remote workstation IP (192.168.150.137) and then identifying the responsible process (CSCO.Apache server) as what is listening on that port:
    [SecLab-LMS/root-ade ~]# netstat -anp | grep 150.137tcp        0      0 192.168.100.121:443         192.168.150.137:22015       TIME_WAIT   -                  [SecLab-LMS/root-ade ~]# netstat -lntp | grep CSCO | grep 443tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LISTEN      1160/CSCO.Apache   tcp        0      0 :::44300                    :::*                        LISTEN      30305/CSCO.UPMProcetcp        0      0 :::44301                    :::*                        LISTEN      30305/CSCO.UPMProce[SecLab-LMS/root-ade ~]#

  • How to get command history with timestamp ?

    how to get command history with timestamp ?

    If you are using bash:
    HISTTIMEFORMAT If this variable is set and not null, its value is used as a format string for strftime(3) to print the time stamp associated with each history entry displayed by the history builtin. If this variable is set, time stamps are written to the history file so they may be preserved across shell sessions.
    [SunOS 5.10/bash] [email protected]:/etc/ftpd
    # HISTTIMEFORMAT="%h/%m - %H:%M:%S ";export HISTTIMEFORMAT;history
        1  Aug/08 - 19:07:52 chmod a+rwx /root
        2  Aug/08 - 19:07:52 ll /
        3  Aug/08 - 19:07:52 tail -f /root/mylog.log
        4  Aug/08 - 19:07:52 vi /usr/dt/bin/Xsession
        5  Aug/08 - 19:07:52 cat /root/mylog.log
        6  Aug/08 - 19:07:52 ls /export/home/p661210/.dt
        7  Aug/08 - 19:07:52 ls -la  /export/home/p661210/.dt
        8  Aug/08 - 19:07:52 cat  /export/home/p661210/.dt/errorlog
        9  Aug/08 - 19:07:52 vi /usr/dt/config/C/sys.dtwmrc
       10  Aug/08 - 19:07:52 ls
       11  Aug/08 - 19:07:52 cat Xresources.jds
       12  Aug/08 - 19:07:52 vi /usr/dt
    [SunOS 5.10/bash] [email protected]:/etc/ftpd
    [SunOS 5.8/bash] root@wgls03:/root
    # HISTTIMEFORMAT="%h/%m - %H:%M:%S ";export HISTTIMEFORMAT;history
        1  Jul/07 - 09:02:21 vi /etc/vfstab
        2  Jul/07 - 09:02:21 mount /store
        3  Jul/07 - 09:02:21 cd /store/bnz
        4  Jul/07 - 09:02:21 ls
        5  Jul/07 - 09:02:21 ./BNZ_installBaseSoftware
        6  Jul/07 - 09:02:21 find /usr -name gunzipCheers,
    Andreas

  • How to open URL from Shell program or Oracle?

    Hi
    I required to open a URL (any link like ‘http://www.google.com’) either from Oracle or from shell script.
    Is there any command in shell programming to open a URL? If not, can we do the same in Oracle?
    Thanks & Regards,
    Sreekanth

    Sreekanth Munagala wrote:
    Is there any command in shell programming to open a URL? Yes. It is called wget.
    If not, can we do the same in Oracle?Yes. Oracle supplies HTTP interfaces, like UTL_HTTP. Sample code that shows how do a "webbrowser" (minus rendering engine of course) posted in {message:id=1925297}

  • How do serveradmin commands work?

    Hello,
    In the commandline manual for 10.4 server a lot of commands are possible for serveradmin.
    I tried some for the mailservice like:
    serveradmin command imap:defaultacl = "admin lrswipcda"
    I must be doing something wrong because the output is:
    You need to specify a "command =" line with the command option
    I tried all kinds of other options, but keep getting this response.
    Hope someone can help.
    Thanks Eelco

    I think we are both talking different things. Sorry I
    probably wasn't clear.
    Through Server Admin (GUI and/or Command Line) you
    can alter a limited number of Postfix/Cyrus et al.
    settings.
    OK, That's clear
    Also the syntax you use is to issue commands and not
    to set settings. (See page 123).
    OK, now I read p 123 and found out issuing the command:
    'serveradmin settings mail:imap:defaultacl'
    shows the default acl value.
    But how can I use serveradmin (CLI) to alter the default acl value? (or other values from other services)
    (Or do you in this specific case know, what to enter in imap.conf?)
    To change existing ACLs you will need to log into
    cyradm and take it from there (there are enough posts
    on this topic around).
    This was clear.
    The other issue you may experience is that not all
    parameters which are valid for imapd.conf do actually
    work on OS X.
    OK... Is there a way to determine which do and don't?
    Thanks so far for clearing thing up.
    Eelco

  • Issuing commands and receiving data

    I'm using a Stanford Research Counter (SR400) and trying to issue commands to it (specifically the SS command which queries the status byte). I want to receive the byte after I issue the command, but it doesn't seem to be working correctly. I'm using a GPIB interface and have tried the GPIB Write and GPIB Read commands as well as the MISC ones and some others. I'm not sure how labview gets the data from the instrument, but when I query the status byte, it just get the default 0. Thanks for any help!
    - Jon

    I've tried the GPIB Status and Serial Polls, but neither of them return the status byte that contains a bit that indicates whether there's data ready to be collected. I was thinking of using this bit to trigger my program, but now I'm not quite sure how. Thanks for the tip.
    - Jon

  • How can i remove the shell case from cath kidston?

    Hi how can i remove the shell case from cath kidston

    Try:
    items.RemoveAll(s => string.IsNullOrEmpty(s));
    Or you can filter them out using where:
    var noEmptyStrings = items.Where(s => !string.IsNullOrEmpty(s));
    Having fun with custom collections!
    Basics of .NET Collections in C#
    How does it work in C#? - Part 3 (C# LINQ in detail)
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Can any one tell me how can i call a shell script from pl/sql

    i like to call shell script from pl/sql procedure.
    can any one suggest how can i do this

    Have you not mastered in asking the same kind of question ?
    First do write a script...
    no one will spoon feed you.
    How can i call a shell script from procedure
    How to call Shell Script from pl/sql block
    -Sk

  • How can i call a shell script from procedure

    I have a shell script.now i am i a situation to call that shell script from one of my procedures and need to get a value from that script.
    can u suggest me that how can a call the shell script from pl/sql?

    Is the same question you asked here
    How to call Shell Script from pl/sql block
    -SK

  • How to run command SQLLoader Oracle in c#

    Hello,
    How to run command SQLLoader Oracle in c#. I try my sourcode for run this SQLLoader, but nothing happen and error "No process is associated with this object.". Please tell me how i fix it. Thanks.
    This is my code:
    System.Diagnostics.Process process1;
    process1 = new System.Diagnostics.Process();
    process1.EnableRaisingEvents = false;
    string strCmdLine;
    strCmdLine = @"/C SQLLDR XL/secreat@O11G CONTROL=E:\APT\LoadXL.ctl";
    System.Diagnostics.Process.Start("CMD.exe", strCmdLine);
    process1.WaitForExit();
    process1.Close();

    jesperdj ,thanks:)
    actually,i am using eclipse to run my ant tasks programmatically,but I got trouble with the AntRunner class.it seems that i should config a proper classloader for it,but i just don't know how.please lend a hand:)thanks
    robin

Maybe you are looking for