Search

Search results

A collection of Unix/Linux find command examples

...   Abridged examples Basic find command examples Find directories with the Unix find command ...

Blog - alvin - Jul 29 2014 - 3:46pm - 23 comments

More Linux find command examples

... table of contents   Basic find command examples Using find to search multiple directories ...

Blog - alvin - Jan 25 2014 - 6:26pm - 0 comments

Linux yum command reference (examples)

Summary: A CentOS Linux yum command cheat sheet (reference page). I've been working with the CentOS ... yum update bash Linux system updates To find out which packages on your system have updates available, use this ... Information about an installed yum package To find information about an installed package, use the yum info command. This ...

Blog - alvin - Oct 28 2014 - 5:16pm - 2 comments

Unix/Linux grep command examples

... Case-insensitive file searching with the Unix grep command Reversing the meaning of a grep search Using grep in ... your grep pattern match Power file searching with find and grep Related Unix/Linux grep commands and tutorials ...

Blog - alvin - Jul 29 2014 - 3:45pm - 15 comments

A Java String regex pattern search example

... and Matcher classes, specifically using the find method of the Matcher class. This is shown in the following source code ... the initial String. In this case we use the find command to simply determine whether the original String contains the pattern we ...

Blog - alvin - Sep 29 2014 - 2:13am - 0 comments

Mac OS X JAVA_HOME location

... which shows that you can demonstrate this by running this command in the Mac Terminal : /Library/Internet\ ... with XCode If you have XCode installed you can now find the JAVA_HOME directory with this command: $ ... You might also be able to find some of these settings in the Mac OS X Control Panel, but I looked just ...

Blog - alvin - Oct 24 2014 - 9:26pm - 0 comments

'Why is my Mac slow?' - How to debug Mac (some) networking problems

... see a lot of information about Unix processes using the ps command or the top utility, but it seems like many system administrators don't know how to find networking information, at least not without a network sniffer. On a ...

Blog - alvin - Oct 14 2014 - 9:14pm - 0 comments

How to use the Linux sed command to edit files in place (and make a backup copy)

... files successfully, or really screw things up, all in one command. :) Yesterday I ran into a situation where I had to edit over ... editing commands I wanted to run -- a series of simple find/replace commands -- but my bigger problem was how to edit the files in ...

Blog - alvin - Sep 29 2014 - 7:10pm - 0 comments

How to see JVM parameters/arguments from within a running Java application

... code that shows how to see Java Virtual Machine JVM command line arguments/parameters from within a running Java (or Scala) ... around the internet for a while I was finally able to find this solution, which helps to show the JVM command line arguments: // ...

Blog - alvin - Oct 6 2014 - 2:39pm - 0 comments

Linux find command recipes

... when you're working with files, tools like the Linux find command are very helpful. So, I've decided to put together this list of ...

Blog - alvin - Jan 25 2014 - 6:25pm - 0 comments