General :: Convert Past Or Future Dates In Awk?

Mar 20, 2010

All I see from googling examples in awk is converting current date. How do I convert a list of past or future dates for example :

Jan18'09
Aug 7'98
Jun20'11
Apr 1'10

I will be using it to compare dates in a file and act on it accordingly.

View 5 Replies


ADVERTISEMENT

General :: Find In Between Particular Dates

Oct 29, 2010

find / -newer -10 mtime +30.i want to check only those files which are modified yesterday.

View 1 Replies View Related

General :: Sort As Per The Dates And Months

Feb 22, 2010

I am getting little bit difficult in sorting the date ranges which are in a field like:

How make a sort as per the Month and date , i mean result should be as per the month and date wise. If i go for the sort -M , i am not able to get the list as per date of the particular month.

View 4 Replies View Related

General :: Ubuntu Timestamp Too Far In Future

Apr 23, 2010

Cannot sudo and gets this message: timestamp too far in the future. I don't have gui interface.

View 1 Replies View Related

General :: Compare 2 Dates In European Format (dd/mm/yyy)?

Oct 12, 2009

I need to compare 2 dates in european format (dd/mm/yyy). date -d<my date> %s command converts date into unix epoch (integer), thus make it easy to compare. The problem is that -d (or --date) option interprets date in US format-ie mm/dd/yyy.

View 4 Replies View Related

General :: Rsync Files With Dates After A Certain Date?

Jun 8, 2010

I was going to do a rsync -r -a -z -v -p -e sshto move some files frome server to another, but then realized all I really need are files which have dates starting June 1, 2008 to current. Is there a way to have rsync only sync those files?he directory structure that's my source goes all the way back to 2004.

View 5 Replies View Related

General :: Kill All The Processes That Have Dates Older Than Today?

Feb 11, 2011

I issue the command ps -aux | grep tony. It displays the following output

tony 10986 0.0 0.0 33532 464 ? S Feb01 0:00 vncconfig -iconic
tony 10988 0.0 0.0 86012 512 ? S Feb01 0:00 twm
tony 15553 0.0 0.0 92404 1848 ? S 10:34 0:00 sshd: tony@pts/34

[code]....

View 3 Replies View Related

General :: Processing Log File Within Certain Dates Based On Filename

Apr 8, 2010

I am working on the script parsing specific message "TEST" from multiple file. The log file name looks like:

N3.2009-11-26-03-05-02.console.log.tar.gz
N4.2009-11-29-00-25-03.console.log.tar.gz
N6.2009-12-01-10-05-02.console.log.tar.gz

I am using the following command:
zgrep -a --text "TEST" * | awk -F"[ .,]" '{sub(".*:","",$6); sub(",.*","",$7); print $1,$6,$7,$10}
and getting
N3 2009-11-25 20:12:57 TEST
N4 2009-11-28 10:42:18 TEST
N6 2009-12-01 10:00:24 TEST

If I only want to search the log file after 2009-11-29, what shall I change the command?

View 1 Replies View Related

General :: Delete Old Directories Based On Dates In It's Dirnames?

Jul 13, 2011

I have tried to find the solution for my problem on this site and other sites but haven't found a good enough answer yet. Maybe some of you can help me out here?What i need is a script (bash preferrably) that can delete directories based on a date in its dirname.For example.I have a bunch of directories that is named

data-20110623/
data-20110624/
data-20110625/

[code]...

View 5 Replies View Related

General :: Script To List Deleted Files With Dates?

Mar 29, 2011

I created a script to move files to a "trashbin" This is my code:

Code:
mv $1 /home/giovanni/trashbin
echo "$1 Deleted"

[code]...

View 13 Replies View Related

General :: Future Of Open Office - Latest Version

Oct 23, 2010

