![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| display the files in a folder which are older than 1 hour | vgs | Shell Programming and Scripting | 7 | 05-29-2007 03:05 PM |
| display the files in a folder which are older than 1 hour | vgs | UNIX for Dummies Questions & Answers | 3 | 05-25-2007 09:46 PM |
| Logic behind display of .www folder ?? | srinivasan_85 | UNIX for Dummies Questions & Answers | 10 | 01-13-2007 06:41 AM |
| copy folder contents | robsk8_99 | UNIX for Dummies Questions & Answers | 1 | 02-22-2005 06:54 PM |
| Folder Contents | spencer | UNIX for Dummies Questions & Answers | 6 | 07-11-2003 08:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to display contents of folder when 'cd' is used
Hi,
I am a new learner of Unix. I am currently working on a Solaris 8 machine. Earlier, when I use 'cd <folder name>' command, I am not only able to change the folder but also able to see the contents of the folder as if a 'ls -lt' command was executed. However, since a week, suddenly this behavior is changed. On 'cd <folder name>' command, I am able to change the directory but NOT able to view its contents. Is there any variable that need to be set to some value. Can someone help me.. pls..!! Thanks in advance, Uma |
|
||||
|
Hi I am new to the perl scripting.
Plz can anybody help me the scripting.I need to find the entire Directoy space.but it is showing an error .. #!/usr/bin/perl use strict; use warnings; use Filesys: iskSpace;# file system to monitor my $dir = "/home"; # warning level my $warning_level=10; my ($fs_type, $fs_desc, $used, $avail, $fused, $favail) = df $dir; # calculate my $df_free = (($avail) / ($avail+$used)) * 100.0; # compare if ($df_free < $warning_level) { my $out = sprintf("WARNING Low Disk Space on $dir : %0.2f%% ()\n",$df_free); |
|
|||||
|
Quote:
Edit: Ah, I see you have: http://www.unix.com/post-here-contac...scripting.html |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|