- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- b,SWhat Command Would You Like to Seeb,}.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 06:53 AM
12-18-2001 06:53 AM
Re: b,SWhat Command Would You Like to Seeb,}.
A new shell for some of my "special" users. Call it msh ("man" shell). msh would display the man page for every command these "special" users entered, require confirmation, then allow only non-harmful command lines to be executed.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 06:57 AM
12-18-2001 06:57 AM
Re: b,SWhat Command Would You Like to Seeb,}.
It's a joke! Anyone without the mental capabilities to comprehend the implications of their actions before they perform them, had best stay with those Operating Systems that have an 'undo'.
Those who can, do; those who can't,.. seem to end up working with me!
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:06 AM
12-18-2001 07:06 AM
Re: b,SWhat Command Would You Like to Seeb,}.
Sorry brain is a bit slow today, too busy planning Xmas activities.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:09 AM
12-18-2001 07:09 AM
Re: b,SWhat Command Would You Like to Seeb,}.
Someone also suggested in another conversation:
leave - remind user what time to leave at.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:28 AM
12-18-2001 07:28 AM
Re: b,SWhat Command Would You Like to Seeb,}.
Since there is a command named "man", might as well do a command named "woman" :-)
man woman: (apart from outputting a baby)
woman - brings you a nice woman wherever you are.
-r : Russian woman
-n : Nude woman. Requires an authorisation code. Can be used with -r.
-f : You know what it is. Has to be used with -n and can be used with -r.
Sorry for this :-)
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 07:31 AM
12-18-2001 07:31 AM
Re: b,SWhat Command Would You Like to Seeb,}.
Use the proceadures in the order stated for the least amount of hassle from users (at least till you get back!)
shutdown -h 0
Switch off mobile
Go to the pub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 08:12 AM
12-18-2001 08:12 AM
Re: b,SWhat Command Would You Like to Seeb,}.
My favourite command (and I don't need Santa to create it, I already did :-) is
harakiri
Unfortunately it ONLY kills all the user's processes ... the user him/herself is left untouched (on second thought there's room for improvement there ... something "to do" in the new year).
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 08:21 AM
12-18-2001 08:21 AM
Re: b,SWhat Command Would You Like to Seeb,}.
I noticed you just executed the
#give_hat -name "Tom Geudens"
command
That's all I could wish for Christmas,
Thanks "Santa" Paula,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 08:24 AM
12-18-2001 08:24 AM
Re: b,SWhat Command Would You Like to Seeb,}.
On your new hat.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 08:46 AM
12-18-2001 08:46 AM
Re: b,SWhat Command Would You Like to Seeb,}.
clonebrittany -B -S
where -B equals size desired
where -S equals selfish mode
This would definitely put the HO HO HO back in christmas this year
or another command would be:
killbinladen -M
where -M equals method (all options accepted)
Merry Christmas and Happy New Year to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 08:47 AM
12-18-2001 08:47 AM
Re: b,SWhat Command Would You Like to Seeb,}.
A user calls up with a problem, (A really dumb problem, you know who they are...) you tell them you can work on it. Move file to their home directory, ask them to log in. Tell them they need to execute script in order for you to work on their problem.
Voila! Holiday bonus!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 08:55 AM
12-18-2001 08:55 AM
Re: b,SWhat Command Would You Like to Seeb,}.
what abt 'fuser' instead of fireuser?
Happy holidays ...
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 09:12 AM
12-18-2001 09:12 AM
Re: b,SWhat Command Would You Like to Seeb,}.
- will do exactly the function intended in the face of unexpected data. May be used in a pipeline as the ultimate (or penultimate if you want to pipe to pg or more as well) commandline filter.
--
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 11:54 AM
12-18-2001 11:54 AM
Solutionhere's a quick-n-dirty rtfm I have been using:
#!/bin/ksh
# search done in this form: cat intro.[chapter] |uncompress - |deroff|grep [string]
###
MANDIR=/usr/share/man
BOLD=`tput smso` #may cause problems if output routed to file or printer
UNBOLD=`tput rmso`
STATUS=1 #assume failure, set to 0 if we find a string
STRING=$1 #search string
CHAPTER=$2 #man chapter to search
for MAN_FILE in `ls $MANDIR/man$CHAPTER.Z/*`; do
RESULTS=`cat $MAN_FILE|uncompress - |deroff|grep -n "$STRING"`
if [ $? -eq 0 ]; then
echo "$BOLD$STRING$UNBOLD found in file $BOLD$MAN_FILE$UNBOLD"
echo $RESULTS
echo
STATUS=0
fi
done
exit $STATUS
# end of script #
HTH
--
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 11:57 AM
12-18-2001 11:57 AM
Re: b,SWhat Command Would You Like to Seeb,}.
#forums -u (Forums brought back up instantly on command)
#forums -e (Eliminate the 404 errors)
#forums -s (Put Forums into hyper speed..)
#forums -pu (Ability to subtract points from any user who neglects assigning points to their questions-or maybe an electrical shock the next time they try to post a question..ha ha)
And last - but not least...
#forums -jrf -acs (Quick command to give them another crown - they'll have the points faster'n any of us anyway..ha ha)
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 01:51 PM
12-18-2001 01:51 PM
Re: b,SWhat Command Would You Like to Seeb,}.
how about "autopilot" ?
would be welcome during these holidays ;-)
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 12:40 AM
12-19-2001 12:40 AM
Re: b,SWhat Command Would You Like to Seeb,}.
How about :-
upgrade - instantly upgrade your system to whatever specs - more memory, cpu disks etc.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 02:27 AM
12-19-2001 02:27 AM
Re: b,SWhat Command Would You Like to Seeb,}.
man oops:
Restores files deleted by the last 'rm -rf *'

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 02:32 AM
12-19-2001 02:32 AM
Re: b,SWhat Command Would You Like to Seeb,}.
Universe has an oops command - undo last.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 02:44 AM
12-19-2001 02:44 AM
Re: b,SWhat Command Would You Like to Seeb,}.
Krupp, the weapons makers? Do they still exist?
'new_server'
run it when you are somehow out of resources. A new server (with hardware configuration maxed) (and already best-tuned) will appear, along with the cables needed (that will be properly connected in their slots / hubs ).
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 02:48 AM
12-19-2001 02:48 AM
Re: b,SWhat Command Would You Like to Seeb,}.
export OBVIOUS=True
When I do a 'dbf' command, it's quite obvious what I meant, so the shell will translate it to the proper command 'bdf'.
Same goes for missing 1 space in a command string that throws the whole thing out! Thank Allah for Korn Shell History!
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 03:12 AM
12-19-2001 03:12 AM
Re: b,SWhat Command Would You Like to Seeb,}.
Following huge requests for restoring commands, I did two commands named vrm and vrest (Vince's rm and Vince's restore). Vrm is like rm, but before it erases the files, it backups them in a compressed file. Vrest can open this file and restores them on request.
Clever huh? :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 03:57 AM
12-19-2001 03:57 AM
Re: b,SWhat Command Would You Like to Seeb,}.
All my Xmas wishes are fulfilled.... I am still running UN*X!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 04:54 AM
12-19-2001 04:54 AM
Re: b,SWhat Command Would You Like to Seeb,}.
swinstall -ig
install goddamit
also to reboot
reboot -vq
very quick
Very useful...
Have a GREAT Christmas!
Have ten beers for me!
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 06:23 AM
12-19-2001 06:23 AM
Re: b,SWhat Command Would You Like to Seeb,}.
http://people.msoe.edu/~taylor/4ltrwrd/UAap.html
ap:
The ap (auto pilot) command has a deceptive name. It doesn't actually place the computer on auto pilot. The ap command reads your mind and attempts to perform the commands you want to do. For example, thinking "I really wish I had a backup copy of the tanana image." will cause ap to input
cp tanana.* tanana_bak.*
to the Unix shell. Preceding a thought with "ignore" will cause ap to ignore your next thought. Although, with enough practice, the ap command can be a significant time saver, there are a few unresolved problems with this command.
1.I often change my mind while in the thinking process. In the previous example I may have decided later that I wanted to call the backup copy something else. No big deal here, ap just changes the filename but it isn't the most efficient use of computer resources.
2.All of the commands are echoed to the screen so that you know exactly what is going on. This is great as long as you remember to think "ignore" before you read each command. If you forget, the command will be executed again. This will continue until you remember to include the "ignore" flag or you think, "What is going on here?" which will cause the man pages for the particular command you are repeating to be displayed.
3.The ap command reads the strongest mind waves (known as grey waves) that it finds. If you have weak grey waves or your monitor is closer to someone else in your office, ap may listen to someone else's mind instead of yours. Also, walls do not provide insulation from grey waves, so if your monitor is near a wall, be prepared for some grey waves from minds on the other side of the wall to occasionally sneak in.
4.As you probably know, humans (you included) don't use their brains to their highest potential. In fact, many believe that we use as little as 5% of our brain's capacity. The problem here is that ap is only able to read around 80% of your mind. Unfortunately, many people use the 5% of their mind that ap can't read. When ap is called it scans your mind for activity, if none is found it prints the following cryptic error message:
ap: Command not found.
This indicates that it couldn't find a command in your head. Don't worry, this doesn't mean that you aren't thinking, it just means that you use the part of your brain that ap can't access.
Robin.