Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| |||||||||||
Unix - Interview Questions and Answers for 'Unix commands' - 8 question(s) found - Order By Newest | |||||||||||
| |||||||||||
Ans. To display the current CLASSPATH variable, use these commands in UNIX (Bourne shell): % echo $CLASSPATH To delete the current contents of the CLASSPATH variable, In UNIX: % unset CLASSPATH; export CLASSPATH To set the CLASSPATH variable, In UNIX: % CLASSPATH=/home/george/java/classes; export CLASSPATH | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  unix   unix commands   classpath | |||||||||||
| |||||||||||
Ans. Its used to execute last command. Yes this can be used with other string to execute new command. For eg - if ls was the last command, We can execute !! -l for having the long listing. | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  unix   unix commands   !! unix command   build management   release management | |||||||||||
| |||||||||||
Ans. du -a /var | sort -n -r | head -n 10 | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  unix command Asked in 1 Companies | |||||||||||
| |||||||||||
Ans. PID - process identification number is an identification number that is automatically assigned to each process when it is created USER - User Name PR - PR is the process actual priority NI is the nice value, which is a user-space concept. VIRT -Virtual Image (kb). The total amount of virtual memory used by the task. RES - Resident size (kb). The non-swapped physical memory a task has used. SHR - Shared Mem size (kb). The amount of shared memory used by a task. S - Process Status. The status of the task which can be one of: D = uninterruptible sleep R = running S = sleeping T = traced or stopped Z = zombie %CPU - % CPU usage %MEM - % MEM Usage TIME - Total CPU time the task has used since it started. COMMAND - Command which was used to execute the process | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  top command  unix command Asked in 1 Companies | |||||||||||
| |||||||||||
Ans. chmod 477 | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  unix commands  setting file permissions  chown  chmod | |||||||||||
| |||||||||||
Ans. grep, ls, kill, vi , scp , wget,telnet, zip, unzip,mv,cp | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  unix commands Asked in 1 Companies basic | |||||||||||
| |||||||||||
Ans. I use both mput as well as scp. mput usually with sftp | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  unix commands  ftp | |||||||||||
| |||||||||||
Ans. chmod 777 -R /directory | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  Unix Commands | |||||||||||
| |||||||||||
| |||||||||||