Summary: Does anyone know how to run backup without having it return an error (>0)if it encounters an open file. Currently I am doing the backup by "find . |...
Summary: I have a unix volume(AIX4.2) mounted on NDS Netware 4.1. and mapped to a drive. In windows 95 or NT4, i can open text/csv etc files in wordpad, but to...
Summary: How can I find the open files in Unix server? I have 20 Win XP machines connected to Unix server. I want to know which user has what files open? Appr...
Summary: I'm interpreting that you want to find all the files with two spaces in the name and rename them to one? There's no need to escape the spaces, and you...
Summary: T.T. I'm assuming you want to copy files with a creation date of May 13. The 6th and 7th fields of the 'ls -l' command are the month and day: #!/bin/...
Summary: Greeting. I need to concatenate all the files with similar File names. For Example, I have 5 files, 1_100 2_100 3_200 4_200 5_300 Now I need to have 3...
Summary: In a ksh script I get a file with a path from another program. I need to create the file and it's directories. I know mkdir -p can make the dirs but h...
Summary: Hi, I am trying to write a unix shell script that will scan a directory - find a file with the lowest sequence number and kick of a process with that ...
Summary: You can't have two files with the same name. The OS won't allow that. Apparently there are hidden characters in one of the file names. That also hap...
Summary: Thanks, fellas. Just a couple of problems with these though. The first solution lists files with *.extension. The last two list directories along w...
Summary: What I am trying to do is to move the old files in our system to a new archive forlder, these old files are ended with a date extension, which is in v...
Summary: Open vi with the command: vi Once you have vi open, type: :set directory=/bigfilesystem # where bigfilesystem is the name of a filesystem that has o...
Summary: Hi, I was wondering if anybody knew how to make a shell script that will make a backup of a file example (mv out out.bak) but the next time you run th...
Summary: Hi, Can anyone tell me how to write a Unix ksh script to open a file (path provided) and assign a value to a variable in the file and then save the fi...
Summary: Hi all, I am writing a code in C, I want to read certain records from a file, and I want to skip some bytes with certain long. For example, skip(4 by...
Summary: find mydir -type f ! -name "*.*" Above command will search mydir directory tree for all regular files (will ignore directories, links etc) and that do...
Summary: In Bourne shell, is it possible to get the read command to include trailing spaces when reading from files? For the script below, the source files HEA...
Summary: The init.ora file for the database has a parameter called utl_file_dir which is a list of directories that plsql can access. You need to do an ascii t...
Summary: Well I tried it again here at home and still couldn't get it to work. While doing more research, I found a windows based text editor that allowed em t...
Summary: Hi! I have two questions. It's already 1.15 AM :( can't solve it. May be somebody will help? 1) Write a sript caled smartrm which will accept an unlim...
Summary: I must have been sleeping will typing the previous example (a good reason to actual test the code before posting). If forgot: - to declare i - to put...
Summary: There are many ways to handle backups. It really is site dependent, the type of systems you have, amount of data to backup, etc. If your new to unix, ...