I have a directory on a Solaris box that has 58 files written to it every 15min. They have a non standard date as part of the file name but always have another name with it. I need to check that directory for files created within the last 15min and then port the results to a log file. There are thousands of files but should only be and up to 58 within the last 15min.
I need a shell script which finds files which are created 1 hour before or 1 hour after a particular file (test.txt) was created.
I have a .iso file under linux and have been trying to find a way to change the volume id without having to recreate the .iso file. Most of the authoring tools such as mkisofs provide a switch for setting the volume (-V) for example. However I can't figure out how to change it on a pre-existing .iso file.
For clarification, the bit I'm trying to change is this Volume id: string.
Hi Folks,
I have one query that there is a folder in which daily several logs files are getting created , I reached to that location through putty but what I observer that 10 files of different date are been created with same name , what I need to see is the latest file ...let say the location is
cd /var/logs
at this location I see ten different files of different date with same name say abc.lo
An NTFS volume might sometimes misreport free disk space. This primarily occurs since NTFS supports several file-level and volume features. To solve such problems, you might need to reformat the volume and use backup to restore lost files and folders. One should use file recovery utility in case if backup fails to restore.
Hi,
I have used this
Code:
find .
I have created a signed .apk file and I've followed all of the steps (Created Keystore,Password and validity yrs,etc...) and I have an .apk file.
When I install this to any mobile device, it shows the installation failed, so I checked the apk file.
It contains only
META-INF Folder
classes.dex.
I'm unable to find the other files.
Pid files not created in /var/run folder.
rc.d script:
#!/bin/sh
. /etc/rc.subr
name=phpcgi
rcvar=phpcgi_enable
pidfile=/var/run/${name}.pid
command=/usr/local/bin/php-cgi
load_rc_config $name
run_rc_command "$1"
it's working fine but the problem is with pid file. it can not find it when i try to "service phpcgi stop". permissions are correct. how can i fix it ?
I'd like to know if there's a CLI command to get the "Created" timestamp from the "Document" tab (from file properties of a PDF) in the CLI?
I know that I can use stat to get Access/Modified/Changed info from the filesystem, but with the meta-data in the "Document" tab being embedded in the file itself, I'm not sure how to go about extracting it via the CLI.
The reason I need to do this is to cr