944,193 Members | Top Members by Rank

Ad:
Nov 26th, 2004
0

Full screen prob

Expand Post »
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..
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jackjill is offline Offline
3 posts
since Nov 2004
Dec 28th, 2006
0

Re: Full screen prob

I cannot get the full screen either by the view icon or the screen icon
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ruthridgeway is offline Offline
3 posts
since Dec 2006
Jan 4th, 2007
0

Re: Full screen prob

script:
Shell Scripting Syntax (Toggle Plain Text)
  1. # $1 = path to examine
  2. # usage
  3. # myscript /path
  4.  
  5. find "$1" -type d -print |\
  6. while read file
  7. do
  8. permissions=$(ls -l $file | awk '{print $1}')
  9. echo "$permissions $file"
  10. done
Reputation Points: 62
Solved Threads: 10
Junior Poster
jim mcnamara is offline Offline
179 posts
since May 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: Shell Script fails with "can't connect to client"
Next Thread in Shell Scripting Forum Timeline: two variable sin single loop





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC