Krishna Logo
Call: Harsha @ 571-386-2972


Latest News
Home Navigation Divied
Showing 21 - 30 of 324 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
21What Does The Command “$ls | WC –l > File1” Do?
Date Posted: 07/02/2012

Ans: ls become the input to WC which counts the number of lines it receives as input and instead of displaying this count; the value is stored in file1.

22What Does The Command “$who | Sort –log File > New File” Do?
Date Posted: 07/02/2012

Ans: The input from a pipe can be combined with the input from a file. The trick is to use the special symbol “-“(a hyphen) for those commands that recognize the hyphen as std input.
In the above command the output from who becomes the std input to sort , meanwhile sort opens the file log file, the contents of this file is sorted together with the output of who (rep by the hyphen) and the sorted output is redirected to the file new file.

23Is It Possible To Count Number Char, Line In A File; If So, How
Date Posted: 07/02/2012

Ans: Yes, wc-stands for word count.
WC -c for counting number of characters in a file.
WC -l for counting lines in a file.

24Is ‘du’ A Command? If So, What Is Its Use?
Date Posted: 07/02/2012

Ans:  Yes, it stands for ‘disk usage’. With the help of this command you can find the disk capacity and free space of the disk.

25What Will The Following Command Do?
Date Posted: 07/02/2012

Ans: $ echo *
It is similar to ‘ls command and displays all the files in the current directory.

26Write A Command To Display A File’s Contents In Various Formats?
Date Posted: 07/02/2012

Ans: $od -cbd file_name c – character, b – binary (octal), d-decimal, od=Octal Dump

27Which Command Is Used To Delete All Files In The Current Directory And All Its Sub-directories
Date Posted: 07/02/2012

Ans: rm -r *

28Write A Command To Kill The Last Background Job?
Date Posted: 07/02/2012

Ans: Kill $!

29What Scheme Does The Kernel In UNIX System V Follow While?
Date Posted: 07/02/2012

Ans: Choosing a swap device among the multiple swap devices?
Kernel follows Round Robin scheme choosing a swap device among the multiple swap devices in Unix System V.

30In What Way The Protection Fault Handler Concludes?
Date Posted: 07/02/2012

Ans: After finishing the execution of the fault handler, it sets the modify and protection bits and clears the copy on write bit. It recalculates the process-priority and checks for signals.

Showing 21 - 30 of 324 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
Shadow Bottom
    Courses Offered
  • Courses not available.
© 2005 - 2018 Krishna Training.
Designed & Developed By BitraNet