Find the answer to your Linux question:
Results 1 to 3 of 3
I'm logging into a remote server using SSH. What bash command do i use to list the available .exe files that i can run?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    11

    SSH ciommand


    I'm logging into a remote server using SSH. What bash command do i use to list the available .exe files that i can run?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Linux executables don't usually have an extension, so if you are looking for files with *.exe in the name you probably won't find any. As for finding out which executables/programs you can run, enter the command
    Code:
    $echo $PATH
    That will list all the directories which contain commands you can run. You can then use "ls" to see whats in each directory. Some directories may not be in your path but you may still be able to run commands from them. Examples of such directories are /sbin, /usr/sbin etc. The commands there are usually reserved for root.

  3. #3
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    164
    hi! if you are using bash as a shell on the remote computer (echo $SHELL will
    tell you whether you are) then you could try hitting the TAB key twice.

    the TAB key is meant for completion of commands but if you use it on an
    empty line you shoud get all possible command. there could be many (2606
    on my machine).

    cheers, kai

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •