News

The grep command – likely one of the first ten commands that every Unix user comes to know and ... that you want to match as shown in the example below. With -F, grep interprets that patterns ...
grep failure /var/log/secure This is an example of what grep might then return: Apr 4 06:45:29 smatteso-vm1 sshd[14836]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ...
For example, the sed man page weighs in at around 1,800 words alone without ever really explaining how regular expressions work or the most common uses of sed itself. If you find yourself in the ...
When using the Linux terminal, we often make mistakes. At other times, tasks feel just plain tedious. Fortunately, there are ...
Linux was the odd one left out, and it's unfortunate because I love the idea of Linux. Open-source, ultimate customizability, ...
Linux is a treasure trove of powerful tools, many of which remain undiscovered by casual users. While staples like grep, awk, ...
In the examples below, the line containing the word “session” is only included when the full word is used in the command. $ grep -w 'fly ... was a programmer, Linux systems administrator ...
grep AppleTalk /etc/services, for example. Here, you tell grep to look for AppleTalk in the services file located in the /etc directory. (This useful file contains a list of network port numbers ...
If you've been a Linix/UNIX user for a long time you surely know what RTFM means ... My first exposure to *NIX was decades ago and just recently somebody pointed out some new options to grep that I've ...
These little unix commands are all about text processing and I really miss this functionalities in MS Office and other windows programs. I am constantly switching to unix shell while writing docs ...