Sweeeet! I'm all for less code, but my two remaining brain cells are for less thinking. So I'll have to commit this on to my favorite code snippets file.
Hi,:cool:
I have a list of files in a directory.I need to store them in a file with the prefix of @ by using a command..
ex:@p_po.plb
@p_ebiz_roster_data.plb
any idea pls.
cheers
RRK (2 Replies)
Hi I have a very large csv file with some hundreds of thousands of rows of data.
The data is in the following format:
Up to four alpha numeric characters for the first word. This is either set as 2 characters followed by 2 spaces, or as a single 4character word. This is then followed by an 8... (7 Replies)
Hi,
In my shell script i have to match a patten in a file , if found i have to prefix the entair line by a "word"
eg. pattern = "aaa" prefix= #123
file: bbbb xxx
zzzz aaaa
qqqq kkkk
outPut file: bbbb xxx
... (5 Replies)
Hi all first post here.
quick question what Solaris 10 update level included this utility?
I have a bunch of Sun boxes at varying levels of Solaris 10 some have it some do not.
When I do my install I take the full option for the packages to install on all the systems.
thanks in advance... Mike (4 Replies)
Hi,
I have a Python unit test cases source code file which contains more than a hundred test case methods. In that, some of the test case methods already have prefix 'test' where as some of them do not have. Now, I need to add the string 'test' (case-sensitive) as a prefix to those of the... (5 Replies)
I need to shred and delete a file after a certain time. Therefore I use
shred -z /path/to/file.txt | rm -rf /path/to/file.txtIt works well, but typing
in that very directory
ls -shiI still see the so called backup-copy lets say file.txt~
When running bleachbit it will disappear thoroughly.... (3 Replies)
#!/usr/bin/ksh
# This script reads the *.rpt files created by xenos during job execution.
# The job name, jobid, number of pages processed and pdf files created for each job
# are added to the xenoshistory.txt file
Currently the ouput file looks like this but I need a date where the... (3 Replies)
Discussion started by: bcarosi
3 Replies
LEARN ABOUT LINUX
think
THINK(1) General Commands Manual THINK(1)NAME
think - you don't have to think, the computer can think for you
SYNOPSIS
think [ -detach ]
DESCRIPTION
Think simulates a thinking brain.
This can be useful if someone is not wanting to think at invocation time or if someone is needing some thinking about something. It can
also be helpful if someone's brain is not working correctly at invocation time.
When invoked, think will go ahead and look at all of the commands and keystrokes that a user has made during the current login session.
Think will then look at what files the user has. From this and what level the user is listed at in the file /usr/lib/think, think will
figure out what the user was trying to do when think was invoked.
DEVICES
The process that think uses to help a user is greatly aided if the user is wearing a brain interface bus (bib) device. A bib device is
normally worn on the head, and if being used, then think will try to see what was going through the users head at the time of invocation.
After think does this, it will send electric signals to the users brain, causing the user to type in whatever keystrokes are necessary to
accomplish the task that he/she doesn't want to think about.
OPTIONS -detach
also known as "Must mother do all of your thinking for you?"-mode. This options causes think to run in the background as a daemon
that watches for users who look like they may need assistance. When a user is found to be exercising cluelessness, think will lock
up their keyboard and will proceed to execute what seems to be the most likely sequence of commands that the user had intended to
execute. This flag may only be used by the super-user.
FILES
/dev/brain
bib device special file.
/usr/lib/think
file to indicate various user abilities. The format of this file is a username on each line followed by some whitspace and then a
number. The higher the number for a given user, the more likely think is to assume that that user knows what he/she is doing.
Unfortunately, what think considers a large number will vary with usage.
BUGS
If a user is using a bib device and actually lacks a brain of their own, then there is a high risk that think will take over their (non-
existent) minds. This has the upshot that someone other than the user will have to stop the program. (Perhaps this is a feature.)
It may illegal in some areas to force users to wear bib devices.
AUTHOR
This man page was written by John Guthrie <guthrie@math.upenn.edu> with suggestions from Kevin Whyte <kwhyte@math.upenn.edu> for the
alt.sysadmin.recovery man page collection.
think version 1.0 April 5, 1996 THINK(1)