01-23-2012
Quote:
Originally Posted by
amarn
I'm under cygwin on Windows
Next time note that at the beginning. Not actually using UNIX, and dealing with files in a system so incompatible with UNIX, is a bit of a game-changer when trying to use UNIX utilities in the usual way.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I can't manage to list all files that are not directories from current directory. (2 Replies)
Discussion started by: beni22sof
2 Replies
2. Shell Programming and Scripting
I want to know how many directories and files are there in a directory and if the sub directory have any files i also need that also .
I have done this far .... (4 Replies)
Discussion started by: smongam
4 Replies
3. Shell Programming and Scripting
Hello,
Using the instruction mget (within ftp) and with "Interactive mode off", I want to get all files from directory (DirAA), but not the files in sub-directories.
The files names don't follow any defined rule, so they can be just letters without (.) period
Directory structure example: ... (0 Replies)
Discussion started by: Peter321
0 Replies
4. UNIX for Advanced & Expert Users
Hi Everyone,
It would be helpful if someone helps me on this.
Requirement:
I have a directory which includes different types of files(for example *.java,*.class),but not restricted for only these types. I need to find the same types of file extensions from its directories and subdirectories... (3 Replies)
Discussion started by: rcvasu
3 Replies
5. UNIX for Dummies Questions & Answers
So I am not sure if this should go in the shell forum or in the beginners. It is my first time posting on these forums.
I have a directory, main_dir lets say, with multiple sub directories (one_dir through onehundred_dir for example) and in each sub directory there is a test.txt. How would one... (2 Replies)
Discussion started by: robotsbite
2 Replies
6. Shell Programming and Scripting
I have searched about 30 threads, a load of Google pages and cannot find what I am looking for. I have some of the parts but not the whole. I cannot seem to get the puzzle fit together.
I have three folders, two of which contain different versions of multiple files, dist/file1.php dist/file2.php... (4 Replies)
Discussion started by: bkeep
4 Replies
7. Shell Programming and Scripting
i have a c-shell script.
and i pass it one or two arguments
the first argument is the directory
the second is the "-r"
now,
if i pass it only one, it searches the files ending in txt in that directory
if i pass it two parameters, like "temp" and "-r"
i want it to go through all the files and... (1 Reply)
Discussion started by: pantelis
1 Replies
8. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
9. UNIX for Advanced & Expert Users
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
10. AIX
Hello,
Server A: /directory1/
Server B: /Backups/
i wanted to backup contents of /directory1 from "server A" on to "Server B" every 1 hour.
If there is any change in (only new/differences) contents on serverA (directory1/) supposed to be backeup on next run.
I did used rsync command to... (5 Replies)
Discussion started by: System Admin 77
5 Replies
LEARN ABOUT CENTOS
binfmt.d
BINFMT.D(5) binfmt.d BINFMT.D(5)
NAME
binfmt.d - Configure additional binary formats for executables at boot
SYNOPSIS
/etc/binfmt.d/*.conf
/run/binfmt.d/*.conf
/usr/lib/binfmt.d/*.conf
DESCRIPTION
At boot, systemd-binfmt.service(8) reads configuration files from the above directories to register in the kernel additional binary formats
for executables.
CONFIGURATION FORMAT
Each file contains a list of binfmt_misc kernel binary format rules. Consult binfmt_misc.txt[1] for more information on registration of
additional binary formats and how to write rules.
Empty lines and lines beginning with ; and # are ignored. Note that this means you may not use ; and # as delimiter in binary format rules.
Each configuration file shall be named in the style of program.conf. Files in /etc/ override files with the same name in /usr/lib/ and
/run/. Files in /run/ override files with the same name in /usr/lib/. Packages should install their configuration files in /usr/lib/, files
in /etc/ are reserved for the local administrator, who may use this logic to override the configuration files installed from vendor
packages. All files are sorted by their filename in lexicographic order, regardless of which of the directories they reside in. If multiple
files specify the same binary type name, the entry in the file with the lexicographically latest name will be applied.
If the administrator wants to disable a configuration file supplied by the vendor, the recommended way is to place a symlink to /dev/null
in /etc/binfmt.d/ bearing the same filename.
EXAMPLE
Example 1. /etc/binfmt.d/wine.conf example:
# Start WINE on Windows executables
:DOSWin:M::MZ::/usr/bin/wine:
SEE ALSO
systemd(1), systemd-binfmt.service(8), systemd-delta(1), wine(8)
NOTES
1. binfmt_misc.txt
https://www.kernel.org/doc/Documentation/binfmt_misc.txt
systemd 208 BINFMT.D(5)