I an not very good with Linux, I don't know BASH very well yet. I am a network engineer for a media company and a lot of our web servers are Linux based so I thought I would start using Linux more often. On work servers I know where to go and what to type in to grep my logs. But I want to know what I am doing instead of reading an article by the fella who was in my spot before me.
I'm using Lubuntu 14.04 with a fresh install (Monday) and I noticed that my grep command doesn't work. Whatever I do, it shows me the grep usage page. For instance, if I try to run: grep test * or grep test test.txt, I get the usage page. Command which grep returns /bin/grep, I also tried alias grep="grep" but nothing works.
Welcome and howdy! Learning linux can be a PITA, but it will be worth it. I originally had gone to this page (https://github.com/vhf/free-programming … s.md#linux) [YOU may want to bookmark it.] IMHO Learn Linux The Hard Way is the best way to learn. You will learn that the Terminal is your friend.There are lots of distros out that use gui, but you can't learn that way.
When I try to start the Terminal (Applications -> Accessories -> Terminal), it does not start. I get a "Starting Terminal" entry in the taskbar. After a few seconds, it goes away. No terminal appears. (Other applications launch correctly.)
I'm running Ubuntu 11.04, and connecting via Remote Desktop.
Example: In a Terminal command xdpyinfo | grep resolution (that I have taken from an answer),
does the | character mean that the xdpyinfo output shall be sent to the grep program input for printing a line containing the resolution string? Where should I seek for such an information to avoid filling this forum by too simple questions? Thanks.