nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

How to extract tar.xz files in Linux and unzip all files

Posted: 14 May 2020 04:18 AM PDT


How do I extract tar.xz files in Linux? Can you tell me command to unzip linux-5.6.13.tar.xz file? How can I uncompressing (or decompressing) all files in the current directory?

The post How to extract tar.xz files in Linux and unzip all files appeared first on nixCraft.

Search Multiple Words / String Pattern Using grep Command on Bash shell

Posted: 13 May 2020 09:12 PM PDT


{Updated} How do I search multiple strings or words using the grep command? For example I'd like to search word1, word2, word3 and so on within /path/to/file. How do I force grep to search multiple words? How can I grep for multiple patterns on Linux, OS X, FreeBSD, or Unix-like system? What is the command to search multiple words in Linux?

The post Search Multiple Words / String Pattern Using grep Command on Bash shell appeared first on nixCraft.