CentOS 5 Hardware :: How To Compile Filename.c Into Filename.o
Nov 20, 2009
I've installed ethernet adapter, it is made in china from a manufacturer called FOX. The driver for that adapter is supported for sco linux kernel version 2.4.x and 2.5.x .However, I'm using Centos5 but the OS didn't recognize the adapter alone, so I'm trying to follo instructions on the driver on the attached CD.
The CD contains file named "SC92031.c", the instructions tell me to do the following "Compile the driver source files and it will generate sc92031.o"
View 8 Replies
ADVERTISEMENT
Jan 23, 2011
$ uname -a
Linux a 2.6.35.10-74.fc14.i686.PAE #1 SMP Thu Dec 23 16:10:47 UTC 2010 i686 i686 i386 GNU/Linux
$ lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch
[Code].....
How can I set a pattern that will output a filename equal to the original filename? E.g.
something.mp3 → something.ogg
And why isn't this implemented in SoundConverter?
PS: {Filename} doesn't work.
View 1 Replies
View Related
Apr 23, 2010
What is the difference between filename and ./filename? Under what circumstances is one preferred to the other?
View 5 Replies
View Related
Apr 6, 2010
I need to split a filename into its filename and extension, so I can append a datestamp to the filename. I'm using bash.
View 8 Replies
View Related
Nov 22, 2010
what is the difference between <filename>.rpm and <filename>.src.rpm?
View 2 Replies
View Related
Nov 18, 2009
How can we convert a dynamic library (filename.so) to a static library (filename.a) using gnu gcc . Can we get a static library form a dynamic library . I saw a few post in which the conversion form a static library to a dynamic library is mentioned but, unfortunately, not the other way.
View 4 Replies
View Related
Oct 16, 2009
I have installed Centos 5.3 64 bit version and run yum update so the system is up to date. However, I have noticed the kernel version that is installed is:
uname -a
Linux elektra.chemresearch 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
and when attempting to install from ATrpm.net the nvidia driver I get this message:
yum install nvidia-graphics169.07 nvidia-graphics169.07-kmdl-`uname -r`
...
Missing Dependency: /boot/vmlinuz-2.6.18-164.2.1.el5 is needed by package 1:nvidia-graphics169.07-kmdl-2.6.18-164.2.1.el5-169.07-94.el5.x86_64 (atrpms)
Now, yum says the kernel is up to date so how can I get the nvidia driver rpms to install? The entries in /boot are:
vmlinuz-2.6.18-128.el5
vmlinuz-2.6.18-164.el5
I have checked to make sure that the update repo is enabled. There were quite a few updates applied after the initial installation and the initial kernel was updated as the yum log indicates and also the entries in /boot.
View 7 Replies
View Related
Oct 28, 2010
i have filename like the following
1_40_37573.dbf
1_41_37573.dbf
1_42_37573.dbf
[Code]....
actually i want to extract the substring between 2 underscores
e.g. in case of 1_40_37573.dbf i need 40 and in case of 1_101_37373.dbf i need 101 and so on
View 8 Replies
View Related
Apr 21, 2011
I have some school work that involves creating a script that creates a backup of my /home folder, everything goes well but the problem is with the filename.
I am supposed to create a .tgz with the filename : hostname-day-date-HH:MM:ss.tgz
The .tgz gets created with the correct filename but when I try to unpack it the filename can't be resolved, it's the : that mess things up.
View 2 Replies
View Related
Apr 12, 2011
I've been googling for this, but can't find if grep can do this, or how to use a second command.
I need to find all the files recursively where a given word is found, but since it can be found more than once in each file, I'd like to only get the filename once, to keep things clear, eg. looking for "vfork":
Code:
grep -R vfork *
...
configure: is told about this with #include <vfork.h>, but some compilers
configure: (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
configure: clobbered by the vfork. */
View 4 Replies
View Related
Jan 18, 2010
tail -f <filename> is not working as planned on my Ubuntu 9.10, it doesn't show the appended data.tail -F works, but it does not append the new line, it reopens the file with the message: "tail: <filename> has been replaced; following end of new file"
View 4 Replies
View Related
Jul 8, 2011
I'm trying to change the date of the following text file from 1970 to 2011 (I have 500 text files to rename). Can Ubuntu do this natively or will I have to speak to the "Script Guru's"?
TG.ALISISPOASDLDSIASI-1970-2d938787212.txt
View 6 Replies
View Related
Mar 7, 2010
How does a filename is mapped to its inode ??? If I want to make our own system call and use a filename as argument how can I get its inode ,if I want to use some of member of inode structure in code. Basically I want to get the fd of the file.
View 5 Replies
View Related
Feb 10, 2010
I set up environment according to BareMetalProvisioningBestPractices document, I think everything should be ok. Now trying to plug in new virtual machine for PXE install Linux. But something is wrong, DHCP waits couple of seconds, and then I receive:
PXE-E53: No boot filename received
PXE-M0F: Exiting Intel PXE ROM.
I think, all services required are started.
dhcp.conf on boot/stage is:
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
[Code].....
pxelinux.0 was taken from RHEL4, but I've got image and trying to boot RHEL5. Maybe there is something?
View 6 Replies
View Related
May 7, 2010
in directory a_dir, have a file named a_file.i can type "source a_file" under directory a_dir and execute successfully.but if i write the command to a Makefile under directory b_dir, the "source" function can't be executed well. it will generate some error message like this:
./a_file: line 1: setenv: command not found
./a_file: line 2: setenv: command not found
./a_file: line 3: setenv: command not found
./a_file: line 5: setenv: command not found
View 3 Replies
View Related
May 27, 2010
I have to extract last number from filename.
ex- my file name is a10b8c1000
so i want to extract 1000 from it.
i tried using sed
sed 's/[a-z][0-9]*[a-z][0-9]*[a-z]//g' a10b8c1000
but sed looks for content inside file.
View 8 Replies
View Related
Feb 25, 2011
I would like to remove a part from wiz_khalifa-black_&_yellow-(82_bpm).mp3
The part to be removed is -(*_bpm)
so that makes wiz_khalifa-black_&_yellow.mp3
Also a problem is that sometimes multiple "(" occur in a filename (wiz_khalifa-black_&_yellow-(remix)-(82_bpm)), so how can i only remove from the last "("
View 11 Replies
View Related
Apr 25, 2010
I have just re transcoded a bunch of avi's. to tell the new ones from the old ones I put '[xvid]' at the end of all the new avi's. but now I have deleated the old avi's I want to remove the [xvid] part of the file name. This is what I have so far
Code:
#!/bin/bash
for name in *.avi
do
newname=`echo "$name" | tr -d [xvid]`
[Code]...
View 10 Replies
View Related
Jun 6, 2010
I have downloaded torrent from some chinese tracker. It has ???? and some other symbol charaters in directory name. How to delete that file and directory?
View 5 Replies
View Related
Aug 22, 2010
Is there a way for me to rsync two directories comparing only filenames (and not file size, date modified, or any other criteria)?
View 2 Replies
View Related
Apr 2, 2010
How to make sure that when I save a pdf file, the file extension .pdf appears in the filename? Its a silly little thing, but annoying. The file browser recognises it afterward as a pdf file though, it opens with document viewer ok.
View 9 Replies
View Related
Aug 17, 2010
I'm trying to mount a windows share (that mac users use) using:mount -t cifs //x.x.x.x/Graphics /mnt/graphics -o username=x,password=x,iocharset=utf8.It mounts ok for the most part, but where the mac users put bullets in front of their file names, ubuntu displays questions marks. I've tried this without the iocharset as well and same result when I execute ll -l.
View 1 Replies
View Related
Oct 2, 2010
Brasero is a great application in general, but one thing has always annoyed me: When I rip a disc to an image file, it is always called "brasero.iso" by default. Is there some way I can configure Brasero to automatically use the disc's volume label as the *.iso filename? I'm tired of having to type a filename each time, or else go back later, figure out what it's an image of, and rename it in Nautilus.
View 1 Replies
View Related
Nov 2, 2010
I'm currently trying to organize a media server so that things will be in some kind of logical order rather than the current setup of dumping everything of a certain content type into a single folder. However, the size and diversity of content within these disorganized folders precludes me doing things manually. Does anyone know of a program or script that could sort the files into folders based on part of a filename
View 7 Replies
View Related
Feb 6, 2011
Ubuntu 10.04 Guest in VirtualBox
I'm trying to delete a file called
Code:
springlobby_config.h
I've tried:
Code:
rm -i *
which gives me:
Code:
rm: cannot remove `springlobby_config\.h': No such file or directory
Tried to rename it:
Code:
mv * abc
which gives me:
Code:
mv: cannot stat `springlobby_config\.h': No such file or directory
I don't think it's a permissions issue because usually the terminal would say permission denied, but perhaps I'm wrong.
View 9 Replies
View Related
Feb 7, 2011
I have found a Nautilus script that is able to copy the path of a file(e.g. /home/#&*@^/name_of_file.jpg) & I do use it regularly but I would also like to have a Nautilus script that would copy just the filename, not the path. Is there any Nautilus script out there that could do that?
View 1 Replies
View Related
Jun 23, 2011
Is there really no way of having with a GUI an indexed file search by filename (not contents etc) which gives a detailed list? Great big icons as a "result" is no good to me, I want "details" that I can then click on to either open or copy etc. I tried the totally useless "Tracker" and Zeitgeist in my 11.04 is no better. There is a fantastic product in the win environment called everything.exe which does exactly what I want. I cannot be alone in this type of requirement. It has to have a GUI.
View 9 Replies
View Related
Oct 19, 2010
I have a directory that has a large number of files, around 1.5 million at this point. If I go to the directory and type in "ls filename" for a filename that I know exists, ls just hangs. I have let it run for over 20 minutes and it never does anything. Up until yesterday the directory was working fine through samba serving up files, but now it doesn't return anything. How to proceed from here?
View 7 Replies
View Related
Nov 18, 2010
What I have done wrong with my escaping here:
Code:
The original filename is:
Code:
View 4 Replies
View Related
Mar 23, 2011
I run 5GBFree.com a free hosting site. As you can imagine, it gets quite a few people signing up to abuse the service.Recently I've found a LOT of people setting up sites with a particular script that floods forums and IRC chat rooms. The names of the files are as follows:
peindom1.php
peindom2.php
peindom3.php
peindom4.php
Is there a command I can run to remove files with these filenames ANYWHERE on the server (so basically, a command to go through all folders on the server and remove instances of that name
View 14 Replies
View Related