I have two input files. I want to search each of the numbers (studentid) on inputfile1 from inputfile2 and print the studentid and section that are listed from inputfile1. See the desired output below.
I have a file (file1) which is like
host1
host2
host3
host4
the list goes on............
Now I want the above lines in files to be compared with files under
/opt/new/
File names are as below:
Dev
Prod
QA
And suppose host1 from file1 is found under Dev(file under /opt/new)... (2 Replies)
hi,
I want to search all files in the current working direcotry and to print in comma (,) seperated output. But I have two patterns to search for.
Files will be in ABC20100508.DAT format.
Search should happen on the format (ABC????????.DAT) along with date(20100508).
I can do a
ls... (2 Replies)
Hi-
I am trying to search a large file with a number of different search terms that are listed one per line in 3 different files. Most importantly I need to be able to do a case insensitive search.
I have tried just using egrep -f but it doesn't seam to be able to handle the -i option when... (3 Replies)
Hi,
I have a list of files which can be identified as abcd*.xml where * represent multiple timestamps for multiple files.
I need to do following checks
1. Find number of files (which we get by doing following)
FILECOUNT=`ls -ltr /dir/abcd*.xml | wc -l`
2. If check 1 gives '1' as... (2 Replies)
Hello team,
Suppose I have a file named that has following content:
abc123
1897
msxi12
------------
########
((((( rapjagc )))))))
34229
xxxxxxxxxxxx
@@@536
I need those lines that contain only numbers from this file.
means -- it should eliminate alphanumber, special characters... (3 Replies)
Hi all,
My need is:
To list out all the java / jsp files having System.out.println in my project.
I need the output as:
/home/me/project/file1.java
somejavacode
somejavacode
System.out.println("something");
somejavacode
somejavacode
somejavacode
/home/me/project/file2.java... (8 Replies)
I have a file 1.txt with the below contents.
-----cat 1.txt-----
1234
5678
1256
1234
1247
-------------------
I have 3 more files in a folder
-----ls -lrt-------
A1.txt
A2.txt
A3.txt
-------------------
The contents of those three files are similar format with different data values... (8 Replies)
Question:
How to search & list subdirectories with the given file name?
For example:
The directory structure looks like;
/Builds/DEV/Build_RL01/DDL/
a_tbl_cre.sql
......
/Builds/DEV/Build_RL01/DML/
a_upd.sql
....
....
Requirements:
1. I need to find subdirectory DML which is... (0 Replies)
Hello to all,
I hope somebody could help me with this:
I have this File1 (real has 5 million of lines):
Number Category
--------------- --------------------------------------
8734060355 3
8734060356 ... (6 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Discussion started by: royzlife
12 Replies
LEARN ABOUT FREEBSD
kldconfig
KLDCONFIG(8) BSD System Manager's Manual KLDCONFIG(8)NAME
kldconfig -- display or modify the kernel module search path
SYNOPSIS
kldconfig [-dfimnUv] [-S sysctlname] [path ...]
kldconfig -r
DESCRIPTION
The kldconfig utility displays or modifies the search path used by the kernel when loading modules using the kldload(8) utility or the
kldload(2) syscall.
The following options are available:
-d Remove the specified paths from the module search path.
-f Do not display a diagnostic message if a path specified for adding is already present in the search path, or if a path specified for
removing is not present in the search path. This may be useful in startup/shutdown scripts for adding a path to a file system which
is still not mounted, or in shutdown scripts for unconditionally removing a path that may have been added during startup.
-i Add the specified paths to the beginning of the search path, not to the end. This option can only be used when adding paths.
-m Instead of replacing the module search path with the set of paths specified, ``merge'' in the new entries.
-n Do not actually change the module search path.
-r Display the current search path. This option cannot be used if any paths are also specified.
-S sysctlname
Specify the sysctl name to use instead of the default kern.module_path.
-U ``Unique-ify'' the current search path - if any of the directories is repeated one or more times, only the first occurrence remains.
This option implies -m.
-v Verbose output: display the new module search path. If the path has been changed, and the -v flag is specified more than once, the
old path is displayed as well.
FILES
/boot/kernel, /boot/modules, /modules
The default module search path used by the kernel.
EXIT STATUS
The kldconfig utility exits 0 on success, and >0 if an error occurs.
SEE ALSO kldload(2), kldload(8), sysctl(8)HISTORY
The kldconfig utility first appeared in FreeBSD 4.4.
AUTHORS
Peter Pentchev <roam@FreeBSD.org>
BSD June 15, 2001 BSD