Hi all,
i'm new in linux environment and have a v. tough task. Please help me how to initiate it.
give me some expample scripts..
the prob def is :

* i am trying to write a full-screen utility, that displays the permissions of a directory and all the directories in the directory's path. it will also show other information about the directories, as the cursor is moved up and down the list of directory names.
* i'm also using a Windows telnet session, because that is how I will be testing the script. I use the Windows version of QVT/Term.

please tell me how to solve this prob..

Recommended Answers

All 2 Replies

I cannot get the full screen either by the view icon or the screen icon

script:

# $1 = path to examine
# usage
# myscript /path

find "$1" -type d -print |\
while read file
do
       permissions=$(ls -l $file | awk '{print $1}')
       echo "$permissions $file"
done
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.