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

'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

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

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

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

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

Notes on deploying a Play Framework application to a production server

... can deploy to the production server with the Play dist command: $ play clean compile dist That command creates a file ... of the application, then start this version. You can find the PID of the previous version with the ps command, like ps auxw | ...

Blog - alvin - Sep 22 2014 - 12:15am - 0 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

How to read Perl command-line arguments

Perl FAQ: How do I read command-line arguments in Perl? Note: If you want to handle simple Perl command line arguments , such as filenames and strings, this tutorial shows ... can also use: foreach $argnum (@ARGV) Shift I find it easier most of the time to use shift: my variable = shift; ...

Blog - alvin - Jul 22 2014 - 3:20pm - 8 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