Software :: Getting Date Command To Output In Format 08-Dec-2010?

Dec 8, 2010

How can format the date command to output the following format 08-Dec-2010.

View 3 Replies


ADVERTISEMENT

Software :: Read Date In Format Of 12/04/2010?

Oct 21, 2010

i want to know that how we can read date in format of 12/04/2010

in bash shell script

i mean , i want to read date form key board

i want that the user give input in the form of 12/04/2010 and then system varify that the entered date formate is correct or not. if it is valid , system will print echo " valid date" otherwise system will print echo "invalid date format"

View 2 Replies View Related

General :: Pipe The Output Of Date Command?

Jul 21, 2011

I need to pipe the output of date command, to form a command like this:

mycommand -f 20110721

where 20110721 is current YearMonthDay.

View 1 Replies View Related

General :: Pass Multiline Output Of A Command Into 'date -j'

Mar 3, 2011

I am doing some NSCA log parsing and I want to get an output like this:

2011-Feb-18:11:00:07
2011-Feb-18:11:00:07
2011-Feb-18:11:00:07
2011-Feb-18:11:00:08
2011-Feb-18:11:00:08

[Code]....

I have tried this, but it treats the entire output as a single line, then plops a timestamp on the end (I think):

Code:

sort -b -k4.9,4.12 -k4.5b,4.7Mb -k4.2,4.3 -k4.14,4 foo.log| date -j -f "%Y-%b-%d:%T" "+%s" "`awk -F '[ [/:]' '{print $7"-"$6"-"$5":"$8":"$9":"$10}'`"

View 1 Replies View Related

General :: Pass Multiline Output Of A Command Into 'date?

Mar 3, 2011

I am doing some NSCA log parsing and I want to get an output like this:

2011-Feb-18:11:00:07
2011-Feb-18:11:00:07
2011-Feb-18:11:00:07

[code]...

View 6 Replies View Related

General :: Store The Output Of Date And Watch Command To A File

Jun 15, 2011

I am trying to watch a command and try to log it into a file. I tried

watch -t -n 10 "(date '+TIME:%H:%M:%S'
; ps aux | grep "pattern" | wc -l)" >>
logfile

and am expecting a result like

TIME: 10:32:30 12
TIME: 10:32:40 18
TIME: 10:32:50 2

to be stored in logfile. However, when the logfile has unprintable characters in in. How do I get this kind of output from the command li

View 4 Replies View Related

General :: Format The Output Of The Ps Command?

Aug 27, 2010

i am running ps xo "pid,command" but I can't find my process in the results. I know that the process is running because I run ps ax | grep command-name

View 4 Replies View Related

General :: Output Format For LS -LTR Command

Feb 5, 2010

I have a script that is in Unix. I wanted to know is there any difference between output of ls command in unix and linux

In Unix
Code:
ls -ltr | awk '{print $9}'
In linux output is something similar to

Code:
drwxrwxrwx 2 vinay vinay 4096 2010-02-04 20:31 test
According to above output nothing will be displayed for

Code:
ls -ltr | awk '{print $9}'
ls -ltr | awk '{print $8}' will give test as ouptut in Linux.

I wanted to check the output format for ls -ltr, Anyone using Unix systems may paste a sample output of the command ls -ltr..

View 2 Replies View Related

Ubuntu Multimedia :: Ffmpeg / Mtv Format - Error "Unable To Find A Suitable Output Format For Output.mtv"

Jan 22, 2011

I'm still trying to find out if my coby mp3 player will actually play mtv video files as is advertised.

ffmpeg -formats does list mtv but the only command I really ever used was one to convert a vid to an mp3 so I tried Code: ffmpeg -i test.mp4 -acodec copy output.mtv it returns Code: Unable to find a suitable output format for 'output.mtv' I can't find any mtv files online for purchase or free for that matter, so I know this is all pretty obscure but shouldn't there be a way to convert them since ffmpeg lists mtv format?

View 6 Replies View Related

Ubuntu :: Get A Space Between The Date 2010 And The Time 12:29:29pm?

Jul 31, 2010

echo "testavast`date +%m-%d-%Y%l:%M:%S%P`" | cat >> /home/lance/report/update.txt

i get testavast07-31-201012:29:29pm

how do i get a space between the date 2010 and the time 12:29:29pm

View 1 Replies View Related

Fedora :: Date Format In Dolphin

Aug 18, 2011

I have Fedora 15, with gnome and KDE core because I want to use Dolphin. The language of the OS is English so it shows dates in mm/dd/yyyy format. How can I get it to show dd/mm/yyyy or another format?

View 9 Replies View Related

Ubuntu :: Changing The Date Format?

Oct 12, 2010

Is it possible to change the date format in Ubuntu 10.04 from the American mm/dd/yyyy to the British format of dd/mm/yyyy? I have looked at the Time/Date settings but cannot see any way of changing the date format

View 4 Replies View Related

Debian :: How To Change DATE / TIME Format

Jul 23, 2011

I set my location, but Debian displays DATE in some messed format. I would expect such neat OS to recognize all those local settings based on my location, but that's not the case. It seems that Debian follows locale settings by set language (which is en_us in my case, as I guess in majority uses) or this format is default in any case

I would like to set date/time to DD.MM.YY. hh:mm:ss, and programs that display date data to follow this setting. Simply put, in Windows there is Control Panel and you set location, then OS uses some regional settings, like currency, separators, date/time format.

View 7 Replies View Related

Fedora :: Can't Change Date / Time Format In F15

Jul 10, 2011

In the past, I just edited the /usr/share/gnome-shell/js/ui/dateMenu.js file to alter the date and time format. Today when I tried that, it crashed GNOME Shell and wouldn't let it start..

View 4 Replies View Related

Fedora :: How To Customize Date / Time Format

Aug 7, 2011

For some reason, thunderbird uses some random order for the date elements, e.g. MM/DD/YY. I need to change it to YYYY/MM/DD but haven't found where! There is no option in TB to configure this so I guess it just picks some default from regional settings? Where do I need to go to set the date format to its logical form?

View 3 Replies View Related

OpenSUSE :: Change Date Format In Thunderbird?

Sep 3, 2010

I am using kde 4.4.4 and thunderbird. I would like to change how thunderbird shows the date. Now it is shown as 12.31.1980 and I would like to use 31.12.1980.

I am not sure if this is a thunderbird option (didnt find any) or a gtk option and how to configure that using kde.

View 9 Replies View Related

Ubuntu :: Clock Applet Date Format?

Apr 28, 2010

I could find nothing on it. I want to change the date format for the clock in the upper right corner of the screen so that instead of reading [Wed 28 Apr, 11:51 AM] I will say [Wed 11:51 AM].

View 6 Replies View Related

Ubuntu :: Date Format Does Not Follow Locale / Fix It?

Jun 12, 2010

The date displayed in my panel is in the American format: Sat Jun 12, but my locale is set to Australian for everything. I have tried switching to different regions (System->Administration->Language Support), but this appears to have no effect on the date format.

Is this a bug? Anyone know how to fix it? code...

View 8 Replies View Related

Software :: Possible To Changestamp's Date / Time Format

Jul 12, 2011

In KWrite, you can make a datestamp and timestamp by pressing F7 for a command line and typing "date" therein. I just wondered: is it possible to change the stamp's date/time format, which is mm/dd/yy 24-hour time format? That's fine, but I wish the stamp could include the day of the week. (I use KWrite to keep a text-only personal journal. Any suggestions that I use a different program are welcome but are beside the point.)

I looked through the editor settings options, but found nothing relevant. The settings don't mention the F7 command line and the datestamp/timestamp at all; the only reason I know is because I once asked if there was a way to make one, as in Windows Notepad.

View 2 Replies View Related

Debian Multimedia :: Change Date Format Across Whole System?

Jan 13, 2015

I'm having an US American date format that drives me totally nuts, like MM/DD/YY. Today is 1/13/15. It seems to appear across the system (GNOME 3), from Skype to IceDove to Nautilus. So my hope is there is a central instance where I can change this. I would prefer to have 13-Jan-15 or 13-Jan-2015 or at the very least 13/01/2015, i.e. in some order consistent with my European brain.

