SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
For instance, bash should ask me for confirmation before rewriting a file, but it's not.
You probably have an alias established for the cp command. At a command line (both systems), type the command alias. On your system you likely will find the alias cp='cp -i', which means the cp command is in interactive mode. Likewise for the rm command.
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 184.108.40.206-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 dir='/bin/ls $LS_OPTIONS --format=vertical'
alias ls='/bin/ls $LS_OPTIONS'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
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.
I'm observing slight differences in the behavior I'm observing vs the behavior I'm supposed to observe.
Whoever was running the course was probably just a bit sloppy with their course documentation and setup. It may be that the guy who created the documentation had those aliases set up in his profile and therefore documented that behaviour, but that they haven't made the logons used by their actual customers the same.