Posts

What is Linux Shell?

Image
  What is Linux Shell? In Linux and Unix, a shell refers to a program that is used to interpret the typed commands the user sends to the operating system.  The closest analogy in windows is  MS-DOS, Shell name is COMMAND.COM which is also used for same purpose, but it's not as powerful as our Linux Shells are! Computer understand the language of 0's and 1's called binary language. In early days of computing, instruction are provided using binary language, which is difficult for all of us, to read and write. So in OS there is special program called Shell. Shell accepts your instruction or commands in English (mostly) and if its a valid command, it is pass to kernel.   Shell is a user program or it's environment provided for user interaction. Shell is an command language interpreter that executes commands read from the standard input device (keyboard) or from a file. Shell is not part of system kernel, but uses the system kernel to execute pr...

AWK programming language

AWK is a programming language designed for text processing and typically used as a data extraction and reporting tool. It is a standard feature of most Unix-like operating system. When written in all lowercase letters, as awk , it refers to the Unix or Plan 9 program that runs scripts written in the AWK programming language. SOME AWK COMMANDS AND USE: to find all the lines with a string ‘foo’ awk ‘/foo/ {print}’ file to print line 1 to 2 awk ‘NR == 1, NR == 2 {print}’ file to print line 15000 to end of the file awk 'NR==15000, NR==$NR' test.csv to print 2nd and last columns awk '{print $2,$NF;}' employee.txt In the print statement ‘,’ is a concatenator. Printf >> Dash (‘-’) means left aligned awk -F ' ' '{printf "%-10s%-10s%-10s\n", $2,$4,$6}' Sprintf >> Replace the first field by its formatted representation and output the line. awk '{$1 = sprintf("%4d", $1); print}' infile > outfil...

Is Gravitation under human control?

  Is Gravitation under human control? Let's be clear, we're talking about incredibly small gravitational fields here, not the type of 'artificial gravity' that's used throughout science fiction to keep characters on shows like Star Trek and  Battlestar Galactica  walking, not floating, around spacecraft. As yet, that technology isn't possible. Physicist proposes using magnetic fields to supply and come across gravitational fields Produce and find out gravitational fields at will the use of magnetic fields, control them for analyzing them, paintings with them to supply new technology — it sounds daring, but Prof. André Füzfa of Namur college has proposed clearly that in a piece of writing published within the clinical magazine bodily review D. If observed, this idea have to rework physics and shake up Einstein’s idea of fashionable relativity. At present, scientists study gravitational fields passively: they examine and try to understand existing gr...

Hiking in Nepal

  Nepal is the ultimate destination for the Trekking. Hiking and Trekking in Nepal is as much as cultural experience as a Himalayan adventure. The hills of Nepal are popular for hiking. Hiking provides you with spectacular views of the mountains and the deep valleys, as well as a chance to become acquainted with the Nepali people’s lifestyle, their art, architecture and cultural traditions. There are many popular areas for one or two day hikes. Kakani is popular for panoramic mountains views of Annapurna (8091m/ 26,545ft), Manasalu (8165m/ 26,781ft), Ganesh Himal (7446m/ 24,422ft), Lantang lirung (7245m/ 23,763ft) and 20 other mountains over 6000 meters (19,680ft) above sea level. You can also see the natural beauty of the Kathmandu Valley, the people and their culture and traditions. This is a one day trip from Kathmandu.

Creating Domain Network

Steps to create Domain Controller:( server) 1. Install server Operating system   2.Set IP address for domain controller. Give same IP address in preferred DNS server. 3.Install DNS (Domain Name System)    Go to Control Panel / Add or Remove Programs / Add or Remove windows components / Open networking services and select DNS / Click on OK / Next  (CD is needed for the purpose of installation ) 4. Install Active Directory  Go to run. Type domain controller promotion   In welcome screen click Next  Click on domain controller for a new domain  Click on domain in a new forest  Give the new domain name  Give the net bios domain name  Click on Next  Shared system volume:Next  Select on the Install and configure the DNS server on this computer / Next  Choose option permission compatible only with windows 2000 Click on Next  Finish the Restart   

Applying DHCP on Workgroup Network

Applying DHCP on Workgroup Network: Dynamic host Configuration Protocol can be used to assign Automatic (Dynamic) IP Addresses to all computers in the network. But for this at least one computer must have windows server operating system installed and it must be configured as a DHCP server. Steps: 1.     First DHCP must be installed on the Server. Open control panel  Add\Remove programs  select option Add\Remove windows components  from the list double click on networking services and select DHCP and click ok  next to install. (We will also require the server CD during installation) 2.     Then DHCP can be found in control panel administrative tools DHCP 3.     Open DHCP  right click on the computer name and select option New Scope. 4.     Click on Next and type a name for the DHCP scope and if necessary a description also.  Next 5.   ...