Hi,
I look for a script to create 150 directories :
d000
d001
d002
...
...
d149
would you help me please ?
I think it would be
for i
mkdir d$i
Many thanks.
PS :
#uname -a
AIX fserver 3 5 0050691A4C00 (2 Replies)
Is there ant way to increase max number of folders in the directory from the 32766:
Problem UFS:
shell>mkdir mmm
mkdir: mmm: Too many links
But there are no links, just folders.
shell>ls | wc -l
32766 (3 Replies)
I am having trouble using cp and mkdir commands on a small script. The problem is I have spaces what I am trying to mkdir and then copy. Any suggestions on how I can solve this problem? I've tried searching online.
while read linefile
do
echo mkdir -p $CPP$linefile | cut -d / -f 1-5,8-12
... (10 Replies)
Hi, please help me with this small script
#!/bin/sh
curdir=`pwd`
n20=$curdir'/n20/'
msat=$curdir'/n20/msat/'
if
then
mkdir $n20
fi
if
then
mkdir $msat
fi
for a in 30 40 50 60 70 80
do (4 Replies)
Hi, Unix Gurus,
- I have a simple question, I need create multiple directory. I use
mkdir {dir1, dir2, dir3)
I got one directory as
{dir1, dir2, dir3}
I searched @ google, I got answer as above code.:wall::confused:
Anybody has any idea
Thanks in advance
---------- Post updated... (3 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:
Do the procedure, which if there are 5 parameters then it creates 4 directories with names of 4 parameters, in... (2 Replies)
hi linux expert
what is a difference between:
mkdir test and mkdir ./test
and also
if ( -e /test ) then and if ( -e ./test ) then
thanks in advance
Please use icode or code tags next time for your code and data (1 Reply)
Importing images from a camera (or two).
I sort by date (1901 this month).
Currently (failing)
if ]
then
echo "Found Panasonic G9X"
#echo "List files on camera"
#ls ${pana}/*
. chxdir.sh ${photos}/$mn
I want to change directory to a fixed base ($photos)/$mn... (10 Replies)
Discussion started by: dpawson
10 Replies
LEARN ABOUT NETBSD
secmodel_suser
SECMODEL_SUSER(9) BSD Kernel Developer's Manual SECMODEL_SUSER(9)NAME
secmodel_suser -- super-user security model
DESCRIPTION
secmodel_suser implements the traditional super-user (root) as the user with effective user-id 0. The super-user is the host administrator,
considered to have higher privileges than other users.
FUNCTIONS
secmodel_suser exposes a secmodel_eval(9) evaluation routine to test whether a set of credentials can be assimilated to super-user creden-
tials or not.
The parameters to secmodel_eval(9) are:
id the unique identifier of secmodel_suser: "org.netbsd.secmodel.suser"
what a string, "is-root".
arg the kauth(9) credentials (kauth_cred_t) of the caller.
ret a boolean, set by secmodel_suser to true when the credentials are equivalent to super-user, false otherwise.
RETURN TYPES
If successful, the evaluation returns 0 with the ret argument being either true or false.
SEE ALSO kauth(9), secmodel(9), secmodel_bsd44(9), secmodel_eval(9)AUTHORS
Elad Efrat <elad@NetBSD.org>
BSD December 4, 2011 BSD