General :: Ubuntu 10.10 - How To Change Time From Am To Pm
Jan 8, 2011From gui, how can I change my time from am to pm? or How to do it using date command?
View 7 RepliesFrom gui, how can I change my time from am to pm? or How to do it using date command?
View 7 RepliesUnder a Linux shell, how can I change the creation time of all a folder's files to the current time?
View 2 Replies View RelatedI have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the time is still wrong.
Is there a way to force it to sync with my domain controler or even another online NTP server?
I want to transfer files from one comp to another. Its a few hundred gigs. Since the pc crashed i am using knoppix to access the drive and sharing over samba.
I'm using robocopy to copy the files. But i have a small problem with sleep. Every 30mins or maybe an hour knoppix goes to sleep and my transfer stops. How do i change the time or disable it completely? so i dont have to tap a key every 30mins
How can I get the last time any of the files in a directory or its subdirectories has changed?
e.g
Dir - changed 1/1/1
Sub Dir 1 - changed 2/1/1
Sub Dir 2 - changed 3/1/1
File 1 - changed 10/1/1
File 2 - change 5/1/1
The output for this for Dir should be 10/1/1 (File 1 was the last modified one). Getting the last file name to be modified is a bonus but isn't necessary.
I need to change my hardware time and date as my hardware time don't right but I don't have network. I need the the commands and the steps.
View 5 Replies View Relatedi am using squid proxy on centos 5.x release with stable version. during installation time i fixed date time region.it was basicaly gmt +3:00 hours. so everything was fixed, now since past few days every 24 hours it change its time automaatically. this looks like it take update somewhere from internet or internally something is mess up.could someone guide me how to fixed permanantly date time. even either restart the machine or passing 24 hours it do never change it. etc
View 2 Replies View RelatedI was doing some testing which is required for some of my products
Here is the strange behaviour i observed
First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone)
zdump -v /etc/localtime |grep 2010
/etc/localtime Sun Mar 14 09:59:59 2010 UTC = Sun Mar 14 01:59:59 2010 PST isdst=0 gmtoff=-28800
/etc/localtime Sun Mar 14 10:00:00 2010 UTC = Sun Mar 14 03:00:00 2010 PDT isdst=1 gmtoff=-25200
[Code]....
Note:in the above case when i did set time to 2:59:55 and said ok by then CEST became CET already. That could be the reason why DST is not happening.
I tried with few other positive and negative timezone configuration all the negative time zones resets back properly where as all the positive timezones doesn't
All my timezone files are up to date,i am using fedora 9
I know there exists a touch command to change the date of the files. However, I want to change the files of a directory and the directory time. Is there a command like -R. Please provide me an example of the command?
View 4 Replies View RelatedI have installed nagios in a CentOS vm and now its monitoring the local host, one remote host which is also a vm with CentOS 5.3 and one windows xp system. Is there any option for me to change the threshold time for the services given? For e.g. I had a service of current_load which comes as a default plugin while installing nagios itself. What should I do to change the threshold value of the current_load so that I might get the warning or error alert some time earlier as it was now.
View 5 Replies View RelatedI need some help recovering from a "slight" screwup. We just moved 3 TB of data from one RAID Array to another. Low lever archive files. This was done with a regular cp (for some reason) and now we have lost all the timestamps on the files, and we urgently need to get the timestamps back on these files.
We are running Ubuntu 9.10 Server and we have mounted the following
1. /mnt/old-raid ##Old raid from the old server
2. /mnt/new-raid ##New raid on the server
I know we can read out the timestamp on the old server using the command stat -c '%Y' <<filname>>
I know we can change the timestamp of the file, using the command touch -d '<<date>>'
To get from the stat -c date to the input date in touch we need to use date -d @<<timestamp>> +'%d %b %Y %R'
So my question is, how can I create a loop that will list all files in a folder, get their timestamp and update the old timestamp with the new?
I installed a newer version of python in /usr/local/bin/python2.6. Now I want to use that python and only that one. When I type "Which python", I want to see /usr/local/bin/python2.6, NOT /usr/bin/python, which is old one (2.4). Also, I want to see the same even after I reboot. How do I do that?
View 2 Replies View RelatedI need to edit the system time as a not-root user. I am carrying out the following actions in my program.
1. Read the User Id of the process. User_ID= getuid()
2. Printing Capabilities(Permitted, Efffective, Inheritable)of the process
3. Setting UID = 0, using setuid(0)
4. Calling the prctl(), function to keep capabilities
5.Switching the UID from root to User_ID of the process
6. What we have now is a process with root capabilities as a non root user
7. On printing Permitted, Effective, Inheritable capabilities, I get the following
--> Permitted = 0xfffffeff = Effective
Inheritable = 0x0; with UID = 1001;
8. I then try and set the system time with --> system("date -s 10:00");
9. I get an error: date: cannot set date: Operation not permitted
10. I am unable to understand as to why I cannot set the time even thought the capability bit CAP_SYS_TIME in the Permitted and Effective sets are SET.
I'd like to change a files modification date "only" without changing the time. I'm aware of the 'touch' command but is seems like it only allows changing both the date and time, and not one of them. Any ideas on an easy way to change a file's modification date without also changing its time? (I have a long list of files and thus would like to run one to command to change them all)Example: Change a file's (month) timestamp from "2010-09-23 11:59:23" to "2010-10-23 11:59:23"Background: I accidentally set the wrong month on my camera and ended up with all photos having a modification timestamp with the wrong month.
View 3 Replies View Relatedthe time format i have used is %m:%d:%Y:%H:%M:%S eg- 06:21:10:13:29:18 and i want to convert it to 2010-06-21 13:29:18..
View 4 Replies View RelatedI have a Lucid machine that is driving me bonkers by constantly locking the desktop screen, forcing me to enter my password each time to unlock it. I have looked everywhere but cannot find out where to change this setting.
View 2 Replies View RelatedI have GRUB "1.98-1ubuntu6", and while I have been using GRUB, I have always wondered how to change the delay time prior to GRUB booting into the default operating system. I would even like to switch it off, if possible. Thanks for any help you may have, as I can't seem to find mention of it anywhere, and I think a 10-second wait is silly, having been accustomed to adjusting LILO to any delay time I liked.
View 3 Replies View RelatedI decided to install Chromium OS to my dad's netbook, and it works perfectly. The only problem is that i can't change the time. Luckily, I can access a command line by pressing CTRL+ALT+T. So maybe I can change it from the command line.
View 5 Replies View RelatedI'm trying to shorten the amount of time it takes for keys to repeat themselves after they've been depressed while using the terminal.
I did a search and found this but I don't know how to install it. [URL]
how to change the style of the time and date shown on the panel for Karmic Koala? As shown on my attached screenshot located at the upper right corner, it does not show the year which is a bit vexing and I cannot figure it out how to change it.
View 9 Replies View RelatedHow do I change the time stamp on videos that I record so that they say what DAY they were recorded instead of just the DATE? I can't find the config file which I assume would be the place to look.
View 1 Replies View RelatedI know this might sound stupid, but how do I change the time delay for a dual boot?
View 3 Replies View RelatedIn Kubuntu 10.10, the clock is set to military time. I shouldn't have to do the math just to look at the clock. There is no setting anywhere to change it to normal time.
View 8 Replies View RelatedI was installing a bunch of packages and one of them ended up changing the background image. This was seen after logging back in. I proceeded to right click on the background and change it back while logged in. After a 2nd reboot I could see it changed it for my userid, but I still get that wrong background during the login prompt. How can I change it back for there?
View 3 Replies View RelatedI'm trying to change the time stamps on a bunch of pictures in the same directory, because several cameras were used, some of them with the wrong time zone.exiftool seems to be the correct package to use, but it doesn't seem to work.
The following command seems to be the recommended way to subtract 1 hour from all .JPG files in the directory, but the exif data in the file and even the time stamps don't change.
Code:
exiftool -a -AllDates -=01:00 .
I want to change the Date and Time of the system from my application. This can be done using the "Date -s" linux command. But the application has to be executed as root/sudo. is it possible that root can give permission to normal user to execute the "Date -s" command?
View 9 Replies View RelatedWhen i installed, i set Danish as my default language.would like to change that to english. How do i do that? Also, the time on my deskop is always 10 minutes to fast... And i really dont know how to change it? I can change the time zone,
View 7 Replies View Relatedi use fedora9 and windows xp on my system when i reboot my system it comes a screen to select OS but i have just 2 seconds to select how can i change this time and also default OS
View 3 Replies View RelatedI can't find how to do this.
View 8 Replies View RelatedI am using Grub4Dos to boot Ubuntu 9.10 Desktop Live CD. In the menu.lst i made the following changes.
Quote:
title Ubuntu LiveCD 9.10
find --set-root /ubuntu-9.10-desktop-i386.iso
map /ubuntu-9.10-desktop-i386.iso (0xff)
map --hook
root (0xff)
[Code]....
The code runs fine and Ubuntu loads also from the ISO stored in the C: drive of my system.
The problem is when Ubuntu loads it changes my clock time. I have set the timezone to Indian Standard Time. Since it is live CD it should not make any changes in the system however, it does change the Data/Time of my system.