Answer Posted / mahfooz
it will show home directory :
mahfooz@mahfooz-desktop:~/diskd$ ls ~/..
mahfooz
and ls ~ will show you home/user files and directory list.
so ls ~/.. will list parent directory files and directories.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How does the system know where one command ends and another begins?
What is the use of cut command in unix?
What is ‘ps’ command for?
What is sed awk grep?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is unix command?
Which command is used to find whether the system is 32 bit or 64 bit?
Why is shebang used?
What does #!/ Bin sh do?
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
What is {} in find command?
How do I use grep to find a file?
Differentiate cmp command from diff command.
Describe the usage and functionality of the command rm –r * in unix?
Write a command that will display files in the current directory, in a colored, long format.