But i don't know if the system :dowloads the updates
if the downloaded updates are immidiately installed
some updates need to reboot the system. does it automatically reboot or
does he(the system) inform me ? (where ?)
I know that uptime prints the time a machine has been up and running, but is there an easier (reliable) way to get the date of the start up than counting down from this output?I tried looking around /proc, but didn't find anything of relevance. There's also a line like this on my dmesg: [ 0.673492] rtc_cmos rtc_cmos: setting system clock to 2011-03-14 14:26:52 UTC (1300112812), but I'm wondering if this method is distribution and kernel version agnostic.
I am using CRON to create a new, blank file, every minute, in a specific location on my web server. After web searching, and reading man pages, I get the impression that the following command is supposed to work:touch /home/mydomain/var/folder/attachments/`date +%H%M`.txtThis should give me a new file with a file name that is the current hour and minute.However, when executed, the CRON mailer reports:touch /home/mydomain/var/folder/attachments/`date +/bin/sh: -c: line 0: unexpected EOF while looking for matching /bin/sh: -c: line 1: syntax error: unexpected end of fileSo, it looks like shell is seeing the plus (+) sign as an EOFObviously, nothing get created.What would be the easiest, single line command to create an empty file, at a given location, with a time based file name
i have noticed that the apps in the suse repos are kinda out-dated,like banshee is 1.6.0 while the latest is 1.8 same thing for amarok and some stuff,so am trying to keep all the packages up to date from the repositories,i added most of the repos and factory types that should make the system up to date,but to no avail.
updating the system and the application ?
PS i also added the 3 repos for kde 4.5 sc to update to 4.5 but still i didn't receive any update notice from the software manager.
Was curious about keeping a running system up to date. Can any harm come from running the following:sudo apt-get updatesudo apt-get upgradeWhat I mean is, is it possible that doing the above could cause a perfectly healthy system to go foobar? If so, what's the best way to prepare a system for a recovery. The Server in question is a Hardy BIND server. In the past, I've seen some ugly things happen to Windows systems after running updates, so I'd like to err on the side of caution.
I run three Ubuntu machines - work, home, and a laptop. All were on 9.04, and I was able over the past week to painlessly upgrade the first two to 9.10.Today I fired up the laptop for the first time in a while and saw that it hadn't had the upgrade yet, so went to the upgrade manager. It had a bunch of package upgrades it wanted to do, so I let it. But there was no option to go to 9.10, not even after catching it up on updates. It just says the system is up to date. Clicking "check" again just gives the same message. It doesn't seem to know that there's a koala out there.
Settings on the update manager say to accept normal releases, so it's not an LTS thing. Yes, it's on 9.04 now according to /etc/apt/sources.list. Network connectivity is good.What might I be missing that I ought to look for?
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.
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?
I have the application and kernel module running on my system. In the meantime, I am changing the date and time of the system. However, this change doesn't reflect on log messages of the application that's being executed.
I'm looking for a method for modifying some jpg photo files last modification date with the corresponding timestamp creation date of each file.The reason is that shotwell import pictures in folders according to last modification date which is stupid on my opinion.
As a photographer I'm constantly taking photos and storing them in folders. Now occasionally I'm using two cameras (either for different settings or an assistant is also taking photos) which means that for one event I can have differently named images.Both cameras have the same time set (which always helps in Windows) but in Ubuntu when trying to sort my folder by date taken I can't.The options I'm given are to sort them: Manually, by Name, by Size, by Type, by Modification date and by Emblem.Now none of those are helpful to me once I've done a few edits to the images.So please if anyone knows, how do you organise a folder with images taken on different cameras by Date Taken rather than Date Edited?
Let's suppose there are "n" number of servers in a Linux cluster / network environment. We want to make sure that "date" on all those servers are in sync. How can we log the output of "date" to a particular file (log file, let's name it /tmp/date.log on our local system from where we are executing our command or script) run on every server one by one so that we can have a log of all the servers and their corresponding date vales in the following format:
I thought I was removing the chat status piece of the indicator applet (I know what it is now, didn't then), but I accidentally removed the whole thing. Now when I figured out how to put it back on the panel, I can't get it back to where it was (which was to the RIGHT of the system date/time applet). How can I do this as well as move the indicator applet that has the volume control in it?
i have a line in a script that puts some text into a fileecho "Couldn't find this at this time" >>/var/cccamlog/cccam.checkthis work ok but i would like to have the time printed auto co what do i have to do to the line to do it?"Couldn't find this at this time 10-10-2010 08:05pm
I just switched from a basic digital camera to a more advanced one that stores both Jpeg and Raw (.Nef - it's a Nikon) files for me.When importing files in Digikam, I rename the files so that they start with Date and Time. Example: 20110121-223748.JPG for a photo taken on Jan 21st 2011 at 22:37:48.I was a bit surprised when importing both the JPEG and the Raw version of the same photo, that the filename is different by a few seconds (no constant offset, sometimes they are the same):
I did some "research" by looking at the exif data of both files (using "exiftool 20110121-223748.JPG" from the command line). Here is what I got back
(amongst other data):20110121-223748.JPG File Modification Date/Time : 2011:01:21 22:37:48+01:00 Modify Date : 2011:01:21 22:37:48 Date/Time Original : 2011:01:21 22:37:48
So it seems that Digikam is using the "File Modification Date/Time" (different in the Jpeg's and Raw's of my camera) rather than the "Create Date" (the same for both Jpeg and Raw). (The few seconds difference in "File Modification Date/Time" between the two versions of the same photo is probably due to the time that my camera needs to write away the data on the SD memory card. I guess.) Is there a way to have Digikam use the Create Date? (Or the Date/Time Original?)
Somehow during a recent ubuntu install I managed to set my clock to Indian Standard Time instead of Greenwich Mean Time. Now I'm having problems acessing some websites and I think it's because the certificates appear to be off date.
I would really like to preserve a file's original modified date and pass it back to the file as the same attribute after a script has worked on it. I get a lot of JPEG files from different places on the Net which I either turn around and upload or burn to disk, and having the "original" date of either download or last mod in a graphics app would be for me, in the long run, a lot more helpful when deciding, for instance, which files to "recycle" or pass on backing up more than once.I've tried doing this on my own every now and then. Where I run into problems is that it appears "stat" and "date" use different formats for date information, and I can't seem to puzzle out how to "translate" one to the other satisfactorily for the latter command.
Just to give an example: stat foo.jpg |grep Modify gives me Modify: 2010-07-12 06:28:56.890625000 -0400
Passing that string as-is to date foo.jpg, I get the errordate: unknown option -- 0 and the usual semi-courteous suggestion to Try 'date --help' for more information.Somehow my TexInfo database got screwed up somewhere along the line and info dategives me the short article on date input formats, not the full documentation for the command