Local tools or server tools?
Hi,
I'm using Slackware 12.1 with the default install and all updates and patches applied. I'm currently taking an internet Linux course. The course involves me logging into their server via ssh or telnet and executing commands from the CL. I'm observing slight differences in the behavior I'm observing vs the behavior I'm supposed to observe. (For instance, I should be asked for confirmation before rewriting a file, but it's not.) When I log into their server, am I using the tools on my system (grep, ls, which, find, echo, and so on) to interact with their system? Or, since I'm logged in there, am I using their tools installed on their server to interact with their system? Is there a way to verify what's happening? Is there a way to force my system to use their tools? Thanks, -Joe G. |
When you log into another system via ssh or telnet, you are working on their system, using their versions and accessing their files, not yours.
There are always slight differences between the various Linux flavors. Check which version / distribution they use on their system. Code:
uname -a Code:
echo $BASH_VERSION |
You are using the tools on their system. Once you ssh into that system, you are essentially sitting at that system and opening up a terminal.
The differences could just be from older documentation/instructions. |
It seems unanimous.
Thank you niels.horn and bassmadrigal! :) -Joe G. |
Quote:
|
Hi Woodsman!
uname -a on their system gives: Linux zippy.ccac.edu 2.6.9-78.13.EL #1 Wed Oct 8 12:45:16 EDT 2008 i686 i686 i386 GNU/Linux It's likely they are using FC2 or RH equivalent. (Though if you browse there, it presents itself as a Sun server page.) This is the output on their system: alias l.='ls -d .*' alias ll='ls -l' alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' uname -a on mine gives: Linux slackware 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 Intel(R) Celeron(R) D CPU 3.33GHz GenuineIntel GNU/Linux This is the output on mine: alias d='dir' alias dir='/bin/ls $LS_OPTIONS --format=vertical' alias ls='/bin/ls $LS_OPTIONS' alias mc='. /usr/share/mc/bin/mc-wrapper.sh' alias v='vdir' alias vdir='/bin/ls $LS_OPTIONS --format=long' It doesn't appear that cp is alias'ed. It appears as though I'll need to pass '-i' when using their server with cp, rm, rmdir and so on. Thank you, :) -Joe G. |
Quote:
|
Hi GazL,
That makes sense. My user's profile probably is different on the server. They must have "missed one." Thanks, :) -Joe |
All times are GMT -5. The time now is 10:11 PM. |