If you work regularly on a Solaris or systems which do not have the “-r” (recursive grep) for grep, then you know what a lifesaver this command can be. Here is one from command line fu: find . -type f -exec awk ‘/linux/ { printf “%s %s: %s\n”, FILENAME, NR, $0; }’ {} \; The [...]
Archive of posts filed under the Solaris category.
Rekursive Grep on Solaris or AIX Systems without GNU egrep -r funcionality
16 December 2011, 8:30 am
Filed under Learning, Solaris.
Tagged awk, Command-line interface, grep, Linux, Operating Systems, regular expression, Solaris, Unix
1 Comment
Add ssh key to remote host
15 November 2011, 1:30 pm
If you are working on recent versions of the *nix OS like Fedora or Ubuntu then you would know about the commad ssh-copy-id. But if you land up using one of the older versions like Solaris or something where the command is not present, then probably you need a simpler solution to this. One of [...]
Filed under bash, Learning, Linux, Solaris.
Tagged amit agarwal, Fedora, Operating system, Secure Shell, Server, Solaris, ssh, ubuntu
Comment
Solaris dump analysis
18 May 2011, 7:46 pm
I had to debug a solaris crash dump and had no ides. Google search wasn’t much useful until finally I found this article: http://cuddletech.com/blog/?p+AD0-448 have a look at this article, this suggests how to debug the core and find the offending process and root cause of the core in case of kernel panic. Related articles [...]
Filed under Solaris.
Tagged google, Hosts (file), kernelpanic, Lahore, Linux, OpenSolaris, Operating system, Search Engines, Searching, Solaris, Sun, Sun Certified Professional, Unix
Comment










