i really need linux users to help me out on this, i am having big problem on solving these questions, i have done a few questions but i really cant figure out the answers for those questions, this is one of those questions ... i really will appreciate it if u guys can show me how to do this... thankyou very much
1) You are now in /temp and you want to change your working directory to /etc
2) You are now in a directory Public and you want to change to /home/user/1
3) You are in /usr/local/src/ and you want to go to /tmp/home/joe
4) You are in /root/Desktop and you want to go into /root/Desktop/stuff
5) You are in /tmp and you want to go to /tmp/bash/test/5
6) You are in /root and you want to delete the file /root/work/names.txt 7) You are in /home and you want to delete the entire directory /home/andy and all it’s sub directories
8) You are in /root and you want to add a user “manager”Anybody here know how to use Linux? I really need HELP !!!?
1) cd /etc
2) cd /home/user/1
3) cd /tmp/home/joe
4) cd stuff
5) cd bash/test/5
6) rm work/names.txt
7) rm -rf andy
8) useradd -d /home/usr/manager -m manager
(specify whichever home directory is required after -d)Anybody here know how to use Linux? I really need HELP !!!?
1. cd /etc
2. cd /home/user/1
3. cd /tmp/home/joe
4. cd /stuff
5. cd /bash/test/5
6. cd /work
sudo rm names.txt
sudo rm -rf /home/andy
8. sudo useradd ';manager';
it's realy like DOS command...
use shell or terminal or... then type cd /tmp/home/joe
cd [path]
List file attributes ls -l filename
List hidden file attributes (files beginning with ';.';) ls -al filename
Rename a file mv oldname newname
Delete files rm filename
Delete directories rmdir directory_name
Delete a directory tree rm -rf directory_name
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment