Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: SSH ciommand

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    West Yorks
    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
    $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
    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

Posting Permissions

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