New Unix Commands Interview Questions :: ALLInterview.com http://www.allinterview.com New Unix Commands Interview Questions en-us boot process? http://www.allinterview.com/showanswers/178061.html 1.Boot prom phase 2.boot programs phase 3.kernel initialization phase 4. init phase 5. svc.startd (additional process in solaris 10) solaris Run level? http://www.allinterview.com/showanswers/178060.html init S or s init 0 init 1 init 2 init 3 init 4 init 5 init 6 What does mkdir up2date; touch outdated up2date do? http://www.allinterview.com/showanswers/175386.html mkdir up2date; this command used to make a directory named up2date... How to replace the exact word in vi editor?? suppose a file contains http://www.allinterview.com/showanswers/175141.html s/string/string/g; ex; :s/unix/linux/g how to check a file system type http://www.allinterview.com/showanswers/170560.html #fstype /dev/dsk/c#T#d#s# How to add content of one file into another file at the beginning http://www.allinterview.com/showanswers/169126.html concatenate file1 and file2, in the below command file1 content will be insert in front of that in file2, and then combined content will be redirected to file3 cat file1 file2 > file3 How to get the last ten lines of a file using awk utility? http://www.allinterview.com/showanswers/167849.html awk '{x[NR]=$0} END{for (i=NR-10;i<=NR;i++) print x[i]}' what these two commands prints &quot;echo test&quot;,&quot;cat test&qu http://www.allinterview.com/showanswers/165363.html i thought dat syntax was wrong What is the command to check ports active in UNIX? http://www.allinterview.com/showanswers/165240.html just ping IP:port or telnet which script will invoke first ,when /etc/init.d starts http://www.allinterview.com/showanswers/163810.html /etc/init.d/network why metadb requires a seperate slice to create Solaris volume manage http://www.allinterview.com/showanswers/163759.html what is the default permission for /etc/shadow file in UNIX http://www.allinterview.com/showanswers/163281.html 400 their is a file1,file2 and i want to append file1 data to file2? http://www.allinterview.com/showanswers/160109.html say your file1 name is demo.txt & ur file2 name is demo2.txt if u wann to append data of demo.txt to demo1.txt then open demo1.txt in vi mode then in exe mode give :r demo.txt then the data will be appended What is the difference between udp and tcp? http://www.allinterview.com/showanswers/157258.html TCP gives guaranteed Delivery, UDP does not TCP is connection oriented, UDP is not TCP provides Flow Control, UDP does not. Usually UDP is used to send data while streaming etc since it takes less time, but important data is always sent using TCP How to see unused port number in Solaris? http://www.allinterview.com/showanswers/157257.html /etc/services will have all the port details or netstat | grep nonlisten