This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line!
See this thread for details.
Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

remote commands for LINUX

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 25850
184
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic