893 reputation
17
bio website panda-os.com
location Israel
age
visits member for 1 year, 11 months
seen 2 days ago

I delved in Linux and open source starting 1996, started working with Linux officially from 2003, avid code reader, former IBM employee (XIV storage system interoperability team member) and former Waze Mobile LTD. (Infrastructure team) employee.
Current workplace: Panda OS.
Married + 1


Jul
23
comment How to disable Alt-Arrow switching of Virtual Consoles?
An answer that may help you: superuser.com/questions/290115/…
Jun
29
comment Grepping for a block of text with parts that can be optional
You could, but you should save only the part within the single quotes in that file.
Jun
26
comment Grepping for a block of text with parts that can be optional
To use this script just replace the inputfile.txt with your file name, or better, remove the cat and pipe, and put your file name after the closing single quote.
Jun
26
comment How to set a callback to NFS to allow scripting?
If you don't have any dependencies on the NFS (or you have ones that you're OK if they fail) I would just put that in the rc.local file.
Jun
26
comment Grepping for a block of text with parts that can be optional
You should increment the event counter separately from the event header (or have the operator before), this causes the header and footer to show different numbers and is less readable.
Jun
26
comment Grepping for a block of text with parts that can be optional
Find what about them? Count their amount? Print them all? Please edit your question and add sample expected output (with different sample inputs preferably).
Jun
26
comment Language variable missing after the update
You are referring to the LANG variable? Perhaps it was defined in /etc/profile and it is not anymore, and maybe the root user has it's own profile or rc file.
Jun
26
comment Grepping for a block of text with parts that can be optional
I think this is a job for awk, using a "state machine" variable(s), but you should add some more information in order to get help with this, like exact tokens searched for and what you expect the end result to be.
Jun
26
comment Linux on a 286?
In an edited out part of my answer I did indicate that emulation is implemented in the Linux kernel. It was even used to port Linux to S/390 (a.k.a IBM Mainframe) as it did not have a floating point unit at the time it was ported.
Mar
5
answered Program a file to self-destruct at a given time
Mar
5
answered Why are file handles a scarce resource?
Mar
5
comment Lenovo T440s Fingerprint reader in Fedora 20
I don't have a fingerprint reader anymore, but I would check the pam.d settings that the fingerprint reader is enabled.
Sep
24
comment Regular Expressions within a string in AWK using if/then control structure?
Adding to @1_CR 's comment - tilde (~) does a pattern matching against a variable - in this case $6. You can do pattern matching against the entire line without it.
Aug
28
awarded  Yearling
Aug
14
comment Trim with LVM and dm-crypt
If I were you I would try to use an iSCSI target and test this via tcpdump/wireshark to see if the setup works, though I do not know if the Linux iSCSI target supports trim or not. I do believe that dm-crypt should not blank the blocks on the physical disk because that makes it easier to ignore the free space on the device when trying to brute-force it (I don't know if it does that or not, though). In addition, SSDs are not required to return zeros after blanking, since the wear-leveling can redirect the read to a different block than the one blanked.
Jul
26
comment What is the purpose of multiple swap files
I would add an historical reason that in the past, using one disk as a swap device was sometimes not effective as it used too much space and made the rest of the disk it was in useless or less useful, and splitting swap space across multiple devices provided a compromise between a large swap space and amount of available contiguous space on the disk.
Jul
20
comment rsync “Permission denied” despite ownership
There is not enough detail to provide a full answer, but it seems that the problem is when rsync tries to set the permissions to someone other than you. If you could add an ls -l output of the source files, in the CentOS box, it could shed some more light.
May
27
awarded  Nice Answer
Apr
24
comment Sending to two bluetooth speakers at once
I've never heard of a dongle capable of connecting to 7 devices in parallel, but YMMV.
Apr
24
comment Sending to two bluetooth speakers at once
It is not possible unless the dongle supports it, bluetooth uses several mechanisms to make the signal harder to eavesdrop on, that requires it to send the signal twice and not the same signal. The best bet in my opinion would be to use two (preferably identical, to minimize lag differences) dongles and connect each one to one speaker.