November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

THE best oil for natural hair

 

 

THE best oil for natural hair. A mega summary! – For Long, Healthy Natural Kinky and Curly Hair – Your Dry Hair Days Are Over!//

(function() { var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true; ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’; var s = […]

awk built-in variables

Properties Description $0 The current record (as a single variable) $1~$n N-th field of the current record, separated by FS between fields FS Enter the default field separator is a space NF The number of fields in the current record is the number of columns NO The number of records have been read out, […]

Bash cheat sheet

Grep

Grep with large pattern files

When I investigated the run times of grep -f related to large pattern files (with hundreds of lines and more) it became apparent that one can speed up grep by splitting up the pattern files into smaller chunks.

I tested this with GNU grep 2.5.3 on a machine with an […]

Iplanet Installation on Linux

unzip Oracle-iPlanet-Web-Server-7.0.15-linux-x64.zip

“Attach to native process failed”

Kindly install

yum install compat-*

./setup

Oracle iPlanet Web Server components will be installed in the directory listed below, referred to as the installation directory. To use the specified directory, press Enter. To use a different directory, enter the full path of the directory and […]

IBM HTTP Server

IBM HTTP Server

Installation

Ensure you have the IBM Developer Kit, Java Technology Edition Version 1.4, installed on your machine. Files included

* gskit.sh * setup.jar * A GSKit run-time executable: * Linux for Intel: gsk7bas_295-7.0-1.10.i386.rpm Go to the directory where you uncompressed the install image and type java -jar setup.jar To do a silent […]

SR-IOV must be enabled on virtual switch Install additional network drivers in the guest OS Enable SR-IOV within the VMs though Hyper-V Manager * Single Root I/O Virtualization (SR-IOV) is a standard introduced by the PCI-SIG that owns and manages PCI specifications as open industry standards. SR-IOV enables network traffic to bypass the software switch […]

iostat, vmstat and mpstat examples

This article provides a total of 24 examples on iostat, vmstat, and mpstat commands. iostat reports CPU, disk I/O, and NFS statistics. vmstat reports virtual memory statistics. mpstat reports processors statictics. This article is part of our ongoing Linux performance monitoring series. Please note that iostat and vmstat are part of the sar utility. You […]

MySQL Backup

#! /bin/bash

 

# your MySQL server’s name SERVER=test.net

# directory to backup to BACKDIR=~/backups

# date format that is appended to filename DATE=`date +’%m-%d-%Y’`

#———————-MySQL Settings——————–#

# your MySQL server’s location (IP address is best) HOST=localhost

# MySQL username USER=username

# MySQL password PASS=password

# List all of the MySQL databases that you want […]

ALTER TABLE syntax – MySQL

ALTER TABLE syntax – MySQL

 

You can then import it into a MySQL table by running:

 

#load data local infile ‘file.csv’ into table tablename

fields terminated by ‘,’

enclosed by ‘”‘

lines terminated by ‘\n’

(field1, field2, field3)