When you try to access content on a server that is running Internet Information Services (IIS) 7.0 by using HTTP, IIS 7.0 returns a numeric code that indicates the status of the response. The HTTP status code is recorded in the IIS log. Additionally, the HTTP status code may be displayed in the client browser. […]
Author: Sandeep Sadanandan
Mysql common questions and answers
CREATE USER CREATE USER ‘jeffrey’@’localhost’ IDENTIFIED BY ‘mypass’; Create user without password. CREATE USER ‘jeffrey’@’localhost’; DROP User DROP USER ‘jeffrey’@’localhost’; GRANT Steps: CREATE USER ‘jeffrey’@’localhost’ IDENTIFIED BY ‘mypass’; GRANT ALL ON db1.* TO ‘jeffrey’@’localhost’; GRANT SELECT ON db2.invoice TO ‘jeffrey’@’localhost’; GRANT USAGE ON *.* TO ‘jeffrey’@’localhost’ WITH MAX_QUERIES_PER_HOUR 90; RENAME USER RENAME USER ‘jeffrey’@’localhost’ TO […]
Q: How are device files represented in UNIX/Linux? A: All devices are represented as files called special files and are located in the /dev directory. Q: What is a inode? The inode(Index node) is a fundamental concept in Linux/Unix file systems. Each object in the file system is represented by an inode. Each and every […]
Windows Developer Preview Available now
Windows Developer Preview downloads The Windows Developer Preview is a pre-beta version of Windows 8 for developers. These downloads include prerelease software that may change without notice. The software is provided as is, and you bear the risk of using it. It may not be stable, operate correctly or work the way the final version […]
Amazon-Kindle fire
Technical Details Display 7″ multi-touch display with IPS (in-plane switching) technology and anti-reflective treatment, 1024 x 600 pixel resolution at 169 ppi, 16 million colors. Size (in inches) 7.5″ x 4.7″ x 0.45″ (190 mm x 120 mm x 11.4 mm). Weight 14.6 ounces (413 grams). System Requirements None, because it’s wireless […]
if…else…fi
If given condition is true then command1 is executed otherwise command2 is executed. Syntax: if condition then condition is zero (true – 0) execute all commands up to else statement else if condition is not true then execute all commands up to fi fi example of nested if else osch=0 echo “1. Unix (Sun Os)” […]
if condition
if condition which is used for decision making in shell script, If given condition is true then command1 is executed. Syntax: if condition then command1 if condition is true or if exit status of condition is 0 (zero) … … fi
Pipes
A pipe is a way to connect the output of one program to the input of another program without any temporary file. Syntax: command1 | command2 eg: who | wc -l Output of who command is given as input to wc command So that it will number of user who logon to system
Command line arguements
eg: $ myshell foo bar Shell Script name i.e. myshell First command line argument passed to myshell i.e. foo Second command line argument passed to myshell i.e. bar In shell if we wish to refer this command line argument we refer above as follows myshell it is $0 foo it is $1 bar it is […]
Wildcards
Wildcard types: 1. * – Matches any string or group of characters. 2. ? – Matches any single character. 3. […] – Matches any one of the enclosed characters Note: [..-..] A pair of characters separated by a minus sign denotes a range.