Since open office is now bought by oracle I am confused about the state of the latest version of OO version 3.2 I think. Would it be legal to install that version on a computer. Oracle perhaps made a bummer with this. The real dev community is thrown out and we are again looking at corporate greed taking precedence for their own profit rather than development of technology. I have high hopes from libre office but then one more open source product (it was not sun's to begin with remember) being swallowed by a corporate.

View 4 Replies View Related

General :: Role Of System Admins May Change In Future

Aug 30, 2010

It states there could be changes in role of system adminstrators. If this is going to happen, Being a system admin what are the skill sets do I have to develop ?

View 1 Replies View Related

General :: Setting Permissions For Group Permanently For Future Files And Folders?

Jul 19, 2010

I would like to set both user and group permissions permanently to be 'rwx' (read-write-execute). I would like these rwx settings for all the future files and folders.

I tried umask 002, chmod etc, but they don't set it for future files.

View 3 Replies View Related

General :: Using Convert From Imagemagick Package To Convert Multiple Jpg Files?

Jul 18, 2010

I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault

View 5 Replies View Related

General :: Virtualising Ubuntu Server Edition - Avoid Having To Reinstall In The Future When Upgrade Hardware

Mar 26, 2011

I want to run Ubuntu Server Edition just at home, however to avoid having to reinstall it in the future when i upgrade hardware, I was thinking of virtualizing it first. Are there any minimalistic virtualisation solutions available at the moment for this sort of purpose? Or even better a linux distro just for this?

View 3 Replies View Related

General :: Parsing File Dates - Get The Date Of The Last Time A File Was Modified ?

Jan 11, 2010

I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.

View 2 Replies View Related

General :: Boot From CD, But Can't Get Past GRUB?

Jul 30, 2011

I have dual boot system - Win7pro, Ubuntu 11.04, installed Win7 1st.I need to boot from CD, but can't get past GRUB... ?

View 2 Replies View Related

General :: Get Past Login Screen?

Apr 13, 2010

I am trying to create a script that I can save on the desktop of my Primary computer and have it log in (get past the log in screen on the remote computers, and the banner) to multiple computers with the same user name and password in a LAN that is not connected to the internet.I am also trying to create a script that starts a script on the desktop of these remote machines ON the remote machines, but I think I am on the verge of figuring that one out with the "expect" command in a script.

View 11 Replies View Related

General :: Getting Past Password On Xubuntu 6.04?

Jun 27, 2010

I obtained this old tower from a relative, and she gave me the OS disk, but it came with two, "xubuntu 6.04" and "kubuntu 7.10". she thinks it xubuntu, but isnt really sure, but im going to say it is for now, back to the problem, when i boot up the computer it comes to a screen that looks like this.Type the password and -- press <ENTER> to leave password security enabled.-- press <CTRL><ENTER> to disable password security.Enter password:

View 14 Replies View Related

General :: Toughbook CF-29 Won't Get Past Splashscreens?

Jun 9, 2010

that didn't go so well. This is a Panasonic Toughbook CF-29 H3 model. Non-touchscreen, Pentium 1.4 M, 1.5 GB RAM, 40 GB HD, CD-ROM drive.

The machine boots off of the Ubuntu NBE 10.04 CD-ROM, goes to the splash-screen (the Ubuntu Logo and 4 orange/grey dots) and after a few seconds the splash screen clears, the screen goes blank, and the CD-ROM drive stops reading. That's it. I ran the Check CD-ROM utility from the boot menu of the cd-rom and it checked good. I ran the check RAM (MemTest) utility and that was good as well. I put the CD-ROM in my Dell Inspiron and it ran just fine letting me into the LiveCD environment.

I've tried Alt-Ctl-F1 to see if there's a command prompt, but that doesn't work. I can't find any special key combination that does anything for me.

I also burned a copy of Puppy Linux 5.0, and that meets with pretty much the same results. It gets to "Setting up the layered filesystem... Done" and then "Performing a 'switch_root' to the layered filesystem...Kernel Panic - not syncing: Attempted to kill init!

And that's the end of the show... she will go no further.

The thing has Win XP installed on it and functional, so the machine works...

View 2 Replies View Related

General :: Command To Get Past An I/O Error In A File?

Sep 24, 2010

I have a log file that has an I/O Error about halfway in. It is a syslog file with Sendmail log entries. I need to break into smaller files. I tried using a simple egrep command creating new files by the date _egrep "^Sep 19" filename_ but the command hangs when it hits the I/O Error.

I tried split but it bails out when it hits the I/O Error. Is there anyway to read the file and get past the I/O Error? IS there a way to read the file from the bottom up so I can get the data from the top and bottom?

View 4 Replies View Related

General :: FC-8 Installed - Cannot Get Past Starting UDev

Mar 24, 2010

Installed FC-8 (DVD) on old dell 866mhez desktop years ago; works like a champ. Inherited dimension 2400, used same DVD. No errors loading (std config). Reboot and linux starts. Gets to 'Set clock - ok' and hangs on 'starting UDev'

Celeron 2.4G
bus speed 400M
L2 cache 128kb
384 DDR SDRAM
FC-8 2.6.23.1-42 on the DVD.

I know FC-12 is out, but with older HW, trying to stay compatible.

View 10 Replies View Related

General :: Can't Get Past Login Screen In Ubuntu 10.10

Oct 29, 2010

i'm running ubuntu maverick on a dell laptop and it was working flawlessly until the audio started stuttering so I looked up a possible cure for it. I came accross a post that said uninstalling pulseaudio would cure the problem - so i did through software centre. When I was uninstalling it there was configuration files to uninstall as well. When I shut down the laptop and tried to restart it, it goes to login screen with my name but when I click on login it goes back to the same screen. This is the first time this has happened and im not sure what I can do.

View 14 Replies View Related

General :: Resolution Will Never Stretch Past 1024x768

Jul 7, 2011

So I have a resolution problem. Before posting here, I've checked many MANY forums for similar issues, handpicking certain techniques and trying each. Sometimes they worked, and then my problem came back.

Distro: Fedora 14
Monitor: emachines 18.5" E181HV
GPU: Nvidia GeForce 8800GT
resolution: 1360x768

My problem is that the resolution will never stretch past 1024x768. I have the image of my desktop in the middle part of the screen, with black sections on either side. Here is a list of things that I've already done or tried:

Install Nvidia drivers
disable Nouveau via grub.conf
use xrandr to modify xorg.conf and add the resolution
different cable
different DVI converter

One day, I logged into my Fedora boot, and after a week of frustration, the issue decided to fix itself. So I continued on, using Fedora and planning on a permanent switch from Windows. I log back over to Windows to play some games and whatnot (I'm not a fan of how Wine handles some games). I then log back to Fedora, and the issue is back. The resolution is messed up again.I've since removed that partition from my drive, as I've reached my wits end with troubleshooting. My linux expert friend tells me it may be that my monitor is just not good enough, or is not sending/receiving the proper EID signature, thus will not accept the resolution, or something along those lines.

View 1 Replies View Related

General :: Get Free Memory Stat For The Past Few Days?

Jul 5, 2011

im trying to collect some data. Is there a way to get the free memory stats over the past few days from some file... i looked into the sar log files but they dont have date stamps in them!

View 6 Replies View Related

General :: System Wont Boot Past Multiuser As Var Is Not Writable

Feb 15, 2011

My Slackware's display suddenly got hanged with just a black screen and a mouse pointer visible not even the Ctrl+Alt+Backspace worked.So I switched off my system by pushing the button on the CPU .

After that when I tried to boot into my system it wont boot past going multiuser with below error messages

Code:

Hanging @ starting

Code:

Though I can login when trying to boot through singleuser but when I try to

Quote:

startX

It again gets stuck at the above errors

View 11 Replies View Related

Software :: Dir And Dates Listings Are Not Consistent?

Jan 26, 2011

It only occured to me now, but why is it that date listings are not consistent?

ex:

Code:

They are all Month Day Year but one (from that particular extract, there's more), why is the 3rd there one Month Day Time? I know the year is not 2011 because we have not hit august 2011 yet, but what if it's 2009 or 2008? I would not know.

One of my sites got hacked and I'm just trying to figure out what the hacker got into and trying to figure how he got in so I can fix the exploit.

View 3 Replies View Related

Software :: KDE And Qt Toolkit Future?

Feb 14, 2011

Anybody worried about KDE future. KDE use the Qt toolkit and Nokia the owner of Qt is going all Windows on there phones. Does anybody know what may happen. Just wondering.

View 7 Replies View Related

Slackware :: Future Of KDE Does Not Look Bright

Apr 4, 2011

After the Nokia-Microsoft deal, the future of Qt doesn't look very bright. Many developers think that Nokia has no interest in Qt for the desktop. [URL] And since KDE is based on Qt, and KDE is the (sort of) default desktop environment for Slackware.

View 14 Replies View Related

Ubuntu Security :: Interpret The 'dates' In Rkhunter.log?

Oct 6, 2010

I've got rkhunter installed and regularly do scans immediately before & after updates & if I get warnings about 'file property updates' after the update I use 'rkhunter --propupd' to give me a clean run.I'm about to setup a ubuntu computer for my nan, I want to enable automatic security updates so she doesn't have to do anything to keep her system secure. I was planning on running rkhunter when I go to her house (about once a month) and check the dates in the resulting rkhunter.log warnings with those in the var/log/apt/history.log to see if legitimate updates caused any rkhunter warnings. I've noticed though that the 'Current file modifiation time:' in the rkhunter.log warnings are incorrect.

My system seems to be about 15 days behind the actual date, I've now run rkhunter --propupd so I have no warnings but got this one off another forum post to show what I mean:

Current file modification time: 1283341157 (01-Sep-2010 06:39:17)

I believe that the '1283341157' is the time in some strange format and the date in brackets is what rkhunter thinks it might be in human format.

1) How to interpret the 'strange date format' (1283341157 in the line above)?

2) If there's a way of configuring the date in rkhunter so that they're correct in rkhunter.log?

3) If there's a better way of keeping her system up-to-date & secure, it's her first computer & she's 86 so I think setting up automatic security updates is the way to go, it'll be one less thing to overwhelm her!

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved