Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to put a command over SSH to my CentOS server;

Are the comands for CentOS same with Ubuntu? Are the following commands work for CentOS?

if not where can I find the documentation of CentOS Comands?

share|improve this question

migrated from Aug 13 '11 at 10:45

This question came from our site for professional and enthusiast programmers.

closed as not a real question by womble, ewwhite, MadHatter, andol, MDMarra Nov 15 '11 at 19:34

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Both are Linux.... both will likely use bash as default shell....other commands depend on which software you have installed (obviously). The homepage is – Felix Aug 13 '11 at 10:33
Are the following commands work for CentOS? – user163616 Aug 13 '11 at 10:42
Why don't you just try them? – Felix Aug 13 '11 at 10:44
up vote 1 down vote accepted

Both are Linux distributions. The bash commands are the same for each distribution. There are eventually differences in shell script syntax depending on the shell version you are using (bash, ksh, zsh, ...).

For what concern SSH, it shouldn't have different syntax or options. The only thing you need eventually to check if the SSH version is the same on both machines. Very old version of SSH may have different options and feature, but this isn't dependend from the linux distribution.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.