Results 1 to 4 of 4
All members of the forum are requested that plz give me any idea to start with the cd(change directory) comand to implement in linux.I have searched on it but stucked ...
- 03-04-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 8
help in implementing cd command
All members of the forum are requested that plz give me any idea to start with the cd(change directory) comand to implement in linux.I have searched on it but stucked and tommorow is the last date of submitting my project.
I am good in Data Structure and C++ but here i am totaly struct.
Please rep if you all have some important data to start with.
Not the complete help ofcourse
- 03-04-2009 #2
From the command line, do:
...for detailed instructions. Also see my response to your other thread about 'ls' which includes the use of the cd command.Code:man cd
- 03-04-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 45
Answer:
Thereʼs hardly anything left to implement. You can use the «chdir()»¹ function directly.
Originally Posted by Rida
Footnotes:
- 03-08-2009 #4Just Joined!
- Join Date
- Mar 2009
- Posts
- 8
having problem in loop of Shell
I made a while loop which exits if the user types 'exit'
But when my shell exit the whole linux become stuck.and there no way lefts behind instead of stoping and rebooting the linux on VMware.
kindly help me if there is another way of closing the loop and returning to the original positio;
e.g
[MyshellOS]$ exit
it must show that
[root@localDesktop]# what is the proper way??


Reply With Quote