Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Hi,
I need a help. I want to see all the files in the directory with the Time Stamp. I use the following command.
$ls -lt
This displays the files with time stamp, but not all the files. Only last few months, the files are displayed with timestamp, the old files are only have dates.
... (2 Replies)
Is there a way of listing everything under a directory.
So for example if you wanted to know everything under the USR directory you would get all the sub directories and files in those directories as well as the file directly under the USR directory. I would imagine that you could do this... (5 Replies)
Hai friends is there any command in unix that display only directories...
(I have 5 directories in my home directory, and i also have some files along with directories...But when i tried to show the directory listing using the command ls -d i wasn't presented by the directory listing...Please... (2 Replies)
Hi,
example of Unix / Linux dialog utility is below.
I am going to use dialog as simple GUI for testing of a modem.
So I need to combine some dialog boxes into one.
I need to have input box, output box, info box, dialog box,
radiobox as in any standard program with graphical user... (2 Replies)
i have searched through this site and have found some useful information but i'm struggling with one thing. In my script i am created a start and end file so I can get a listing of the files within those two files. However I want to exclude any sub-directories in this listing. Below are the... (8 Replies)
Hi,
I have a directory with a bunch of files say around 150K.
I want the directory's path and the filenames printed to a text file.
Example:
If I am in the directory /path/test and the files in this directory are
My output file should be like this
Thanks in advance
----------... (4 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
A script that takes any number of directories as command line arguments and then lists the contents of each of... (3 Replies)
Hello,
I'm trying to build a small script to store a command into a dynamic variable, and I have trouble assigning the variable.
#!/bin/bash
declare -a var1array=("value1" "value2" "value3")
var1arraylength=${#var1array}
for (( i=1; i<${var1arraylength}+1; i++ ));
do
mkdir... (7 Replies)
Hello.
Any help would be greatly appreciated.
Right now I have the following input box that works fine and well, however I would like to wrap this is a loop that requires input. Right now the script will happily continue on if the user just hits enter. I'd like to require a minimum of a 5... (5 Replies)
Discussion started by: woodson2
5 Replies
LEARN ABOUT SUSE
tk::dialog
Dialog(3) User Contributed Perl Documentation Dialog(3)NAME
Tk::Dialog - Create modal dialog and wait for a response.
SYNOPSIS
$dialog = $parent->Dialog(-option => value, ... );
DESCRIPTION
This procedure is part of the Tk script library - its arguments describe a dialog box. After creating a dialog box, Dialog waits for the
user to select one of the Buttons either by clicking on the Button with the mouse or by typing return to invoke the default Button (if
any). Then it returns the text string of the selected Button.
While waiting for the user to respond, Dialog sets a local grab. This prevents the user from interacting with the application in any way
except to invoke the dialog box. See the Show() method.
OPTIONS
The following option/value pairs are supported:
-title
Text to appear in the window manager's title bar for the dialog.
-text
Message to appear in the top portion of the Dialog.
-bitmap
If non-empty, specifies a bitmap to display in the top portion of the Dialog, to the left of the text. If this is an empty string then
no bitmap is displayed in the Dialog.
-default_button
Text label string of the Button that displays the default ring.
-buttons
A reference to a list of Button label strings. Each string specifies text to display in a Button, in order from left to right.
METHODS
$answer = $dialog->Show(?-global?);
This method displays the Dialog, waits for the user's response, and stores the text string of the selected Button in $answer. If
-global is specified a global (rather than local) grab is performed.
The actual Dialog is shown using the Popup method. Any other options supplied to Show are passed to Popup, and can be used to position
the Dialog on the screen. Please read Tk::Popup for details.
ADVERTISED WIDGETS
Because Tk::Dialog is a subclass of Tk::DialogBox it inherits all the advertised subwidgets of its superclass: e.g. "B_button-text", where
'button-text' is a Button's -text value. Additionally, Tk::Dialog advertises:
message
The dialog's Label widget containing the message text.
bitmap
The dialog's Label widget containing the bitmap image.
EXAMPLE
$dialog = $mw->Dialog(-text => 'Save File?', -bitmap => 'question', -title => 'Save File Dialog', -default_button => 'Yes', -buttons =>
[qw/Yes No Cancel/);
KEYWORDS
bitmap, dialog, modal, messageBox
perl v5.12.1 2007-05-05 Dialog(3)