Name of the process on the other end of a unix pipe?
If two processes are connected by a pipe,
If two processes are connected by a pipe,
I just purchased a TripleHead2Go and configured it using OSX. What this box does is simply take 1-3 multiple external monitors and combine their signal into one single resolution. I’m using two external 1920×1080 displays with it, bringing my display size to 3940×1080, alongside my laptop’s regular display of 1920×1200. My laptop is running FGLRX 8.95 with Catalyst 12.3, the video card is an AMD Radeon HD 6700M. Here’s what I’m looking at, presently:
grep -A 2 -B 3 prints 2 lines after the grep string and prints 3 lines before. grep -C 3 prints 3 Lines before and 3 lines after Unfortunately, the grep I’m using does not support these options. Are there any alternative commands or script available to simulate this? Using sed/awk/perl/shell scripts? Answers: Thank you … Read more
I edited the default /etc/update-motd.d/00-header, adding some color to make it easier to read:
I need grep output with context, in color, and blank lines as group separator. In this question, I learned how to define custom group-separator, and I have constructed my grep command like this:
There’s an application on my system which keeps creating an empty ~/Desktop directory again and again. I can’t stand capital letters in my home, nor I can stand this “desktop” thingy. So, as picky as I am, I remove the directory each time I see it. I’d really like to know which application is responsible for that (probably some application I won’t use so often¹).
I am on Ubuntu and using a Microsoft keyboard. I want to map my Win key to a Ctrl key. How can I do that?
I am wondering why by default my directory /home/<user>/ has permissions set to 755. This allows other users to enter into directories and read files in my home. Is there any legitimate reason for this ?
I know that to capture a pipeline’s contents at an intermediate stage of processing, we use tee as ls /bin /usr/bin | sort | uniq | tee abc.txt | grep out , but what if i don’t want to redirect the contents after uniq to abc.txt but to screen(through stdout, ofcourse) so that as an end result , i’ll have on screen, the intermediate contents after uniq as well as the contents after grep.
When I execute a program that I work on, it fails with the following message: