Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied UNIX INTERVIEW QUESTIONS
Showing 291 - 300 of 324 Previous | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Next
UNIX INTERVIEW QUESTIONS
 

  Ans: ‘ls’ command is used to list all directories...  

 
 

Ans: UNIX vs. DOS Navigation & Directory Control Commands Comman...  

 
 
293What Are The File Maintenance Commands?
Date Posted: 07/01/2012

Ans: File maintenance commands are to create copy, remove & change permission on files. You can use the following commands—
 
 Commands/syntax working of it.
  1. Chgrp [options] group file change the group of file
  2. Chmod [options] file change the access mode of file
  3. Chown [options] owner file change the ownership of file (only super user can do it)
  4. Cp [options] file1 file2 copy the content of file1 into file 2
  5. Mv [options] file1 file2 move file1 into file2
  6. Rm [options] file remove file or directory
 

 
 
294What Is Difference Between UNIX & DOS File Maintenance Commands?
Date Posted: 07/01/2012

Ans: 

Commands UNIX DOS
Copy file cp copy
 
Move file mv move
Rename file mv rename & ren
Delete file rm erase & Del
Display file to screen
Entire file cat type
one page at a time more.less.pg type/p
 

 
 
295How Do You Rename Or Move A File In UNIX System
Date Posted: 07/01/2012

Ans: You can rename or move file with ‘mv’ command.

Syntax-
Mv [options] [old filename] [new filename]
Common Options
-i interactive (prompt and wait for confirmation before proceeding)
  -f don’t prompt, even when copying over an existing target file (overrides -i)
Examples
% mv
Now you have a file called and the file is gone or deleted.
The contents of the file remain where they were
 

 
 

  Ans: You can remove a file with the ‘rm’ command....  

 
 
297Write Command To List All The Links From A Directory?
Date Posted: 07/01/2012

Ans: In this question, the interviewer just tried to know if you know the basic use of ‘Is’ ‘grep’ and other regular expressions. You can answer like this, Is –lrt | grep “^|”.
 

 
 
298How Can One Find Which Operating System Are You Using On Your System When UNIX Is Running?
Date Posted: 07/01/2012

Ans: We can use the command “uname -a” in UNIX.
 

 
 
299How Can One Copy A File From One Host To Another?
Date Posted: 07/01/2012

Ans: There are many options to do that but one can use “scp” command. One can also rsync command or even sftp will be good.
 

 
 
300How One Judge Can Is The Remote Host Is Alive Or Not?
Date Posted: 07/01/2012

Ans: One can easily check this by using the ping or telnet command in the UNIX.
 

 
Showing 291 - 300 of 324 Previous | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Next
Shadow Bottom
 
 
© 2005 -