I have over 100 shell files in a directory and some of them do not have mandatory keyword in code like "Author" in there.
How do I find file names where specific keyword is not existing in any of the scripts in folder?
Example given below was used to find filenames when Keyword existed. Any...
I have ready my sites/posts about simiral issues but wanted to have my question addressed to be sure that I am not under the wrong impression.
Objective is just to learn MS .NET 2.0 programming using C-sharp and SQL SERVER 2005, I am thinking of buying a computer. I am under the impression...
Hello,
Just last night, I downloaded suse linux 9.3 pro and installed on computer sharing windows 98se. Installation went smooth. System was restarted and I have got 4 options when I boot - Linux, Windows, Floppy and Linux (failsafe).
If I goto linux (not the failsafe option) it shows doing...
How would I find the shell file names and corresponding owner, while files are in many subdirectories?
I can see all the files with ls -lR and use Excel to format the output, but I want to do it in UNIX alone, and this is what output should be
./this/is/the/path/filename.sh owner
Thanks in...
I've seen many articles on WEB explaining how to generate thumbnail images from filesystem and display on web.
I have existing MS Access DB that has many images, and I want to display thumbnail images of those ones on webpage, once clicked display the actual size image.
Has someone used this...
How can I select files when I do ls -l for specific group?
I want to select only grp1 files (file1.sh and file2.sh)
-rwxrwxrwx 1 own1 grp1 98 Oct 10 11:57 file1.sh
-rwxrwxrwx 1 own1 grp1 98 Oct 11 11:52 file2.sh
-rwxrwxrwx 1 own1 grp2 98 Oct 12 10:45 file3.sh
-rwxrwxrwx 1 own1...
Hello,
I have over 200 .txt and .ksh files in a directory having keywords like Revision, Author, Date etc.
Some of the files do not have these keywords in them, and some have 2 out of 3.
I want to identify files that are missing keywords in them.
I could do following to find where its...
I want to move files from my source directory to target directory, and want to make sure that user is moving from designated directory, like from /dev/prj1 of source to /dev/prj1 of target.
How can I get last 2 directories /dev/prj1, considering directory path length may change. I want to start...
I have one generic acl infile defining base and extended permission for a generic user, that I want to use for multiple users. I will be dynamically changing genereic userid in exteded permission to required id (user1)as -
cat acl_generic_file.txt | sed -e 's/geneicid/user1/g'
Now this...
In a shell script, I am applying ACL as follows:
aclput -i acl_file.txt $targetloc/$srcfile
and acl_file.txt looks like this -
attributes:
base permissions
owner(prj1): rw-
group(grp1): r--
others: r--
extended permissions
enabled
permit r-x u:ftpid
Question is-...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.