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.
|Interview Questions and Answers|
|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|
|What is the use of !! command ? Can I use it with conjunction to some other string to complete a command ?|
|As root, if you have to assign the owner for the file and set only read permission for the owner, Write a unix command to do it.|
|Can you tell me any 10 unix command you have worked with ?|
|How do you ftp files to a different server ? Do you use scp or mput etc.|
|Can we change permissions recursively for all folders and files within a single folder ?|
|Explain unix commands - cat and pwd.|