Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
ok, just upgraded my laptop to MDK10 and to be blunt i like RH better, but the question i have is this.
how in the world do i make the stupid interactive mode go AWAY and stay away for things like rm cp mkdri etc???
im sorry, but one of the great things about *nix is when i tell the computer to do something it DOES it without harrasing me 50million times if i really want to do what i told it to do.
if i rm * i want said file gone NOW, not after answereing y or n.
Mandrake has the -i option built into rm and cp. It also has a bunch of similar aliases. If you type 'alias' in your terminal you'll see all of those. You can remove them by using the unalias command (unalias -a for them all). However, I don't know if this is the way to permanently delete them, or if it just works in a single session, as I have never used it myself.
Yes. Adding '-f' worked for me. Because I'm using fedora, by default the is no alias '-i'. I added the the '-i' in my .bashrc myself. But when I think it is safe to delete everything. I just add '-f' option so that the bash won't bother me with interactive mode. (I usually use '-rf').
fyi, what vs of fedora are you using and how simular is that to the older RH line? i am really missing RH as it runs so much faster on my hardware then MDK does. also runs much lighter then MDK.
ok thanks. well i have RH9, so it was the last of the RH release compaired it to MDK10 again latest release of thier software.
installing FedoraC1 now on a desktop to see how i like it compaired to RH9.
im looking for a soild server for my apache and maybe sendmail/postfix(not 100% ill use linux for mailserver yet as im really over my head with that) that will stay up to date for a while to come alowing me to keep it at least errata secure for close to 2yr before i have to OS upgrade.
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
ok that is my .bashrc standard default install with RH9 (MDK10 killed my system so i went back to RH9 as fedoraC1 did not recognise my NIC)
but here is my list of built in aliases:
Quote:
[root@localhost ray]# alias
alias cp='cp -i'
alias l.='ls -d .* --color=tty'
alias ll='ls -l --color=tty'
alias ls='ls --color=tty'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
alias mv='mv -i'
alias rm='rm -i'
alias vi='vim'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
id like premanetly change mv, rm, cp to all without the -i. still getting used to the CLI thing and its hard enough remembering all these new commands without having the dufaule OS screw with the settings like this.
can i just set them back to the .bashrc to rm = rm or is there an other place. there has to be some other file i can edit somehow to resolve this issue. please advise, and help.
thank you.
[edit to add] i can unalias, but that is only good until i logout or i close that counsol so that is not doing what it is supposed to do as i understand it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.