LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Woman Pages?? (https://www.linuxquestions.org/questions/linux-newbie-8/woman-pages-426347/)

caroleet 03-19-2006 04:08 PM

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.

2damncommon 03-19-2006 04:26 PM

By creating an alias?
alias woman=man

DrEwMoNeY 03-19-2006 04:27 PM

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!

uselpa 03-19-2006 04:29 PM

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 ;-)

reddazz 03-19-2006 04:29 PM

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.

2damncommon 03-19-2006 04:30 PM

Quote:

Maybe rename /usr/bin/man to /usr/bin/woman ???????
A bin named Sue?

uselpa 03-19-2006 04:30 PM

Quote:

Originally Posted by DrEwMoNeY
Maybe rename /usr/bin/man to /usr/bin/woman ???????

Not a good idea because scripts might rely on `man`.

gilead 03-19-2006 04:48 PM

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


DrEwMoNeY 03-19-2006 04:50 PM

They would get the same result as

man man

wouldn't they?

uselpa 03-19-2006 04:50 PM

Quote:

Originally Posted by gilead
No manual entry for woman

What! No manual describing "woman"? I knew it...
;-)

DrEwMoNeY 03-19-2006 04:52 PM

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...............

uselpa 03-19-2006 05:00 PM

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

wini_g 03-19-2006 05:04 PM

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 :D

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

:)

DrEwMoNeY 03-19-2006 05:05 PM

Or just try

woman man

instead of

man woman

gilead 03-19-2006 05:11 PM

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...


All times are GMT -5. The time now is 10:09 PM.