Search Results

Search: Posts Made By: eosbuddy
3,037
Posted By eosbuddy
You need to set the full path to sqlplus in the...
You need to set the full path to sqlplus in the script.
218,100
Posted By eosbuddy
find /path/to/directory -ctime...
find /path/to/directory -ctime <integer-number-of-days-from-today> -type f |xargs rm
e.g. today is May 16 and May 12 is the target day (4 days ago) and my files are in folder mydir

cd mydir
find...
Forum: Solaris 05-12-2012
27,316
Posted By eosbuddy
Multiple users with same UID is not possible. ...
Multiple users with same UID is not possible. However, you could add multiple users to a particular group and change the permissions accordingly.
man group should give you a better idea.

You...
12,750
Posted By eosbuddy
Also (a db connection might be expensive or you...
Also (a db connection might be expensive or you may not have mysql on your system), another possibility is:
mysql -u <username> -p<password> -e "SELECT WEEK('2012-04-04');"
12,750
Posted By eosbuddy
date --date=20120404 +%W
date --date=20120404 +%W
1,902
Posted By eosbuddy
If bash script weren't a stringent requirement, I...
If bash script weren't a stringent requirement, I would suggest python, perl or php. Python has a package called BeautifulSoup to do exactly this... (you will need to also import urllib for fetching...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy