Task: List the contents of a tar file</p> Use the following command:$ tar -tvf file.tarTask: List the contents of a tar.gz file Use the following command:$ tar -ztvf file.tar.gzTask: List...
If you want to copy files in Linux and also want to keep or preserve the original mode or timestamp or ownership (or all) , cp command gives an option...
using this Script you can see File Details in your current Directory </p> #!/bin/bashecho "No of files in current in Directory"ls -l | grep ^- | wc -l echo "and...
I got lines in format juned_workers 0.03322juned_workers 0juned_workers 0.17053juned_workers 0juned_workers 0.41322juned_workers 0juned_workers 0.16864juned_workers 0.05603juned_workers 0juned_workers 0.15836 The output I required was in format Row1 juned_workers 0.03322Row2 juned_workers 0Row3 juned_workers 0.17053Row4...
http://bitfieldconsulting.com/puppet-vs-chef</p>
Good reading materal for puppet :
http://www.sparksupport.com/blog/puppet-configuration-management-tool </div>
# Use JAVA_HOME if set, otherwise look for java in PATHif [ -x $JAVA_HOME/bin/java ]; then JAVA=$JAVA_HOME/bin/javaelse JAVA=`which java` export JAVA_HOME=$(readlink -f $JAVA | sed "s:bin/java::")fi
By default when you add new user to system (/etc/passwd file) it grant shell access, to avoid this for special users for which you dont want to give shell access...
Recently was looking for a utility that will monitor particular directory for specific files and do some action on it once it find such file. for example trigger a script...
Hi Guys, This is straight from the horses mouth. Being a big time movie Buff, you all can be rest assured that this one flick will note bore you and...
I just finished the book "Outliers: The Story of Success" by Malcolm Gladwell the key concepts of the book are that yes, it takes a lot of hard work to...
It is the month of August, on the shores of the Black Sea . It is raining, and the little town looks totally deserted. It is tough times, everybody is...