06-14-2008
Sorry, I don't quite follow. Still learning.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What characters can't be used with a mkdir? Any limits on length of name?
Thank you,
Randy M. Zeitman
http://www.StoneRoseDesign.com (12 Replies)
Discussion started by: flignar
12 Replies
2. Shell Programming and Scripting
I am trying to strip all leading and trailing spaces of a shell variable using either awk or sed or any other utility, however unscuccessful and need your help.
echo $SH_VAR | command_line Syntax.
The SH_VAR contains embedded spaces which needs to be preserved. I need only for the leading and... (6 Replies)
Discussion started by: jerardfjay
6 Replies
3. Linux
I'm sitting here late at night, reading linux from scratch, and I come to this part:
http://lfs.osuosl.org/lfs/view/stable/chapter06/creatingdirs.html
my question to you, the all knowing unix.com'ers is this: what's the difference between using the install command as they do, and using the... (1 Reply)
Discussion started by: thmnetwork
1 Replies
4. Shell Programming and Scripting
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)
Discussion started by: big123456
2 Replies
5. UNIX for Advanced & Expert Users
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)
Discussion started by: mirusnet
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a problem where I need to append few spaces(say 10 spaces) for each line in a file whose length is say(100 chars) and others leave as it is.
I tried to find the length of each line and then if the length is say 100 chars then tried to write those lines into another file and use a sed... (17 Replies)
Discussion started by: prathima
17 Replies
7. Shell Programming and Scripting
Dear,
I have the following script:
maak_backup ()
{
echo 'Maken van tijdelijke bestanden, even geduld aub.'
for i in /home/yannick/* ;
do
cp -r $i $i.bac
done
if ;
then
echo 'Backup map = OK!'
echo 'Bezig met kopiëren, even geduld... (9 Replies)
Discussion started by: yadeki
9 Replies
8. Homework & Coursework Questions
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)
Discussion started by: bolones
2 Replies
9. UNIX for Dummies Questions & Answers
Hi, I used "mkdir job{0001..10}" do get directories. Now I want to create directories with a variable, for exemple "mkdir job{0001..$a}". When a=5 I get the directory "job{0001..5}". What have i to change to get job0001,...,job0005 :/
Thx for ur help :) (1 Reply)
Discussion started by: E_taks
1 Replies
10. UNIX for Beginners Questions & Answers
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)
Discussion started by: abdossamad2003a
1 Replies
LEARN ABOUT DEBIAN
init_policy
INIT_POLICY(8) System Administration Utilities INIT_POLICY(8)
NAME
init_policy - initialize TOMOYO Linux policy
SYNOPSIS
init_policy [option]
DESCRIPTION
This program generates templates for all policy files. However, the output should be reviewed because automatically generated exception
policy may contain dangerous or redundant entries.
This program only needs to be run once.
OPTIONS
--file-only-profile
Create profiles with only file-related functionality enabled.
--full-profile
Create profiles with all functionality enabled. [default]
--use_profile=integer
Set the default profile number for the "<kernel>" domain to the specified integer, which must be between 0 and 255. [default=0]
--use_group=integer
Set the default group number for the "<kernel>" domain to the specified integer, which must be between 0 and 255. [default=0]
--max_audit_log=integer
Set the default maximal audit log entries that the kernel will spool in the /sys/kernel/security/tomoyo/audit interface. This value
must be an integer, and can be set to 0 if audit logs are not required. Maximum memory used can also be controlled via the
/sys/kernel/security/tomoyo/stat interface. [default=1024]
--max_learning_entry=integer
Set the default maximum number of ACL entries automatically added to each domain by the kernel when using learning mode. This value
must be an integer, and can be set to o if you do not need learning mode. Maximum memory used can also be controlled using the
/sys/kernel/security/tomoyo/stat interface.
--grant_log=value
Set whether grant logs should be audited. This value can either be "yes" or "no". [default=no]
--reject_log=value
Set whether reject logs should be audited. This value can either be "yes" or "no". [default=yes]
EXAMPLES
Initialize policy
/usr/lib/tomoyo/init_policy
BUGS
If you find any bugs, send an email to <tomoyo-users-en@lists.sourceforge.jp>.
AUTHORS
Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Main author.
Jamie Nguyen <jamie@tomoyolinux.co.uk>
Documentation and website.
Naohiro Aoto <naoto@namazu.org>
Bug fix for 64bit Gentoo.
SEE ALSO
tomoyo-init(8)
See <http://tomoyo.sourceforge.jp> for more information.
tomoyo-tools 2.5.0 2012-04-14 INIT_POLICY(8)