What command will bring user back to their home
directory in UNIX?

Answer Posted / kamal

cd ~username

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I clear my terminal history?

788


What is command statement?

774


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1951


Does cp command overwrite files?

816


What do know about tee command?

803






What is the difference between grep and grep?

787


Which command is used to find whether the system is 32 bit or 64 bit?

812


What is the use of tee command?

749


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

838


Which command is used to create a directory?

762


What is awk used for?

819


What is the use of the command 'ls -x chapter[1-5]' ?

886


What are the dos commands?

854


What does this command do,"$more readme.txt“?

850


What are the commands in UNIX to list the files in a Directory?

798