I am writing a shell script in solaris that will capture the system information like below
echo "Host IP address(es)
echo "Main Memory (MB)
echo "Physical CPUs on Machine
echo "Number of Cores per CPU
echo "Total Number of CPUs/ Virtual CPU
echo "CPU Type
echo "OS Name
echo "OS Release
echo "OS Architecture (32/64)
echo "Kernel Version
echo "Hardware Manufacturer
echo "Hardware Make/Model
The above script I had it for Linux and works good. Since the linux commands wont work on Solaris i need another sets of commands..
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11)
1. Libpcap (http://www.tcpdump.org) Version 1.2
2. Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6
1. GCC …
Still having to process all these year-end "csv" files received from all these sources (including Government entities), sometimes we have the need to examine the contents due to data error, etc...
As a "Unix" shop, our only readily …
Learn several ways to interact with files and get file information from the bash shell.
ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands.
Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.: