Search Results

Search: Posts Made By: daflore
33,559
Posted By daflore
ubuntu 10.10 maverick meerkat bash shell ...
ubuntu 10.10 maverick meerkat

bash shell

all of the files have the same extension that needs to be removed

---------- Post updated at 11:04 AM ---------- Previous update was at 11:02 AM...
33,559
Posted By daflore
removing the filename extension
Is there an easy way to strip off a filename's extension?

For example, here's a filename:

blahblahblah.thisisok.thisisnotok

I want to get rid of .thisisnotok from the filename, so that...
11,340
Posted By daflore
string tokenizing
I have a string that looks like this:

blahblahblah_^substring^_blahblahblah

I need to extract substring, the bit between the ^ characters, into another string variable. This will be in a bash...
Forum: Programming 07-29-2010
2,492
Posted By daflore
searching files for hex or oct values
I have a set of files without extensions. How can I programatically tell if a file is in gzip format? The gzip file format spec

RFC 1952 GZIP File Format Specification version 4.3...
5,055
Posted By daflore
determine file type by content, not extension
I have a directory structure with multiple sub directories. Within each directory, there are files without extensions. Is it possible to somehow tell what the file type should be by the file...
4,019
Posted By daflore
sorry - kubuntu 9.10
sorry - kubuntu 9.10
4,019
Posted By daflore
initializing a blank hard disk
I have a blank hard disk - no partitions, no file system, no label, no nothing - that I need to reuse. In a shell script, how do I get it to where I can write data to it again?

I've looked at the...
104,987
Posted By daflore
thanks for the help
thanks for the help
104,987
Posted By daflore
checking to see if a service is running in a shell script
How can I tell, in a shell script, if a certain service is running? I know how to do this on the command line, but not in a script. Is an error thrown somehow that I can check?

Thanks.
5,528
Posted By daflore
Search for string in filename, not file content
How can I search for a string in a filename? For example, I want to know if a filename (not the file contents) contains the string "test".
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 09:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy