• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remote commands for LINUX

 
Dilanka Muthukumarana
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In WINDOWS Operating system has much more remote commands like [b]psexce.exe[/b]. those all commads we can get fron pstools.
so I want commands like this for LINUX Operating system.

If you all can help me..pleaseee...

I want to send files and execute several LINUX machine simultaneously.

 
Joe Ess
Bartender
Posts: 9313
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PsTools is just a collection of command-line tools. It has nothing to do with "remote" other than the fact that it is easy to execute from a shell.
Unix-like operating systems are much easier to manage from the command line than Windows. The window system is optional in Unix, so it is imperative that Unix programs provide a useful command-line interface. For a list of system commands, you can start with the Linux Man (Manual) pages. The command line itself is much more flexible than the Windows cmd. You can learn more with the Advanced Scripting Guide.
As for sending files, how do you propose to do that? FTP? SFTP? HTTP upload? Network share?
 
Maurizio Nagni
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If can add my 10 cents..... In Linux is quite straight to execute any command to a remote machine. The "secret" tool is called SSH.
As explained in the ssh man pages "ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine."

For example


Obviously the problem is if you want to executes all the commands as batch file: in this case how solve the SSH login prompt? Your smart solution would be to use an automatic logging throught "key authentication". You can find info about this last point here.

At this point, if you really want to do more magic things, you can just use SCP to copy a batch file into the remote machine and call it through SSH whenever you need.

ok... that were my 10 cents
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Linux, EVERY command is a "remote command". Even the GUI apps. It's why you don't need Citrix for Linux.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic