Summary: Hello what is the unix command to create a binary file of arbitrary size ? I used it before but I forgot the command name. Pls send your reply to my e...
Summary: Hi: There's a little known device called /dev/zero which can quickly create a file of known size. This command: dd if=/dev/zero of=myfile bs=1024 cou...
Summary: I know that this command find . -mtime -1 -print will bring me back all the files that have been created/modified within the last day... My question i...
Summary: Hi all, What I need to do is very simple :) I just need to run a script every hour to check on a certain directory on the HP-UX server we have e.g. /t...
Summary: Hi All, Im trying to write a script to archive files based on the date the files were created. For example, if a group of files were created on 23rd A...
Summary: This script will create files named 100, 200 and 300. I put the 400 in there to demonstrate how to handle no files. This script will work with the e...
Summary: Hi All, My unix knowledge is very primitive. I am having difficulty to write shell script using which I can find new created files after some specific...
Summary: Hi, I too am a 'newbie' at scripting. This is a problem that I have been stuck on for a while. I have a script that is creating files from another...
Summary: I have a script that I wat to set some variables from an external file. The file, "x", has entries such as : 1 2 3 I want to set the variable in my s...
Summary: Hi, I am not Unix guru, so I need a little help here please. I have created two simple scripts, one which will basically backup a data directory onto...
Summary: Ya dear I tried the upper suggestions , but i still find files older . eg. I wanted to see created files after 4 april 2002. but it also shows me fil...
Summary: Files of type: int_ddmmyy_hhmmss.csv are placed on a staging area directory & say, contain records of subscribers and their payment types. The first l...
Summary: The solution above would find files system-wide that have been created or modified in the last 24 hours. If you want to target a specific directory, t...
Summary: Can create files w/ Time/date stamps from the shell (touch file_`date +%Y%m%d`) but this does not work when the same command is entered in the crontab...
Summary: I am reading a file where contain all the file names eg filenames.txt. each line of filenames.txt contains a name and i am creating different files us...
Summary: Sure, the destination of the sed command should work: ..... > /DONE/"${1}" provided you have permission to write/create files in the DONE directory. ...
Summary: I ve found on internet a message about problem with redirection & NFS under Linux . It seems to be the same problem . My shell run correctly under PTX...
Summary: Sorry it took so long to get back to you. You can try this method: csplit -ks -f xss bigfile '/^$/' {9} rm -f bigfile ls -1 xss*|while read y do ...
Summary: You'll want to change the home directory so that it is owned by user rather than root. Then you can put whatever you want in there. For this example,...
Summary: I am tryin for keyword Created with the grep tried this but didn't work if [ `grep $xxx|Created files | grep -i $UserId` -gt 0 ]; then Mail ****@***.c...
Summary: Hi, I am trying to extract the lines from an audit log file that contain user input date and user input userid. The following grep is working fine, b...
Summary: James, I hope things are well. I've had another thought and have come up with this, however I must warn you to make backups first. Create file /etc/rc...