Answer Posted / damodar rao
#!/bin/bash
echo 'enter the directory name with path Ex: /home/damoar: ';
read $x;
$size = `du -h $x`;
echo 'size of a given directory $x is : `$size` ';
:wq
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
c program to display the information of given file similar to givan by the unix or linux command ls -l
Write the syntax for "if" conditionals in linux?
What language is shell scripting?
What are zombie processes?
What is an inode block?
What is shell geeksforgeeks?
When should shell programming/scripting not be used?
How will you copy a file from one machine to other?
What is the difference between break and continue commands?
What is echo $shell?
Where is bash history?
What is sed in shell script?
Where are cowrie shells found?
What is another name for a bash shell script that you might see?
How does shell scripting work?