I've got 100 directories that each have 2 directories with in them.
Structered like this:
/home/domains/domain1/
through to
/home/domains/domain100/
and those 2 directories mentioned above are here:
/home/domains/domain1/directory1/
/home/domains/domain1/directory2/
through to... (7 Replies)
Hi All I am writting a script that does a comparison between files in 2 diffectent directories.
To do this I need a command that will list out only the files in a give directory and omit any sub dorectories with that directory. But I am unable to find it.
Please Help.
I tried
ls... (5 Replies)
User usrA creates dirA directory and runs chmod 777 on the directory. Can usrB issue another 777 on dirA? It appears the answer is no even if the usrA and usrB are part of the same group. I know this is a rare scenario but I just ran across it and found out that usrB receives an error when... (4 Replies)
Hi All,
I am Oracle Apps Tech guy, I have a requirement to find 777 permission is there or not for all Folders and Sub-folders
Under APPL_TOP (Folder/directory) with below conditions
i) the directory names should start with xx..... (like xxau,xxcfi,xxcca...etc)
and exclude the directory... (11 Replies)
Being a system administrator i came across a statement as " Excluding temporary directories /tmp and /var/tmp, no root owned files should be in world writable directories"
While the above statement may look straight forward but how would i check if there are any such directories in the... (7 Replies)
Hi All,
I am writing a script in which i need find the total size of all the directories that are present in a directory which are owned by a particular user.
I will explain in details
i have a dir DIR1 in which i have 5 dir's DIRA DIRB DIRC DIRD DIRE.
DIRA DIRC DIRE are owned by "eswar" i... (2 Replies)
I've tried to figure this out.
I'm only about 6 mos into my AIX admin duties, but I've got a "security" problem I can't figure out.
I've created a sub directory as follows:
drwx------ 2 root system 256 Apr 13 16:02 mike
I've logged in another session with the following user:
$ id... (2 Replies)
Hi,
I want to know if the is a way I can list the directories owned by a given user. Say i am logged in as that user.
I found out the find command lists the files owned by a certain user/group
but i want to know only the directories and if possible the permissions associated with these... (6 Replies)
First I'm new to Linux and have used the find command pretty often but this is where I've hit a snag. I have a file that contains 3500 files that I want to find and then eventually copy to my own directory (these files are all on a shared directory at work atm).
Our work computer are huge and... (2 Replies)
Hello
I have user directories that contain /temp directory.
Example folders:
/user1/temp/
/user2/temp/
/user3/temp/
How can i loop over all user directories and find all files only in their /temp folder?
Thanks a lot for help! (3 Replies)
Discussion started by: flavius42
3 Replies
LEARN ABOUT NETBSD
box
CURSES_BORDER(3) BSD Library Functions Manual CURSES_BORDER(3)NAME
curses_border, border, box, wborder -- curses border drawing routines
LIBRARY
Curses Library (libcurses, -lcurses)
SYNOPSIS
#include <curses.h>
int
border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br);
int
box(WINDOW *win, chtype vertical, chtype horizontal);
int
wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br);
DESCRIPTION
These functions draw borders around stdscr or around the specified window.
The border() function draws a border around stdscr using the characters given as arguments to the function. The ls, rs, ts and bs are the
characters used to draw the left, right, top and bottom sides, respectively. The tl, tr, bl and br are the characters used to draw the top-
left, top-right, bottom-left and bottom-right corners, respectively. If any of the characters have a text portion that is 0 then a default
alternate character set character is used for that character. Note that even though the text portion of the argument is 0, the argument can
still be used to specify the attributes for that portion of the border. The following table shows the default characters for each argument:
ls ACS_VLINE
rs ACS_VLINE
ts ACS_HLINE
bs ACS_HLINE
tl ACS_ULCORNER
tr ACS_URCORNER
bl ACS_LLCORNER
br ACS_LRCORNER
wborder() is the same as border() excepting that the border is drawn around the specified window.
The box() command draws a box around the window given in win using the vertical character for the vertical lines and the horizontal character
for the horizontal lines. The corner characters of this box will be the defaults as described for border() above. Passing characters with
text portion that is 0 to box() will result in the same defaults as those for border() as described above.
RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following
values:
OK The function completed successfully.
ERR An error occurred in the function.
SEE ALSO curses_attributes(3), curses_line(3)STANDARDS
The NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification.
HISTORY
The Curses package appeared in 4.0BSD.
BSD August 12, 2002 BSD