List of Shell programs/commands

Hi.
Is there any list with all commands that can be used in terminal, maybe with a short description?
I found this following list but it is'nt complete.
http://en.wikipedia.org/wiki/Listof_Unixprograms

All executable programs are potential commands in Unix. And then there are the built-in shell commands such as cd if while etc...
By default bash is the shell used, so for information on bash try
man bash
and then check out books on bash in the book store, or search on-line for information about bash
Typically other user commands come from
ls /bin
ls /usr/bin
Administrator commands tend to come from
ls /sbin
ls /usr/sbin
User install commands tend to be stored in
ls /usr/local/bin
ls /usr/local/sbin
X11 commands are stored in
ls /usr/X11/bin
Many Unix users put scripts and program they have written for personal use in
ls $HOME/bin
MacPorts.org <http://www.macports.org/> puts commands in
ls /opt/local/bin
ls /opt/local/sbin
Fink <http://www.finkproject.org/> puts commands in
ls /sw/bin
ls /sw/sbin
Additional commands and scripts maybe stored in other locations.
Except for personal programs and scripts, most commands will have a *man page* so once you find a command that looks interesting, you can issue the
man filename
and there is a good chance a *man page* will display.
And if all else fails, there is Google.

Similar Messages

  • Command not found error while executing shell programs in terminal

    I have written one sample shell program.
    while executing shell program in terminal,it shows COMMAND NOT FOUND error.
    How to slove this.

    Post the "Actual" error.  It says more than command not found.
    Post your script.
    Post the output from:
    echo $PATH
    Post the output from:
    which name_of_command_not_found

  • Which .bash does "do shell script" commands use?

    The "do shell script" command uses the Bourne shell "sh". But I am curious to know which .bash it uses to define the shell environment variables.
    I ran into a problem installing a third-party unix program which required new environment variables to be defined in order to execute. Defining these variables and executing this program from the terminal worked fine.
    But executing it within a "do shell script" command in an Applescript - the program died silently because the environment variables it required were not defined in the shell Applescript uses. It appears to invoke a new shell which does not inherit the environment variables defined in your home user shell.
    (I found this out by 'do shell script "set"' which listed the environment variables Applescript knows about - the ones I defined for the third-party program were not listed).
    A "brute force" way of fixing this is to pass the environment variables directly:
    do shell script "export THIRDPARTY_ENVVAR=blah; /usr/sbin/thirdpartyprogam"
    This works but not exactly elegant, particularly when you need to pass a number of variables.
    So - any better ways to do this? Can I edit the .bash Applescript uses, and where is it?
    Thanks.

    Another option that might work for you... if you are saving/distributing your AppleScript as an "Application bundler" is to group all your shell env. variables and other commands into a separate shell script file. Then include the shell script inside your app bundle. Locate the shell script at runtime and run that with "do shell script".
    For example, create "myShellScript.sh"
    #!/bin/sh
    export THIRDPARTY_ENVVAR=blah
    # ... more variable declarations..
    /usr/sbin/thirdpartyprogam
    # ... more shell commands...
    Store the shell script file inside your AppleScript bundle's Contents -> Resources folder (remember to make the shell script executable). Then your AppleScript can find your shell script at runtime and execute it like this:
    set ssPath to quoted form of POSIX path of (path to resource "myShellScript.sh")
    set stdout to do shell script ssPath
    Steve

  • Need Help With Shell Programming

    Hi, I need some guidance as to how to approach my project.
    I need to develop a shell to host an e-learning environment that can be accessed through the internet. The user, preferably, needs not to download anything to run/start the e-learning environment. This e-learning environment allows users/students to create a forum, create a chatroom, hand up projects, send mail, do surveys and tutorials online and these can be submitted to the teacher/marker and receive feedback and also view their grades and schedule. Eg, Blackboard http://www.blackboard.com/
    The problem is is that there seems to be no shell programming by using java. I have found only shell programming using UNIX, korn and C. I read other posts in the forums here concerning shell programming and alot of the codes include the first 2 lines :
    Runtime rt = Runtime.getRuntime();      
    String command = "your_shell_script_command";      
    try {           
          Process process = rt.exec(command);           
         from = new BufferedReader(new InputStreamReader(process.getInputStream()));           
         to = new PrintWriter(process.getOutputStream(), true);      
    catch (IOException e) {         ...       }the above codes were taken from this post: http://forum.java.sun.com/thread.jsp?forum=57&thread=352231
    Does it means that I need to use another language besides Java to program a shell and then run it together with my java program? If so, what language do I need to learn and what Java "component" do I need to use? and is it possible to run a shell in an applet, since the applet is viewable through a browser?
    I really need some help on this problem as I don't have a clue to go about it at all. Thanks in advance.

    er, actually the applet does not seem to load at all.
    But from what you have written, yeah, I need to
    process the user's input and in my case, his
    selected/choosen options in a menu.
    E.g, the user wants to create a forum, he/she chooses
    the create forum option from the menu which is part of
    the shell and something happens which allows the user
    to customise the forum.
    So, let me get this straight, I can create an applet
    and run the shell on the applet and the user can view
    this application without downloading anything? As YAT said...providing they have the java plugin...yes... if you keep it to java.applet.Applet (AWT) and not JApplet, you should even have more users able to run it without 'downloading' anything..
    Now..to be clear... they ARE downloading your .class files, and running them within a JVM on their own local machine... But they will not need anything (assuming their browser supports the Java version you write in) else...

  • Dropdown list in dialog programming

    Moved to correct forum by moderator.  Subject amended.  Please use meaningful subjects in future
    Hi Experts,
    How to get a drop down list in Dialog Programming. I need a drop down list for a field called country. Should it be done in Layout Editor or in the coding part. If at coding part can you please help me out with some pointers?
    TIA
    Edited by: Matt on Nov 16, 2008 4:11 PM

    SELECTION-SCREEN BEGIN OF SCREEN 111 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(11) text-012 FOR FIELD p_step1 MODIF ID st1.
    PARAMETER: p_step1 TYPE c AS LISTBOX VISIBLE LENGTH 20
                       USER-COMMAND step1 OBLIGATORY MODIF ID st1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 111.
    DATA:  name1 TYPE vrm_id,
           list1 TYPE vrm_values,
           value1 LIKE LINE OF list1.
    IF list1[] IS INITIAL.
        name1 = P_STEP1.
        value1-key = 1.
        value1-text = your text which you want to display in the list.
        APPEND value1 TO list1.
        value1-key = 2.
        value1-text = your text which you want to display in the list.
        APPEND value1 TO list1.
        CALL FUNCTION 'VRM_SET_VALUES'
          EXPORTING
            id              = name1
            values          = list1
          EXCEPTIONS
            id_illegal_name = 1
            OTHERS          = 2.
      ENDIF.

  • 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}

  • Error message HKEY_LOCAL_MACHINES\software\classes\quicktime\qt\shell\open\command

    hi all
    been given as a birthday prezzy an i pod touch, i tunes and quicktime refuses to install but can download , keeps coming up wth the following error msg.
    HKEY_LOCAL_MACHINES\software\classes\quicktime\qt\shell\open\command
    help!!
    alan

    Hello, I am having a similar problem as described here. Except there are a series of other registry keys with restricted access. In an attempt to completely uninstall quicktimes to reinstall with itunes 7, I tried deleting these registry keys and was unable. I found this post and tried to change permisions and was still unable. the error messages I recieve when I try to install quicktimes stand-alone or itunes
    iTunes + QuickTime
    Error 1905.Module C:\Program Files\QuickTime\QTOCONTROL.dll failed to unregister
    HRESULT -2147220472. Contact your support
    personnel.
    plus a few others like this one with slightly varrying keys, then the installation continues before a final error message appears and closes the installation
    Could not open key:HKEYLOCALMACHINE\Software\Classes\QuickTimePlayerLib.QuickTimePlayerApp\CLSID. Verify that you have sufficient access to that key, or contact your
    suppoer persoannel.
      Windows XP  

  • Sending attachment through through shell program is failing

    Hi Gurus,
    I am facing issue with below mentioned shell script. My requirement is that I need to call this script in Oracle report where this shell program (currently in oracle it is defined as PROG) accepts parameter as mail id. But this program is not working as expected please give your inputs where it is failing. I find that 'UUENCODE' is not working here.
    echo "Emailparameter: $5"
    echo "Request parameter: $6"
    echo "Subject: $7"
    #. ${AR_TOP}/bin/SPT_nfs-stg-app1.env
    Today_Date=`date +"%Y%m%d"`
    echo $Today_Date
    Tran_Time=`date +"%H%M%S"`
    BKUP_EXT="_bk_${Today_Date}_${Tran_Time}"
    echo "---- Request to Send as Eamil---- "
    P_REQID=${6}
    V_OUT=$APPLCSF/$APPLOUT/o$P_REQID.out
    echo $V_OUT
    P_EMAIL_ADD=${5}
    P_SUBJECT=${7}
    echo " UEncode "
    if test -r $V_OUT
    then
    uuencode  $V_OUT email_$P_REQID.txt > eout_$P_REQID.txt
         cat $AR_TOP/bin/mail/message.txt eout_$P_REQID.txt > RP_Invoice_Print_Selected_Invoice_$P_REQID.txt
         echo " ---- Send Email to --> "$P_EMAIL_ADD
         mailx -s "$P_SUBJECT" $P_EMAIL_ADD < RP_Invoice_Print_Selected_Invoice_$P_REQID.txt
         echo " ---- Removing the runtime files ----"
         rm eout_$P_REQID.txt
         rm RP_Invoice_Print_Selected_Invoice_$P_REQID.txt
         echo " ------------------------------------"
    fi
    #--create the backup directory
    #if [ ! -d "${EDI_SUBDIR}/interface/backup/${Today_Date}" ]
    #then
    #mkdir ${EDI_SUBDIR}/interface/backup/${Today_Date}
    #echo "Backup Directory Created"
    #else
    #echo "Directory Already Exists"
    #fi
    #echo " Backup the Consign out file " o$P_REQID.out${BKUP_EXT}
    #cp $V_OUT  $EDI_SUBDIR/interface/backup/${Today_Date}/o$P_REQID.out${BKUP_EXT}Regards,
    Nagendra

    Thanks for your reply.
    Emailparameter: [email protected]
    Request parameter: 442967
    Subject: Output of send mail
    20111213
    ---- Request to Send as Eamil----
    /u01/applspt/inst/apps/SPT_nfs-stg-app1/logs/appl/conc/out/o442967.out
    UEncode
    /u01/applspt/apps/apps_st/appl/ar/12.0.0/bin/XXRPSENDMAIL.prog: line 52: uuencode: command not found
    cat: /u01/applspt/apps/apps_st/appl/ar/12.0.0/bin/mail/message.txt: No such file or directory
    ---- Send Email to --> [email protected]
    Null message body; hope that's ok
    ---- Removing the runtime files ----
    ------------------------------------I believe what ever you said is true, it seems we don't have that software. I will check with administrators for that. Please let me know if can proceed further with any other means.
    Thanks
    Nagendra

  • Hyperlinks from my MSWord files suddenly don't work because "/FirefoxHTML\Shell\Open\Command" has somehow been added to the end of each URL.

    When I click to open the hyperlink in my Word file, the message I get in Firefox is "The requested URL /submissions.htmlFirefoxHTML\Shell\Open\Command was not found on this server." When I delete that portion of the URL, the website opens fine. What can I do to make the hyperlinks work properly?

    Thanks for the suggestion. I tried it, but it didn't work. The link information is written correctly on the MSWord page. But when I click on it and the Firefox tab opens, the page can't be found because "FirefoxHTML\Shell\Open\Command" has been added to the end of each URL. Might it help if I reset Firefox?

  • Firefox is very slow to respond when opening and nearly always stops responding altogether even refusing to react to Task Manager "End Program@ command. The "not responding@ error message also comes up during navigation on line.

    Firefox is very slow to respond when opening and nearly always stops responding altogether, even refusing to react to the Task Manager "End Program" command. The "not responding" error message also comes up during navigation on line. Several attempt have to be made to get on line. A loss of stability seems to be endemic at the moment.

    Try following the instructions here: [[Firefox hangs]]

  • Using SUBMIT program command in Background

    Hi,
    I am submitting the program in Background using Submit<program> command.
    Job is getting released but not fininishing(not executing the program) in ECC6.0.
    Same program is working in fine in 4.5b.
    Please let me know if any one faces this situation. Its very urgent.
    Expecting the reply from you soon..
    Thanks
    Regards,
    Raj A

    Hi,
    perhaps you or your admin have configured to less batch-workprocess or they are all configured only for A-class jobs.
    Try to start the job as A-Class job. If the program is executed, then ask your administrator to configure more batch workprocess that are not reserved for A-class jobs.
    Regards,
    Stefan

  • I read the article on how to remove Bing; however, it does not show up on my list of installed programs and it does not show up in the list of extenstions under "Tools" and "Addon" yet it is installed as an extention to the right of the addlress line.

    I read the article on how to remove Bing; however, it does not show up on my list of installed programs and it does not show up in the list of extenstions under "Tools" and "Addon" yet it is installed as an extention to the right of the addlress line. It is not my home page. Help!!!

    See also:
    *https://support.mozilla.com/kb/Removing+the+Search+Helper+Extension+and+Bing+Bar
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Resetting_preferences

  • ITunes is no longer listed in Default Programs in Vista

    After accepting the latest update to iTunes (7.6.029) + QuickTime this afternoon, there are several registry keys associated with iTunes and QuickTime that no longer have the appropriate permissions set which I believe is the main reason why iTunes is no longer listed in Default Programs in Vista. It also constantly alerts me that it's not the default player for audio files and if I'd like to go to Default Programs control panel to fix it. If I say yes, I get a blank screen in the details because it's trying to point to the properties of the once-listed iTunes in the Default Programs screen. I know I can disable the notification, but it's just evident of larger issues with the software.
    Anyone else experience this with a fix? I've seen many, many posts when Googling this problem about the Default Programs in Vista not listing iTunes, other problems associated with registry keys for iTunes and QuickTime that aren't editable, etc.
    I actually discovered this after the update when one of my sidebar gadgets would no longer launch iTunes. I performed a system restore to this morning before the update and most everything worked again. However, I had to reinstall iTunes because it warned me that it couldn't launch because some of the necessary files were missing. After reinstalling it, the sidebar tool was able to launch it again but the tool isn't listed in Default Programs now with some of the registry keys locked. I can unlock them and adjust the permissions but there are 50+ entries and their child keys that all would need to be unlocked.
    It would be nice to have this problem resolved. I'm concerned about future upgrades as I've seen other users mention this problem in 7.4 and 7.1.

    I have the same exact problem and same exact symptoms. I tried uninstalling and re-installing and no luck. Did you ever find a solution?

  • Tcsh shell "alias" command seems to be truncating file names

    Terminal Utility: As a Unix geek, on trying to port a large # of tcsh shell scripts to MacOSX (10.5.6), I have found a strange compatibility issue with the tcsh script "alias" command. After entering tcsh sub-shell from bash (by typing tcsh at the bash prompt, or by setting tcsh as the default shell), and defining the alias "surf_run" by sourcing a script containing the the line:
    alias surf_run 'source /Users/username/SgiNew/molsurf/csh/radix.csh'
    subsequent use of the "surf_run" alias (typing surf_run at the tcsh command prompt) seems to cause the system to truncate the name of the file to about 20 characters. The radix.csh file is actually present at the defined path, but the system seems to be truncating the file name to the last 16 letters or so in this case, and thus returns the following error message:
    : No such file or directory.rf/csh/radix.csh
    as if it is looking for a file rf/csh/radix.csh (which is not there, because the filename has been truncated)
    The number of characters retained actually varies from case to case. Another similarly obtained error message had 30 characters retained in the file name:
    : No such file or directory.rtoz/rtoz/rxtst/unix/login.csh
    Q: Is there any system parameter or environment variable that I can modify that will allow the tcsh shell alias command to recognize properly file paths with large numbers of characters?

    I cannot reproduce this error. A long alias string works fine for me. But the error messages -- as you reproduce them here -- do not look like the string is truncated. It looks like the "No such file or directory" message is being written on top of the string. Like maybe a new line is being swallowed somewhere.
    I suggest taking further inquiries to the Unix forum, under "Mac OS X Technologies".
    [http://discussions.apple.com/forum.jspa?forumID=735]

  • The following remoteapp program is not in the list of authorized programs.

    Hi,
    Iam in a pickle at the moment.
    My RDS 2012 R2 environment was working successfully previously, arrived from holiday and it is not longer working.
    My setup:
    **RDS01 ( Session Host and Connection Broker Roles )
    **RDS02 ( Web Access, Gateway and Licencing Roles)
    The Problem i am facing is, after successfully login to the RDWeb page, lunching the remoteapp i get the following:
    1st Get Certificate mismatch ( name in the certificate RDS02.mycompany.local is not trusted )
    2nd Hit YES and the following message "Windows cannot start the RemoteApp program. The following RemoteApp program is not in the list of authorized programs: WinWord"
    It happens whether i do connect externally.
    Internally the SSO does not work ( i did check my certificate and it is installed )
    If i run the script Set-RDPublishedName and change it from remote.mycompany.com to RDS01.mycompany.local
    1st Certificate name mismatch ( requrested pc RDS01, name in the certficate remote.mycompany.com )
    2nd Hit Yes and the app works
    It happens whether i do connect internally or externally.
    Any help will be very appreciated.
    cheers
    Elton

    Hi Elton,
    It sounds like the DNS lookup is resolving to the wrong ip address.  When the RD Gateway (RDS02) looks up remote.yourcompany.com to connect to your broker/RDSH it should resolve to the ip address of RDS01, but it appears it is resolving to RDS02 instead.
    I recommend you use Set-RDPublishedName to change the name back to what is was before (remote.yourcompany.com) and verify that your DNS settings are correct.  For example, if you log on to RDS02 and try to ping remote.yourcompany.com it should try to
    ping the internal ip address of RDS01, since that is your connection broker.
    -TP

Maybe you are looking for