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 ?
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)
So I've got a rather vast database, one of the columns is date in the following format: DD/MM/YY HH:MM:SS. This is starting to cause problems with a php page I'm writing which asks the user for a 'start date'. Would it be better for me to split the date column into date and say time? Or is there a way of using distinct and masking the times.
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'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?
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
How can I add this to Ubuntu so that I can effectively use both networks connected to my machine. All I do in WinXP is run this from the command prompt: route -p add 10.0.0.0 mask 255.0.0.0 10.15.122.9
I want to extract some information from ifconfig, E.g.: inet addr:123.123.123.123 Bcast:123.123.123.255 Mask:255.255.254.0 I want to extract the mask value, how can I do that? I've tried using Code: grep -o "Mask:*" test1.txt but it only outputs "Mask:" I need to get 255.255.254.0
I have a linux desktop with two connections - fast eth0 and slow modem ppp0. Most of traffic (e-mail, DNS, NTP) can be routed simply by IP/mask. But how about http and p2p (torrents, DC++)? Routing by IP is unacceptable, because there is very huge amount of routing rules. I need route http packets (80 port) through ppp0, p2p through eth0 (10000:65535 ports). I've found that splitting traffic by port is possible with marking packets for different gateways. For begin I cleared all tables and bringed up connections.
for providing an earlier solution from which I have modified and butchered the below script.The intended purpose of this script is to take a subnet mask for example 255.255.255.0 and turn it into the corresponding wildcard mask value in this case it would be /24I have got to the point where I have the binary value, the script is
I've blown a couple of DVDs trying to burn them with correct file masks (directories and files are read-only). There doesn't seem to be any documentation for K3b (building the index doesn't do squat and the help says "The file or folder help:/k3b/index.html does not exist"). I can't seem to figure out a setting that simply copies everything the "way it is."
I have heard its going to be July. One concern is KDE4.4 and whether this is going to be the KDE default environment for 11.2. Over at KDE, 4.4 is out with a 1 click install for 11.2. The main problem I have discovered from reading the KDE forum is poor multi monitor support with separate X screens. From what I read this is extremely problematic. I would like to update to 4.4 to get the equalizer back in Amorak but attempted once, the day before they officially released 4.4 with no success. I wonder if anyone here is using 4.4 in a separate X screen setup?? Additional thought-- when 11.3 is released will 4.4 be the only option or will we be able to elect to use 3.xx??
I have another question: What is the expiration date on OpenSuSE 11.2? I vaguely remember a page that told what the expiration date is for all the versions. But now I can't remember where it is. I want to know how much time I have left to grab up all the necessary apps and stuff before the repositories for this version are deleted.
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.
I have installed silverlight via software installer but when I try to view catch up tv via channel nine MSN it says that silverlight may not be up to date and it does not show the video. I run Opensuse 11.4 64 bit kde, and I have tried Google Chrome and Firefox.
I have a setup samba and want to get the correct security permissions when my wife creates / copies files from her camera onto the shared/mapped drive on her new laptop (windows 7) I want the permissions set to 770 or maybe 760. See my config below.
Now I can get it to create 760 but even if I change the mask it still generates the same permissions. After every change I restart the samba service. the umask is still 0022, do not know if that makes a difference? The directory permission's are correct with this mask. Do I need to look at groups?
Still working on the mask of files for shared folder. I now have a shared folder with the exact behavior I expect : Code: sudo addgroup share_group sudo mkdir /media/volume/shared_dir sudo chgrp share_group /media/volume/shared_dir sudo chmod g+s /media/volume/shared_dir sudo chmod 770 /media/volume/shared_dir sudo setfacl -d -m group::rwx /media/volume/shared_dir sudo setfacl -d -m other::--- /media/volume/shared_dir emma@box:/media/volume/shared_dir$ ls -al total 8 drwxrws---+ 2 root share_group 4096 2010-02-09 12:53 . drwxr-xr-x 8 root root 4096 2010-02-09 11:58 .. -rw-rw----+ 1 emma share_group 0 2010-02-09 12:53 test By default, user from the group can modify this file. That's perfect.
I have define the share in Samba this way : Code: [share] comment = Shared Folder path = /media/volume/shared_dir browseable = yes guest ok = no read only = no hide dot file = yes # force group = share_group # create mask = 0660 # directory mask = 0770 # force create mask = 0660 # force directory mask = 0770
When drag & dropping a file in this share, here is the default mask: Code: emma@box:/media/volume/shared_dir$ ls -al total 192 drwxrws---+ 2 root share_group 4096 2010-02-09 12:54 . drwxr-xr-x 8 root root 4096 2010-02-09 11:58 .. -rw-rwx---+ 1 emma share_group 6148 2010-02-09 12:54 .DS_Store -rw-rwxr--+ 1 emma share_group 176684 2009-12-21 23:33 IMG_7487.jpg
So the dropped file have execution rights for the group, and read access for other. I expected it to have the same rights than the file created directly using the touch command. I tried to play with the mask options, without success. The file has been dropped from my mac, which is a Unix like OS. I guess that some authorization access are inherited from the original file, for the user and other parts. But where does the group authorization come from ? Moreover, is is possible to define in samba a default mask, whatever the authorization of the original file?
I have a local proxy server running on my computer, but I want to add a twist to it. I have multiple connections going through the proxy, but what I'd like to is that all outgoing connections Mac Address' will be different from the one the connecting systems. Mask or even alter them, if possible.
Yes, I know the idea itself sounds weird, but I'm attempting a few ideas for a project I'm working and I ran in to this problem. Please note that it's impossible for me to change the MAC Address' on the systems connecting through the proxy (they're gaming consoles, to be specific.)
I'm currently running the latest version of Ubuntu.