Sponsored Content
Full Discussion: creating directories
Top Forums UNIX for Dummies Questions & Answers creating directories Post 302075307 by jyoung on Thursday 1st of June 2006 01:45:00 PM
Old 06-01-2006
 

10 More Discussions You Might Find Interesting

1. HP-UX

creating directories on the same box

I have two login accounts 'fup04a' and 'fup04c' on the same unix box after log in using 'fup04a' and if I try creating a directory 'new' drwxrwxr-x 2 fup04a fup04a 4096 Nov 14 14:06 new but if i try the same with fup04c drw-rw-r-x 2 fup04c fup04c 4096 Nov 14... (3 Replies)
Discussion started by: vivek_damodaran
3 Replies

2. Shell Programming and Scripting

help needed with creating challenging bash script with creating directories

Hi, Can someone help me with creating a bash shell script. I need to create a script that gets a positive number n as an argument. The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies

3. Shell Programming and Scripting

Creating Directories

I have many pdf files with similar naming conventions as this one: AC41_AC85_86_AC128_129_MC171_173_SF_207_FMV.pdf. It is a pdf file containing evaluations for these locations: AC41, AC85, AC86, AC128, AC129, MC171, and MC173. I want to create a directory for every location and put the... (3 Replies)
Discussion started by: ndnkyd
3 Replies

4. Homework & Coursework Questions

Creating directories within a directory?

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: Ok i need to create a directory within another directory in one command. I'm already in a directory to. I need to... (6 Replies)
Discussion started by: gangsta
6 Replies

5. Shell Programming and Scripting

Problem with array and creating directories

I have an interesting requirement. I have declaried an array like :- arr=`find . ! -name "." | xargs -I {} echo {} | cut -c 2-${#}` Then i will try to access the array elements like :- i=0 for i in ${arr}; do Here comes the confusions, the array elements are basically dir and files stored... (2 Replies)
Discussion started by: Renjesh
2 Replies

6. Shell Programming and Scripting

Creating timestamped directories/files in expect

Hi, I am looking for the syntax to provide a timestamped log_file in expect. Basically I want the equivalent of: /outputs/`date +%d%m%y`/session`date +%H%M` But scripted in expect so it can be handed over to the logfile function. I have tried playing around with the timestamp... (1 Reply)
Discussion started by: krypton
1 Replies

7. Shell Programming and Scripting

need help with creating directories and variables

i'm trying to write a script that has 2 variables, and uses the 1st variable as a number and the 2nd a name to create directories. so if you typed in ./myscript 5 week, it would create 5 directories named week1 - week5. whenever i run this, i get an error message saying week5 already exists, so i... (3 Replies)
Discussion started by: layne2kim
3 Replies

8. Shell Programming and Scripting

Archiving and moving files into directories, creating directories, etc.

how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex. so mydemo--2015-03-23-1500.tar.gz > database -... (5 Replies)
Discussion started by: wyclef
5 Replies

9. Shell Programming and Scripting

Problem creating a tar ball in different directories

Hi all. I'm hitting a problem creating a tar archive in one directory from files located in a different directory. It fails when I replace the absolute paths with variables in the script but works if I just run tar on the cmdln. E.g. #!/bin/ksh BASE=$PWD STAGE=$BASE/stage LOG=$BASE/log... (4 Replies)
Discussion started by: user052009
4 Replies

10. Shell Programming and Scripting

Creating new directories

I want to create a new system of directory structure for example mkdir -p ./iv.sac/resu/hhz.d However, I think that `mkdir -p` overwrites the directories. I want to avoid that and am doing something as follows in my bash script echo -e "\nCreating directories:" ... (6 Replies)
Discussion started by: kristinu
6 Replies
audit_track_paths(5)						File Formats Manual					      audit_track_paths(5)

NAME
audit_track_paths - enable/disable tracking of current and root directories for auditing subsystem VALUES
Failsafe Default Allowed values or Recommended values if is turned on or is installed, otherwise. DESCRIPTION
is a dynamic tunable and replaces specific static tunable Setting the tunable to enables both and to resolve and report absolute pathnames for their accounting purposes. This also causes addi- tional tracking by the kernel, resulting in a small degradation in performance (and increase in kernel memory usage), even if auditing sub- system is not in use. Although it is not required, but it is highly recommended to reboot the system when setting the tunable to with the intention to be able to record the absolute pathnames. Otherwise, or may not be able to resolve and report absolute pathname consistently. When is set to will not resolve absolute pathnames, while will be unable to open the device and collect data. This is because HIDS always expects a complete pathname for its purposes. The tunable is set to state when the system is installed without and its value is set to The tunable is set to when is first installed. Who Is Expected to Change This Tunable? Administrator with proper privileges can change the value of depending on the restrictions stated below. Restrictions on Changing The tunable is a dynamic tunable so any changes to this will take effect immediately, provided following conditions are satisfied: 1) If the new tunable value is 0 (and not then will not be able to open the IDDS device; and therefore, it will not be able to run any intrusion detection template that requires system call audit records. This restriction is enforced to avoid HIDS reporting incomplete or relative pathnames. 2) If is opened, then the administrator will not be allowed to change the value of the tunable. 3) If the tunable is set to will self-tune its value to when the IDDS device is opened by 4) If the tunable value is set to will self-tune its value to at the time of turning auditing. 5) If is already the administrator is not allowed to change the tunable value. 6) If the administrator changes the tunable value from to a reboot of the system is recommended to avoid reporting of partial pathnames by or When Should the Tunable Be Turned On? The tunable should be turned if either or is going to be started. What Are the Side Effects of Turning the Tunable On? The name of the current working directory (and root directory) of every process is tracked, resulting in a change in memory usage and per- formance of the system. When Should the Tunable Be Turned Off? When both and are What Are the Side Effects of Turning the Tunable Off? When the tunable is is unable to use any detection template that requires system call audit records (such as the "Modification of Files/Directories Template"). See HP-UX HIDS documentation for more information about templates. Also in this case will report relative pathnames in the audit log. What Other Tunables Should Be Changed at the Same Time? This tunable is independent of other tunables. WARNINGS
All HP-UX kernel tunable parameters are release-specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
kctune(1M), audit(5), ids.cf(5). Tunable Kernel Parameters audit_track_paths(5)
All times are GMT -4. The time now is 08:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy