LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2006, 05:08 PM   #1
caroleet
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Woman Pages??


I've heard you can configure Linux so that entering woman (command) will give you the same results as man (command). Anyone know how?
Thank You.
 
Old 03-19-2006, 05:26 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
By creating an alias?
alias woman=man
 
Old 03-19-2006, 05:27 PM   #3
DrEwMoNeY
Member
 
Registered: Jan 2006
Location: Vulcan
Distribution: *buntu - Slackware - Anything on USB
Posts: 254

Rep: Reputation: 30
I don't recommend renaming executable files for fun, but.........

Maybe rename /usr/bin/man to /usr/bin/woman ???????

Not sure if it will even work. Not sure what else you would have to rename. Doing stuff like this often leaves you with unwanted results.

Good luck!

EDIT: Must have been typing same time as above. Alias sounds like a much better idea!

Last edited by DrEwMoNeY; 03-19-2006 at 05:29 PM.
 
Old 03-19-2006, 05:29 PM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
LOL...
Yes you can do that. For example, "man" is located in my distro in /usr/bin/. So, as root, just type
Code:
ln -s /usr/bin/man /usr/bin/woman
and you can use `woman` instead of `man`. `man` will still work, though, I hope that's OK ;-)
 
Old 03-19-2006, 05:29 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally Posted by DrEwMoNeY
I don't recommend renaming executable files for fun, but.........

Maybe rename /usr/bin/man to /usr/bin/woman ???????

Not sure if it will even work. Not sure what else you would have to rename. Doing stuff like this often leaves you with unwanted results.

Good luck!
Using an alias as suggested before is a lot better than renaming executables. You may have problems if commands that needs the exact name don't find it. An alternative would be to create a symlink called woman to man.
 
Old 03-19-2006, 05:30 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
Quote:
Maybe rename /usr/bin/man to /usr/bin/woman ???????
A bin named Sue?
 
Old 03-19-2006, 05:30 PM   #7
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Quote:
Originally Posted by DrEwMoNeY
Maybe rename /usr/bin/man to /usr/bin/woman ???????
Not a good idea because scripts might rely on `man`.
 
Old 03-19-2006, 05:48 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
Maybe you should create a man page entry if you do this. Someone who notices the new executable might type man woman and get confusing results
Code:
$man woman
No manual entry for woman
 
Old 03-19-2006, 05:50 PM   #9
DrEwMoNeY
Member
 
Registered: Jan 2006
Location: Vulcan
Distribution: *buntu - Slackware - Anything on USB
Posts: 254

Rep: Reputation: 30
They would get the same result as

man man

wouldn't they?
 
Old 03-19-2006, 05:50 PM   #10
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Talking

Quote:
Originally Posted by gilead
No manual entry for woman
What! No manual describing "woman"? I knew it...
;-)
 
Old 03-19-2006, 05:52 PM   #11
DrEwMoNeY
Member
 
Registered: Jan 2006
Location: Vulcan
Distribution: *buntu - Slackware - Anything on USB
Posts: 254

Rep: Reputation: 30
Quote:
Originally Posted by DrEwMoNeY
I don't recommend renaming executable files for fun, but.........
The first thing I did was say that I didn't recommend it. And for the record, I copied man to my desktop and renamed it to woman, and then copied it back into /usr/bin.

And guess what...............
 
Old 03-19-2006, 06:00 PM   #12
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Quote:
Originally Posted by gilead
Maybe you should create a man page entry if you do this.
At least, do
Code:
ln -s /usr/man/man1/man.1.gz /usr/man/man1/woman.1.gz
 
Old 03-19-2006, 06:04 PM   #13
wini_g
Member
 
Registered: Jun 2003
Distribution: SuSE 11.0
Posts: 171

Rep: Reputation: 30
transexual executables arent tolerated I guess .

That man wants to stay manly .

Hey PC-ness gone mad - lets have a woman command ?

Or well ... there are "cat" & "dog" (I love humour in everyday computing .. refreshing) ... where dog is suppossedly better than cat .. .

Well ... maybe its time for man to be replaces by woman

Cool idea ... creating lots of symbolic links could result in entertaining commnd line commands ... .

 
Old 03-19-2006, 06:05 PM   #14
DrEwMoNeY
Member
 
Registered: Jan 2006
Location: Vulcan
Distribution: *buntu - Slackware - Anything on USB
Posts: 254

Rep: Reputation: 30
Or just try

woman man

instead of

man woman
 
Old 03-19-2006, 06:11 PM   #15
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
On the subject of silly command lines and not the thread - sorry ... There's some more at http://gdl.msu.edu/~vanhoose/humor/0035.html and http://www.progsoc.uts.edu.au/lists/...1995/0570.html. There's a fair bit of overlap between the two lists, but what the heck...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need user-friendly, text-based dist for blind woman compguy81 Linux - Distributions 1 10-16-2005 09:47 PM
US woman sues over ink cartridges lacerto Linux - General 1 02-24-2005 08:35 AM
how to count the fault pages and the mapped pages riquelme Programming 0 05-20-2004 11:16 PM
7k salary or Woman of Dreams HadesThunder General 14 05-13-2004 02:26 AM
Woman in Distress--Wirelss paypachase Linux - Laptop and Netbook 5 09-15-2003 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration