LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-18-2004, 06:48 AM   #1
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Talking /etc/profile.dos


This is so nice, I need to post it

/etc/profile.dos (SuSE)

Code:
# /etc/profile.dos
#
# Provides aliases which return (hopefully) helpful messages when
# D*S command names are entered on the shell. This might help some
# users to get used to the Unix environment more easily.
# To get rid of these aliases, just rename or delete this file.

alias del="echo 'Error: Try the command: rm -iv'"
alias move="echo 'Error: Try the command: mv -iv'"
alias copy="echo 'Error: Try the command: cp -piv'"
alias mem="echo 'Error: Try the command: free'"
alias ver="echo 'Error: Try the command: uname -a'"
alias cd..="echo 'Error: Try: cd ..'"
alias chkdsk="echo -e 'Error: Your filesystems are checked on bootup.\n\
	If you want to do it manually, use fsck.\n\
	Use df and mount for an overview of your disks.'"
alias sys="echo -e 'Error: Linux cannot be transferred like that.\n\
	If you want to install Linux or create bootfloppies, please use YaST.' #"
alias A:="echo -e 'Error: There is no such thing as a drive A: in Linux.\n\
    If you want to access your floppy, try \"mount /dev/fd0\" and then look\n\
    in the directory /media/floppy !'"
alias C:="echo -e 'Error: There is no such thing as a drive C: in Linux!\n\
	Your harddisk should already be mounted (via /etc/fstab or autofs).'"
alias a:="A:"
alias c:="C:"
alias format="echo -e 'Error: The DOS concept of formatting disk media is screwed.\n\
	If you want to create a filesystem use \"mkfs\". To format a floppy, use\n\
	\"fdformat /dev/fd0\" and then \"mkfs.minix /dev/fd0\".' #"
I know, this is probably very helpful, but I was ROFL when I read this.

Have a lot of fun!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
non roaming profile on a roaming profile system fieldyweb Linux - Newbie 1 10-03-2005 12:27 PM
Dos Emulator without Dos dtheorem Linux - Software 1 10-14-2003 01:18 PM
Dos Emulator without Dos dtheorem Linux - Software 1 10-14-2003 12:52 PM
Dos Eits0 General 2 06-06-2002 01:10 AM
/etc/profile flex411 Linux - General 7 05-11-2001 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration