diskusagedisplays a numeric user IDinstead of a user name, the user account hasprobably been deleted. This is a quick andeasy way to find abandoned files and recycledisk space. Executing commands with findIt s time to switch gears and look at a very power- ful (and occasionally dangerous) feature of find: the -execaction. You ve seen that the -print, -ls, and -printfactions display information about selected files. The-execaction executes a program of your choosingwith the files that findhas selected. Suppose thatyou re a system administrator and one of yourcoworkers has recently left the company. Your taskis to find all the files owned by that user (call himted) and give them to user franklin. The -userqual- ifier will locate the files that you re interested in, and-execwill execute a command (in this case, chown) on each of those files: $ find / -user ted -exec chown franklin {} ; This command may look a bit cryptic to you (it surelooks cryptic to us). findexecutes the -execactiononce for each selected file. When findexecutesthecommand, it replaces {}with the name of theselected file. You must include a quoted semicolonat the end of the command ( ; ). You can probablyimagine all sorts of uses for the -execaction removing old files, moving certain files to otherlocations, fixing permissions, and so on. Never, never, never use the -execaction with- out first viewing the list of qualified files with -lsor -print. Never. Make sure that youknow exactly which files will be acted upon. To avoid running findtwice (once to see which filesare selected and again to execute the required com- mands), use the -okaction instead of -exec. WhenTo use the diskusagescript, follow these steps: 1.Open your favorite editor and type in the textshown in Listing 12-2. 2.Save your script to a file named diskusagein adirectory that s included in your search path. /usr/local/binis usually a good place. 3.Use chmodto make the file executable: chmod a x /usr/local/bin/diskusage To use diskusage, use the findcommand to locatethe files that you re interested in and use -printftocreate the output required by diskusage: $ find /home -type f -printf %U %s %u\n | diskusage211128211 franklin602579 10014525391478 root8756011463 freddieWhenever findlocates a qualifying file, it feeds theowner ID, file size, and owner name to diskusage. diskusageadds up the disk space consumed by eachuser and prints the results when findstops feedingit. The nice thing about this combination is that youcan select files so many ways with find, and no mat- ter which qualifiers you choose, diskusagehappilysums things up for you. For example, you can changethe previous command to see disk space, by user, that hasn t been accessed within the last 30 days: $ find /home -type f -atime 30 -printf %U %s %u\n | diskusage128211 franklin602579 10014000324962 root22315532 freddieIf you compare these results with the previousresults, you ll see that although freddie is a disk hog, he s at least using the data that he s storing. User1001, on the other hand, hasn t even logged in dur- ing the last month.
Searching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.
alcohol and xanax
Currently, texting is alcohol and xanax widely-used data service; 1.
with xanax dimenhydrinate contraindications
Increasingly, with wireless local loop technologies, namely DECT, with xanax dimenhydrinate contraindications is blurred.
necklace flower xanax
This is necklace flower xanax used to load necklace flower xanax s on PDA phones such as the Kyocera 6035 and the Handspring Treo.
prescription no 2 mg xanax
Mobile Applications are developed using prescription no 2 mg xanax M’s (previously Five M’s) service-development theory created by the author Tomi Ahonen with Joe Barrett of Nokia and Paul Golding of Motorola.
mix and buprenorphine xanax
Thus some markets have “Receiving Party Pays” models (also known as “Mobile Party Pays”), in which both outbound and received calls are charged, and other markets have “Calling Party Pays” models, by which only making calls produces costs, and receiving calls is free.
xanax photos
Officials from these jurisdictions argue that using xanax photos while driving is an impediment to vehicle operation that can increase the risk of road traffic accidents.
xanax and cats
Even tools for creating websites for xanax and cats s are increasingly becoming available, e.
ringtone composition c139
Today mobile payments ranging from mobile banking to mobile credit cards to mobile commerce are very widely used in Asia and Africa, and in selected European markets.
ringtones chinese motorola
As Receiving Party Pays systems have ringtones chinese motorola effect of phone owners keeping their phones turned off to avoid receiving unwanted calls, the total voice usage rates (and profits) in Calling Party Pays countries outperform those in Receiving Party Pays countries.
free motorola ringtones codes for
Around 80% of free motorola ringtones codes for population enjoys free motorola ringtones codes for coverage as of 2006.