The requirement was to write a shell script for a cron job set for every two hours for all days.The Script has to scan log files (*.log) for the logs posted only for the last two hours.... and append them in a new file...I am clueless abt how to scan/compare based on time stamp seen in above logs.
I'm using two NTFS formatted partitions. One is internal and holds all my data. The other is on an external hard disk and is where I back up all my data to. What I'd like to do is copy all my files from the data partition to the backup partition and preserve all the windows' timestamps (including the file creation dates).How hard can this be? Well it appears that in the case of Ubuntu the answer is very hard indeed.I'm aware that Linux does not support the concept of a file creation date natively. However, according to the ntfs-3g website, all of the windows' timestamps (including the creation date) are mapped on to the system.ntfs_times extended attribute (link). So if you preserve the extended attributes when making a copy then, in theory at least, the timestamps should also be preserved.
I read on another forum that a file's timestamps will be listed (albeit in an unreadable hex format) if you run the following command:getfattr -h -e hex -n system.ntfs_times <filename>Unfortunately however, I just cannot get it to work. With every file I've tried I simply get a message saying "no such attribute".
I have a .po and .mo file. I need to add several lines . I would like to edit the .po file. With Poedit I do not seem to be able to add lines to the .po file. I believe I need the .pot file for this. How can I create a .pot file from a .po file so I can adjust details and create the .po and .mo anew?
I could understand the idea of security "if I haven't touched the file in 9 days, and the timestamp was changed, I know someone was in my system". But, is there any other purpose for preserving timestamps?
My samba-shares are mounted in fstab. Everything works fine except for one small issue: when copying files from the local PC to the share the files are copied but the timestamps and permissions of the files are not. Instead a message "operation not permitted" appears. 'root' on the client can copy files WITH timestamp etc, a normal user cannot.
Below the line in fstab on the client and smb.conf on the server.
I just update the system, and the cpu frequency applet stop working. I can no longer lock the cpu frequency. Once I click the cpu applet icon, The whole applet just freeze right there. Does not matter if what I do with it. Well, at least I hope some one just offer me a bit help on how to lock the cpu frequency in terminal. Other wise I can not run Folding@home due to cooling issue.
Post added at 05:08 AM CST Previous post was Yesterday at 11:58 PM CST Well, it seems like the program take of authentication is mess up. I have the same problem when I tried to config my firewall. In the Firewall case, once I type in my password, the whole window just went blank. For the cpu applet case, nothing happen, the window ask for password does not show up. nothing. The system log did not have any entry...neither does the crash log. Which there are lot of entry there since I install F12
I have just did a fresh install of Ubuntu 10.04 to a computer with a generic, low end, on board graphics card. It will not allow me to change the resolution to something other than 800x600 or lower. 8.04 allowed me to set the resolution to as high as 1600x1200 using the same monitor/graphics card.
I just recently installed Xubuntu 11.04 and I want to adjust the brightness levels. I tried using the corresponding buttons on my laptop, but they aren't working. Where can I find the brightness settings on the OS?
I tried this thread: [URL] , but "Power Manager" didn't have that setting.
in fedora 10 things were pretty simpler . all i had to do was double click the volume icon and i could change the volume of each of my speakers individually ...
in fedora 11 that was not possible , this adjustment of volume had become more complicated, however there was this "advanced volume control" or something ... i dont quite remember its name , but thanks to that i could still adjust volume of each of my speakers individually ...
in fedora 12 i m not able to find that application - "advanced volume control" ... how do i adjust the volume of my each of my 5.1 speakers in fedora 12 ?
Running F14 on Dell Studio 14 with LCD screen and US keyboard selected. After initial power on the keyboard selection of "Windows Key" + F4 will dim the screen and the "Windows Key" + F5 will brighten the screen. When being used, either combination will also show a meter on the screen to display the adjustment of the brightness. When the lid is closed the computer is set to suspend by default. After the computer is brought back from suspend the keyboard short cuts no longer control the brightness and the meter does not appear on the screen. I have not found any other way to control the brightness and I have to restart to get the keyboard short cuts to work again.
Under Suse 11.1 & KDE 3.5, when a CD was inserted, the disk was automatically mounted at /media/cd-label. With 11.2 & KDE 4, I get a pop-up from the task bar, from which I must select the CD, and then select the Open With File Manager option. Then (and only then) is the CD mounted at /media/cd-label.Is there a setting that I can change that will eliminate the requirement for all the mouse clicks and just have a CD automatically
If one right-clicks on the date and time tab in Ubuntu 10.10 desktop, then there is no obvious way to change the time. If one right-clicks and goes to help, then the explanation for changing time is as follows under the category 'usage':
2.3. To Adjust the System Date or Time.
To adjust the system date or time that the Clock applet displays, perform the following steps:
1. Right-click on the applet, then choose Adjust Date & Time.
2. Type the root password, then click OK.
3. The Clock applet starts the system tool that sets the system date and time. Use the tool to adjust the date and time.
The actual way to do this is as follows:
Right-click on the date and time applet. select preferences, and down at the bottom of the window that opens push the 'time settings' button.
Then you will be able to adjust that date and time.
I'm having trouble with my mouse wheel. On one click, it pulls down to the halfway point. This leaves me with either dragging the bar around on the right hand side, or using the touch pad. this is a new (to me) notebook, which I haven't had for long. I just can't find where to adjust the sensitivity.
My computer (Samsung R580 N330M)seems doesnot adjust brightness both power manager and configuration file in /proc, I tried NVIDIA setting and it works,but I think it changes the color,not LCD. is it caused by driver problems?
Ubuntu 10.04 lucid with gnome-power-manager installed on a HP elitebook 8530p. FN keys and desktop display applet will not adjust the display. when I first boot my display is pretty bright with either it plugged into ac or not until i either plug or unplug for the first time then the display dims some, but will not get bright again plugged or unplugged, also /proc/acpi/video/DGFX/LCD/brightness shows it set to 100% at all times it never changes. I'm using the ati driver tried running aticonfig --acpi-services off, but it made no difference. It worked fine in karmic and ibex. I'm out of ideas on how to fix this one. Can anyone point me in the right direction on what to try next?
I just installed Fedora and had what appeared to be 2 panels showing so clicked on one 2 hide it, now I can't see anything on the other panel. If I move my mouse over the panel I see: my name the date
A note pad which disappears when I move the mouse over it and thats it. Sometimes when I point my mouse at them they disappear as well. How can I get my panel back? I thought maybe adding an application to the desktop to open a terminal session would be a good way to start, but i don't know where or what the command is for this. (I did mange to set one up so I could start Firefox). If I Open a terminal session then what do I do to get my panel back ?
i've recently bought a new set of headphones, since the ones i had were really cheap and only lasted for like 3 months, now i have new ones, not really that good but not as cheap as the old ones xD anyway I've noticed this ones have more bass, therefore the sound is low, is there a way i can adjust this? i know the bass is from the headphones because they sound the same on my window$ machine
Have just installed my frist linux os and the screen has a big black border around it. Set the res on install to 1024x768 & this is displayed in display settings. If I run xrandr in a shell tool it only shows 640x480 available.xorg.conf has "1024x768" "800x600" & "640x480" available.Have search the web but nothing I've found works.
I want to adjust clock in ubuntu. When I installed it it asked about location and setting if for asia it automatically take the clock, but that timing is not correct. It showed 10 pm when actually it was 5pm. After installation I tried it to adjust but it could not be managed..it automatically took that previous timing.
to see the packet drops every 1 second. but the problem is the output is so long(Due to large number of virtual interfaces) it doesn't fit into the putty prompt. I dont need to monitor each and every network interface I m more interested in monitoring the interfaces starting from vif but whenever i run following command it doesnt display anything.
I have a low end 7" CnMBook running modified Debian OS. Is there any way to adjust the screen brightness, if possible by adding a Fn command Up and Down?