View 7 Replies View Related

Ubuntu :: Change The Date Format So That It's- Month-Day-Year?

May 13, 2010

I use an email program that shows the date as, 10-4-26.....which means the year 2010 (10) April (4) 26th day.

How do I change the date format so that it's- Month-Day-Year?

I want this changed system wide so all dates are shown in the format I want.

View 2 Replies View Related

Ubuntu :: Date Format Wrong For Sydney Australi?

Apr 30, 2011

Just updated to natty last night, still coming to grips with Unity, but the date format for Sydney Australia shows as Year-Month-Day instead of Day-Month-Year, tried changing it manually, but it just changes it's self back to what it was. Still coming to grips with the launcher, but do not like the black back ground used in the dash, would like to be able to change it. Would also like to make the icons in the launcher smaller than 32.

View 3 Replies View Related

Software :: Change Date Format In Mysql Table?

Jun 26, 2011

I want to insert a acess log file to mysql table.

my log file look like this;

08/Apr/2011 10:51:19 http://v4.netlogstatic.com/v6.00/385...t.messenger.js
08/Apr/2011 10:51:19 http://download.windowsupdate.com/ms...536945da07.exe
08/Apr/2011 10:51:19 http://www.google.lk/search?
08/Apr/2011 10:51:19 http://clients1.google.lk/generate_204

[Code].....

i want to insert this in to a table which having datetime (as it is in log file) and the site visited.

I created a mysql table using DATE using the date type and the TIME suing time type.but once i loaded this log to table date field shows empty. like following.

| 0000-00-00 | 04:18:29 | http://www.espncricinfo.com/navigati...scorecard.css?

how can I solve this problem.your responses are highly. My table should look like the following

| 08/Apr/2011 | 10:51:19 | http://www.radioeksen.com/song.txt

View 1 Replies View Related

Software :: Change Date Format For Birthdays In Evolution?

Mar 27, 2010

After installing Evolution, the date format for entering birthdays was MDY. I edited the preferences and see under contacts it was set to "Use locale default" (which it identifies correctly, but should therefore have been using DMY).

I changed the format to a preset item in the drop-down selection to force it to %d.%m.%y %H:%M:%S which didn't change the birthday field behaviour. Have done the same in Calendar and Tasks, still no change.

if/where you can change the date format for the Birthday field in contacts in Evolution?

View 1 Replies View Related

Programming :: Converting Date Format In A Comma Separated Field?

Apr 9, 2010

I am in the process of learning some scripting, however I am running into a roadblock in specifying a certain time format in the array. Ideally I would like to use Here are the lines of text that I am interrogating:

1123,3/25/2010,00:14 Thu,33229
1124,3/26/2010,13:30 Fri,33230
1125,3/27/2010,04:49 Sat,33231

[code]...

View 2 Replies View Related

OpenSUSE :: Date Mask In Ls -l Output

May 18, 2011

I just installed a OpenSuse 11.4 box. Now when I do a 'ls -l' I see the date format different than on all my other boxes even though I have identical regional settings. Is there a way (env var) to control this behaviour ?

View 6 Replies View Related

General :: Mke2fs Command Not Working On Mandriva 2010?

Mar 3, 2010

i have mandriva 2010 but i want to create ext3 file system. so i am using mke2fs command in terminal. but "command not found" such message is coming. how to solve this problem

View 2 Replies View Related

Software :: Command Line To Update Grub In Mandriva 2010?

Dec 2, 2010

What is the command line to update grub in mandriva 2010

View 5 Replies View Related

General :: Load The Local .csv File Into Mysql Server The Date Format Varies?

May 25, 2010

When i load the local .csv file into mysql server the date format varies.Its mis matching.How to solve and match this.

View 1 Replies View Related

Ubuntu Servers :: HP Deskjet - Lp Output Three Lines Only (NOT Header Or Date)

Jan 13, 2011

10.10 Headless Server, CUPS queuing to HP Deskjet via socket correctly (?), but output regardless of file type only top three lines (NOT header or date or so)

View 1 Replies View Related







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