Search Results

Search: Posts Made By: dotancohen
3,368
Posted By dotancohen
Sorry, I should have mentioned. I use Kubuntu...
Sorry, I should have mentioned. I use Kubuntu Linux, currently version 11.04.
3,368
Posted By dotancohen
Tux-HJKL as arrow keys
I would like to configure the key combination Tux-J (Win-J) as Down Arrow, and the rest of the VIM-style movement keys as well (HKL). What is the best way to do this so that it will work in all...
Forum: Hardware 08-10-2011
2,688
Posted By dotancohen
Thanks, jgt. The only thing that I get from that...
Thanks, jgt. The only thing that I get from that is that the answer on how to perform this will be different for USB and PS/2 keyboards. Is that correct? If so, I have no problem limiting the...
Forum: Hardware 08-09-2011
2,688
Posted By dotancohen
Keyboard layout based on scancodes?
I would like to make a new keyboard layout that moves the modifier keys around. The problem is that this needs to be an xkb layout, because I still need to be able to switch to the Qwerty layout and...
4,412
Posted By dotancohen
Thanks, Corona. It turns out that the problem was...
Thanks, Corona. It turns out that the problem was that the Kernel needed to have the remainder of the ports activated:
Linux Online - Serial HOWTO: Serial Tips And Miscellany...
4,412
Posted By dotancohen
Missing serial port
A neighbour's Ubuntu 10.04 machine has five serial ports, one on the motherboard and four on a PCI card. However, only four cards are showing:

# dmesg | grep tty
[ 0.000000] console [tty0]...
2,216
Posted By dotancohen
> The problem is that the shell isn't even...
> The problem is that the shell isn't even looking at
> the output of your first command. The shell's fd
> for stdout is simply being copied into the
> subprocess that is running...
2,216
Posted By dotancohen
Actually, I do use KDE. In Dolphin (and Konqueror...
Actually, I do use KDE. In Dolphin (and Konqueror before that) the user could easily move the selection to the third file via the arrow keys, Ctrl-C, F6 to the addressbar, type in the path (with...
2,216
Posted By dotancohen
Thanks, Zaxxon. I had foud examples of this while...
Thanks, Zaxxon. I had foud examples of this while googling, however, I wanted to know if there is a simple way of doing this, without chaining together three tools as in your example.

Any file...
2,216
Posted By dotancohen
Now that I have found with Locate, how to copy?
Once I have the output of a command, can I use that output without typing it in or resorting to complicated find/sed gibberish? Surely this is a common enough position to be in that Bash would have a...
2,125
Posted By dotancohen
Thanks! I had to change that to write to a...
Thanks! I had to change that to write to a variable, as it is in a script:

DONT_COPY_LIST=""
for pattern in $DONT_COPY ; do DONT_COPY_LIST="$DONT_COPY_LIST --exclude=$pattern "; done

...
2,125
Posted By dotancohen
Thanks, agn. How can I treat the DONT_COPY...
Thanks, agn. How can I treat the DONT_COPY variable as a file, or alternatively, can I expand it to add the --exclude= text before all entries?
2,125
Posted By dotancohen
Backup script: Copying and removing directories based on list
I am writing a simple backup script, but I cannot figure out how to remove directories that are found in a list. For example:
DONT_COPY="
.adobe/
.bin/google-earth
"

tar -zcvf - *...
4,828
Posted By dotancohen
That's all right, the British are second only to...
That's all right, the British are second only to the French in language pride! Spread your slang far! (Actually my nation was once a British colony, but these days it's mostly American slang spoken...
4,828
Posted By dotancohen
Thanks, I learned a new word! I do not...
Thanks, I learned a new word!

I do not understand what would be dangerous, but I take your word for it. I will google on the terms that you mention and hopefully that will teach me enough to...
Forum: UNIX and Linux Applications 01-28-2010
2,104
Posted By dotancohen
Glyph searcher
Is there a script that will let the user enter a character, and it will show that character in all the fonts which have a glyph for it, along with the fonts' names? I have googled and found Windows...
4,828
Posted By dotancohen
Append && echo "success" to all commands
I am learning to build from SVN and other tools, with a lot of copying and pasting from forums. I like to append && echo "success" to all commands so that I can see at a glance if things went all...
1,522
Posted By dotancohen
Thanks! That was almost too easy! In the...
Thanks! That was almost too easy!

In the event that I need to do an if statement (check if file exists, if so then A if not the B), how can that be accomplished? Is my only option to write the...
1,522
Posted By dotancohen
Performing remote operations in a script
I have a scropt that looks something like this:

#!/bin/bash
ssh user@domain1.com
sleep 10
some_command
exit

ssh different_user@domain2.com
sleep 10
some_command
exit


However, the...
8,019
Posted By dotancohen
Thanks!
Thanks!
8,019
Posted By dotancohen
> It may not give the printer a seperate IP, the...
> It may not give the printer a seperate IP, the gateway
> address would be the obvious one to try...

You're right! The IP of the router is the IP of the print server. I did not expect that.
...
8,019
Posted By dotancohen
Scan network for printers
My stupid D-Link DIR-320 router does not give the user the IP address of the printer attached to it's USB port. Instead, it provides a Windows EXE file for printer configuration, which is not an...
13,462
Posted By dotancohen
hardy2@hardy2-laptop:~$ cat -vet test.vcf ...
hardy2@hardy2-laptop:~$ cat -vet test.vcf
BEGIN:VCARD^M$
FN:First Last^M$
N:Last;First;;;^M$
NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:First Line.\nThe Second Line i^M$
s long so that it...
13,462
Posted By dotancohen
Thanks. I'm going through the docs as we speak....
Thanks. I'm going through the docs as we speak. Perl is _complicated_! That does not seem to be my own opinion, either. Googling some example leads me to lots of frustrated people!

In any case, I...
13,462
Posted By dotancohen
Thanks. I am trying to see what happens here: ...
Thanks. I am trying to see what happens here:
perl: this is obvious
-pi.bak: simply copy the current file to it's name + .bak?
-e: there is no mention of this in man perl.
'BEGIN { $/=""; } s/\n...
Showing results 1 to 25 of 43

 
All times are GMT -4. The time now is 05:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy