apt-get install as root or su -c 'apt-get install' as user
apt-get install needs to be executed as root.
What is the difference regarding security of my computer of the both
On 2008-01-12, Tilo Baumann <email@example.com> wrote:
> apt-get install needs to be executed as root.
> What is the difference regarding security of my computer of the both
When you use su -c or sudo, root privileges are dropped as soon as the
command is complete. /var/log/auth.log shows what command was executed,
instead of just showing when someone logged in as root.
O...Getting most recent date and closes date
I'm trying to create a data set that has the most current(or recent)
date and the date closes to the that date for each ID.
Ultimately what I'm need is the number of days between the two dates.
The dataset would look like the following.
ID COUNT most_recent_date closes_date diff_days
2758 3 13APR2007 21MAR2007 23
2759 1 09FEB2007 09FEB2007 0
2760 2 26FEB...how to get tomorrow date using Date::CALC
want to take a date and return tomorrow's date..
How to convert $tomorrow back to YY-MM-DD format?
What is the inverse of Date_to_Days ?
... perl2.pl ---------------------------
use strict; use warnings; use Date::Calc qw(:all);
my ($yr2, $mon2, $day2, $tomorrow); my ($year, $month, $day);
$yr2 = 2005; $mon2 = 3; $day2 = 20;
print (" date- year: $yr2 month: $mon2 day:$day2 \n");
$tomorrow = Date_to_Days($yr2,$mon2,$day2) + 1;
print ("tomorrow: $tomorrow \n");
($year,$month,$day) = Today([$tomorrow]);
print ("tommorow- year: $year mon...Re: Getting most recent date and closes date
I don't know how this will scale to your 20M records. If then number
of IDs is "reasonable" it could be tolerable. Do you have an idea
about the number of IDs?
input id date:date9. @@;
format date date9.;
2758 21MAR2007 2758 10JAN2007 2758 13APR2007
2760 31JAN2007 2760 26FEB2007
2763 15JAN2007 2763 16APR2007 2763 29MAR2007 2763 01FEB2007
proc summary data=work.test nway;
rename=(_freq_=Count date_1=MostRecient date_2=Closest)
...Have used apt-get install to install Wine again
but now when i try to run my program i get...
frazelle09@LaGrandota:~/.wine/drive_c/Ocean$ wine ./ocean.exe
Xlib: extension "GLX" missing on display ":0.0".
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL,
plus the Register dump and the Backtrace.
i haven't changed anything on the computer, just did apt-get update,
apt-get dist-upgrade and it asked if i wanted to install Wine. "Yes".
Bam. Now the program i use doesn't work anymore and if i run it from
the Terminal i get the above...
What's "GLX...How to get ORACLE Server Date, not local PC Date?
I'm trying to get the server date, but sysdate or any date function
returns the date of my PC ... is there any way to get this?
"alesk" <firstname.lastname@example.org> a �crit dans le message de news: email@example.com...
| I'm trying to get the server date, but sysdate or any date function
| returns the date of my PC ... is there any way to get this?
SYSDATE returns the current date and time set for the operating system on which the database resides.
Michel Ca...Date function to get date of Monday of current week
I need to select from a table where a date column is greater than
Monday's date of the current week.
I see a lot of date functions but don't see any that addresses this
Anyone know of a good way of doing this?
Thanks in advance.
On 17-5-2009 18:20, vbhavsar wrote:
> I need to select from a table where a date column is greater than
> Monday's date of the current week.
> I see a lot of date functions but don't see any that addresses this
> particular requirement.
> Anyone know of a good way of doing this?
So...Cant Get a Date Field to return correct date?
Right i have tried but failed!
I have a Form and a subform
Fields in Sub form are:-
Planned - Checkbox
Unplanned - Checkbox
Maint Type - Dropdown selection
Completed - Checkbox
Fields in Main form are:-
Then i have four groups of Maintenance types
Pressure Test - with a Yes and No selection (Yes property = 36 No =0)
NDT Test- with a Yes and No selection.
Basically I want the Next due date field to look at the maintenance
type Eg. "Pressure Test" and the date done and add 36 and give me a
d...Get the date time from Oracle date time stamp?????
I am using crystal reports to attempt to extract information from this
database but I need to know which records were last updated. I have
managed to find a field in Oracle and its value is based on a trigger
function as shown below
select TIMESTAMP_SEQ.nextval into :new.NURS_TIMESTAMP from dual;
This at 9.45am (UK) on 05/09/2003 generated a value of 5,048,868
My main expertise is in SQL Server, my question is can I reverse
engineer this value to calculate the time? Or is it like an identity
field in SQL server (i.e. An automatic incremental counter)