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? https://help.ubuntu.com/8.04/basic-commands/C/index.html

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

link|improve this question
What are SSH codes? – Felix Aug 13 '11 at 10:26
Question edited – user163616 Aug 13 '11 at 10:33
Both are Linux.... both will likely use bash as default shell....other commands depend on which software you have installed (obviously). The homepage is centos.org – Felix Aug 13 '11 at 10:33
Are the following commands work for CentOS? help.ubuntu.com/8.04/basic-commands/C/index.html – user163616 Aug 13 '11 at 10:42
Why don't you just try them? – Felix Aug 13 '11 at 10:44
feedback

migrated from stackoverflow.com 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. See the FAQ for guidance on how to improve it.

1 Answer

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.

link|improve this answer
feedback

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