05-31-2008
dear all,
Thanks for reply but problem is that how i can trace that users file from /var/usershome/, because peter user folder is available in other folders too, for example.
/var/usershome/abcd/xyz/peter
/var/usershome/sunn/peter
/var/usershome/john/imp/peter
/var/usershome/kanni/proj/peter
in this way other users are also available in other other users directories, so i want that list which will compare my users files that read first user from file and search
/var/usershome/ directory and whereever that find for example user "peter" display full path.
Regards,
Bash
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Discussion started by: ejianu
5 Replies
2. Shell Programming and Scripting
Hello Gurus,
O/S RHEL4
I have a requirement to compare two linux based directories for duplicate filenames and remove them. These directories are close to 2 TB each. I have tried running a:
Prompt>diff -r data1/ data2/
I have tried this as well:
jason@jason-desktop:~$ cat script.sh ... (7 Replies)
Discussion started by: jaysunn
7 Replies
3. UNIX for Dummies Questions & Answers
I have noticed that the same folder (and contents) lives in
/u/public and /usr/public
Question was this put here intentionally or by accident?
Its 31Gb in size and on a 72Gb HDD that leaves little room for apps.
It is a nework shared drive for all to access e.g. p: points to... (0 Replies)
Discussion started by: moondogi
0 Replies
4. Shell Programming and Scripting
Hi all,
I need to create duplicate directories and sub directories (only the directories not the files or file contents) with the same permissions. Can some one guide me in doing this. I could able to create but here the permissions should be the same how can i do this in linux.
Thanks in... (5 Replies)
Discussion started by: Olivia
5 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
Using grep command, i want to find the pattern of text in all directories and sub-directories.
e.g: if i want to search for a pattern named "parmeter", i used the command
grep -i "param" ../*
is this correct? (1 Reply)
Discussion started by: vinothrajan55
1 Replies
6. Shell Programming and Scripting
Hi,
In a file, I have to mark duplicate records as 'D' and the latest record alone as 'C'.
In the below file, I have to identify if duplicate records are there or not based on Man_ID, Man_DT, Ship_ID and I have to mark the record with latest Ship_DT as "C" and other as "D" (I have to create... (7 Replies)
Discussion started by: machomaddy
7 Replies
7. Programming
Hello All,
I have got some assignment to complete till this Monday and problem statement is as follow :-
Problem :- Find duplicate files (especially .c and .cpp) from two project base directories with following requirement :-
1.Should be extendable to search in multiple base... (4 Replies)
Discussion started by: anand.shah
4 Replies
8. Shell Programming and Scripting
Is there a way via some bash script or just cmd to find duplicate directories?
i have main folders:
TEST1
TEST2
In folder TEST1 is some amount of same folders as in folder TEST2
can be this done? i tried fdupe but it only search for dupe files not whle dirs
thx! (8 Replies)
Discussion started by: ZerO13
8 Replies
9. Solaris
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies
LEARN ABOUT NETBSD
modload
MODLOAD(8) BSD System Manager's Manual MODLOAD(8)
NAME
modload -- load a kernel module
SYNOPSIS
modload [-fP] [-b var=boolean] [-i var=integer] [-s var=string] module
modload -p [-b var=boolean] [-d var] [-i var=integer] [-m plist] [-s var=string]
DESCRIPTION
The modload utility loads a kernel module specified by the module parameter into the running system.
Modules are loaded from the default system module areas unless the module parameter contains a path separator character ('/').
The options to modload are as follows:
-b var=boolean Pass the module a boolean property with the name var. boolean may be either true or false.
-d var When used in conjuction with -m, delete var from the plist specified.
-f When a module is loaded, the kernel checks if the module is compatible with the running kernel and will refuse to load mod-
ules that are potentially incompatible. This option disables compatibility checks. Note: an incompatible module can cause
system instability, including data loss or corruption.
This option is also required for re-enabling a builtin module that was disabled using modunload(8).
-i var=integer Pass the module an integer property with the name var and integral value integer.
-m plist When used in conjuction with -p, merge new options with an existing property list contained in plist.
-P This option tells the kernel not to load an associated property list.
-p Output a property list suitable for loading along with a module. When using this option, you do not need to specify a mod-
ule. Use -m and -d to read and modify an existing property list.
-s var=string Pass the module a string property with the name var and string value string.
DIAGNOSTICS
The modload utility exits with a status of 0 on success and with a nonzero status if an error occurs.
SEE ALSO
module(7), modstat(8), modunload(8)
HISTORY
The modload command was designed to be similar in functionality to the corresponding command in SunOS 4.1.3.
BSD
August 6, 2011 BSD