General :: Limitation Of "&&" Mark In Awk?
Apr 29, 2011
In writing a small awk script code,I used conditional like below:
$1<=m && $1>=(m-3.2) && $2>=0.01 {co=co+1}
it works well, but when I add one more conditional like:
$1<=m && $1>=(m-3.2) && $2>=0.01 && $2<0.3 {co=co+1}
it does not work. is there a limitation in usage of "&&" ? is there any solution of that?
View 4 Replies
ADVERTISEMENT
Apr 21, 2010
I'll like to mark all packet coming from and going to an ip adresse. And I'd like to match that mark packet in an other rule. Ex :
Rule 1 : Mark all packet coming from 192.168.2.0/25 with number 1
Rule 2 : Drop all packets which has been mark with number 1
View 3 Replies
View Related
Aug 4, 2010
filter bandwidth for some users (about 150, from 100.100.100.1 trough 100.100.100.250) on LAN. All LAN users connect to the internet through RedHat linux server and all I could do so far is to ban some of them using iptables and commands
-A INPUT -s 100.100.100.107/32 -j DROP
-A FORWARD -s 100.100.100.107/32 -j DROP
-A INPUT -s 100.100.100.235/32 -j DROP
-A FORWARD -s 100.100.100.235/32 -j DROP
I would like to set a download/upload limit for some of them, is that possible?
View 2 Replies
View Related
Oct 27, 2010
In the menue of Kubuntu 10.10 (live-CD) for selecting the keyboard layouts
appears a message saying that there is a limit of selecting maximum four keyboard layouts, if I try to select a fifth one. That is very little four people involved/dealing with languages or for computers shared by several people from different countries. Does anybody knows anything about this limit and how to increase this number? In windows you can select more than a dozen languages. Where is the problem? Is it a problem of the KDE or of the linux kernel or what kind of problem is it? An other user told that this problem exists also in other versions e.g. in Ubuntu.
View 9 Replies
View Related
Dec 12, 2010
I have a laptop of which a large part of the screen is broken (shows garbage). Fortunately the broken area is a clean rectangle, the bottom 1/3 of the screen or so.
The laptop is running Ubuntu 8.04, but I plan to reinstall it with 10.10. The graphics are provided by an Intel 915GM or something in that direction.
Knowing this, do you know of a way to tell the system about the broken part of the screen, so it will simply not use it? I don't really care whether it's done at the hardware, X or window manager level, though as low as possible is preferred.
View 1 Replies
View Related
Jun 28, 2010
my ubuntu 8.04 is GNOME based.I am using kpdf 0.5.10 (using kde 3.5.10)
In find dialog box > options
only case sensitive is available to mark/unselect while
find backwards ,
[code]....
View 5 Replies
View Related
Oct 4, 2010
I'm coming to emacs from Xcode. An Xcode feature I really like is the ability to type the lines#pragma mark -#pragma mark Section Heading Nameto mark the subsequent part of my code as belonging to a particular section. I can then jump to that section from a drop-down menu.Does a similar ability to break up code into named sections and to jump to a section by name exist in emacs?
View 2 Replies
View Related
Apr 10, 2011
I uninstalled mplayer w/ apt-get (and with it mplayerthumbs + mozilla-mplayer) for the purpose of running a 'make install' on an SVN version I compiled - that worked out fine. Now I want to reinstate mplayerthumbs + mozilla-mplayer, but of course in doing so, mplayer is marked as a dep. How then do I mark mplayer to be ignored using the aforementioned package managers? Additionally, why isn't dpkg referencing my sources list?
Code:
[stuart8.5@mepis1 ~]$ sudo dpkg -i --ignore-depends=mplayer install mplayerthumbs mozilla-mplayer
[sudo] password for stuart8.5:
dpkg: error processing install (--install):
cannot access archive: No such file or directory
[code]....
View 5 Replies
View Related
Mar 6, 2010
I'm having problems with squid, and i don't know how to solve them because I'm new to linux. a. Why squid in my computer often does not work? The process has already started (using the command sudo squid start), but the Internet on client computers can not connect. This can be be resolved if the proxy server computer is restarted. Anybody know why is this happen?
b. How do I set the client bandwidth limitation using squid? I want the client computers can only use maximum 60-70 KB / s. Do I need another additional software package?
View 1 Replies
View Related
Apr 6, 2010
I have a 500G disk and want to setup it as a test machine with many partitions.
The first partition is for Windows XP. It works. I use USB disk to boot Ubuntu, so I can use Ubuntu's command dd to backup my XP partition.
Than I set more than 10 partitions. Then Ubuntu booted from USB does not always work. It always boots, but when I open a terminal, I get funny characters.. It seems the problem is something to do with number or size of partitions.
Is there a limit for number of partitions or size of partitions?
View 9 Replies
View Related
Dec 23, 2008
Is there any limitation on the number of file descriptors that can be opened. If yes how to find the maximum number of file descriptors that can be opened at a time.
View 2 Replies
View Related
Dec 31, 2009
I am writing some server programs. I notice that I can only connect to the server with a total of 28232 connections (clients) before I get the errno [99] "Cannot assign requested address" from the client program. I am using the same machine to do both operations. It seems like I am reaching some networking limitation outside of both programs.The server process has a maximum of 6 theads running(well below the thead limit). The client has two threads. When I add another client machine to the testing I can surpass 28232 connections). What limitation am I reaching on the server machine and how can I overcome this limitation. Again when I add a client machine to the testing, I can achieve more than 28232.
System Setup:
SUSE 11.1 64 bits
ulimit nofile=150000
View 7 Replies
View Related
Jan 30, 2010
I want to buy a laptop with gma 4500hd WHAT I WANT IS
1. 2D AND 3D full support eg compiz, full functional kde4+effects (not to be slow)
2. full hd support
3. oss driver
4. ability for dual head monitor setup
searching in google find out that as fa as it concern the dual head setup there is a limitation on virtual desktop for older gma cards
View 1 Replies
View Related
Jan 14, 2011
I have setup debian lenny as router - kernel 2.6.26, iptables 1.4.4 and compiled xtables-addons 1.17 There are these rules in:
iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A PREROUTING -m ipp2p --bit -j MARK --set-mark 1
iptables -t mangle -A PREROUTING -m mark --mark 1 -j CONNMARK --save-mark
iptables -t mangle -A POSTROUTING -m mark --mark 1 -j ACCEPT
Unfortunatelly if I try dowload something via router by ktorrent, then there are minimum of packets with id 1 (I find that at the last rule). There are only a few 100B packet with id 1 eventhought I downloaded a few MB with k torrent
[Code]...
View 1 Replies
View Related
Aug 26, 2009
There was a necessity of creation cluster file system on a basis gfs.Prompt how better to mark a disk 500 gb. Means how many better to allocate /root, LVM and so on.Or throw the reference on sensible manual.
View 4 Replies
View Related
Nov 17, 2015
I use Debian Jessie + KMail on desktop side. My mail server has Spamassassin installed. My problem is that I receive some spam and it goes though the server-side filtering.
I mark all messages as SPAM in KMail but neither KMail or the server learn that those are spam and should not enter the inbox.
How to get rid of the messages? Unsubscribing is not an option - I don't want to click on any link contained in the mails.
View 6 Replies
View Related
Sep 7, 2011
HW:ACER ASPIRE 4920G with ATI Mobility Radeon HD 2400 XT. I installed debian sid from latest daily testing businesscard the day before yesterday. I did a fresh install,I select LXDE for desktop and checked standard & desktop packages while installing. I got a complete blank screen with broken color when I restart pc while I finished installing. I did a web search and add radeonhd.nomodeset=0 to grub and I run into LXDE. But I still get a problem. I tried to install gnash & gnash-common. I got E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]....
View 1 Replies
View Related
May 5, 2011
How do you mark a thread as solved?
View 5 Replies
View Related
Jul 10, 2010
With Synaptic I can not "Mark for Removal". In terminal I tried "sudo synaptic", "gksudo synaptic", it doesn't work. What is wrong?
View 1 Replies
View Related
Aug 19, 2010
Recently, when trying to update, a red triangle appears in the top tool bar. Here is the message in full... The repository may no longer be available or could not be corrected because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preference is correct
Failed to fetch cdrom://Ubuntu 10.04 LTS_Lucid Lynx_-Release i386 (20100429)//dists/lucid/main/binary-i386/Packages.gz. PLease use apt-cdrom to make this CDROM recognised by Apt.apt-get update cannot be used to add new CD-ROMs. Failed to fetch cdrom://Ubuntu 10.04 LTS_Lucid Lynx_-Release i386 (20100429)/dists/lucid/restricted/binary-i386/Packages.gz. PLease use apt-cdrom to make this CDROM recognised by Apt.apt-get update cannot be used to add new CD-ROMs. Some index files failed to download, they have been ignored, or old ones used instead.
View 5 Replies
View Related
Nov 7, 2010
Even as root when running Nautlis, it won't let me mark as executable, when the file in question is in a partition that is not / - that is, on my win7 partition. I check the box, and it unchecks immedietly. It has no problem doing so when it's on /. What do I do to make it happen?
View 9 Replies
View Related
May 25, 2011
My problem has been solved in another thread but I cannot figure out how to mark it as solved.
How do I do this?
View 3 Replies
View Related
Jul 10, 2010
Using a GUI file browser, I would like to be able to mark files with an emblem or something similar as quickly as possible, with a single click. I'm currently using Gnome Nautilus in my Ubuntu 10.04, which doesn't seem to offer the functionality. I'm not keen on trying the extension Nautilus-Actions as it doesn't seem to be open source. I've set up some scripts though, but accessing them through the pop-up submenu is just clunky enough to still have me searching for a faster solution. Does a file browser exist that would let me set up a toolbar button for marking files? Or a button for launching scripts, which would amount to the same thing.
View 2 Replies
View Related
Jul 6, 2010
I can't type an exclamation mark with my keyboard. I can type other symbols that require the shift key (~ @ # $, etc) but Shift + 1 does not give an exclamation point. Here's the intriguing part: following a tip from another thread, I changed my Visual Effects setting (System > Preferences > Appearance > Visual Effects tab) from the default "Normal" to the setting "None". Immediately after doing this, I was able to type exclamation points. Problem solved, right?
experiment to make sure the Visual Effects setting was really the culprit. So I flipped my Visual Effects back to the default "Normal", and sure enough, I stopped being able to type exclamation marks. Having verified the (apparent) cause of the issue, I tried my solution of changing the Visual Effects to "None". Of course the "solution" didn't work this time (so much for my great idea) and I am left unable to type an exclamation point.
I have concluded that the fault must lie within my user's configuration (I can type as many exclamations as I want when logged in as other users).
Quote:
Originally Posted by Yarui: If you think it's something going on with your user account, you could try renaming your home folder from your name to something else temporarily.That way the next time you log in none of your config files will be loaded. If this fixes the problem you will know that it has something to do with your config files in your home folder. You could then try to narrow it down by testing out your config files in the same way one by one, if you have the patience for that.
View 2 Replies
View Related
Nov 14, 2014
I'm installing Debian for the first time on a MacBook but each time I use the ISO I only get a blinking folder with question mark on startup. This occurred with both the small and large ISO from Debian.org. I think it's a known GRUB issue. I can boot using refit off HD but I still can't get into full install.
View 3 Replies
View Related
Apr 12, 2010
I'm running Debian sid on a 64 bits system. I need to install ia32-libs to install 32 bits packages (especially for skype).The problem is the following:
root@debian:/home/pierre# apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
[code]....
View 2 Replies
View Related
May 29, 2010
Open synaptic. Type in the word "Game". Then you have to scroll down through the list of results and mark each one, individually. Is there any way that I can simply mark ALL the results of the search? There is an "Unmark all" button. Can we get a "Mark all" button? It would have to mark only those packages that currently appear in the right hand box.
View 3 Replies
View Related
Aug 13, 2010
I just started having a problem with my ubuntu Jaunty.When I try installing Gimp and VLC through Synaptic I get the following error Could not mark all packages for installation or upgrade The following packages have unresolvable dependancies. Make sure that all repositories are added and enabled in the preferences
gimp:
Depends: libgimp2.0 (>=2.6.10) but 2.6.6-0ubuntu1.1 is to be installed
Depends: libatk1.0-0 (>=1.29.3) but 1.26.0-0ubuntu2 is to be installed
Depends: libc6 (>=2.11) but 2.9-4ubuntu6.2 is to be installed
I get similar message for VLC as well
I installed Amarok after this problem started and it installed properly.
View 9 Replies
View Related
Jul 23, 2011
In Xubuntu, I can't seem to mark files as executable. I go into the properties, but there is no option to do this. Is there a way to mark .exe and .jar files as executable in XFCE?
View 4 Replies
View Related
Feb 5, 2011
recently i have installed fedora13 on my laptop okey and when i logged on i t provides two option first with user name and second with other so what is tha purpose of other option
also,when i go to mycomputer file system then at that point i found that there is cross[x] mark on root folder why this is so.
View 3 Replies
View Related