General :: Two Different Color Coding For Two Files Having .c Extension
Jan 15, 2011
In Fedora, I used the ls -l command to see the directory listing. But I noticed that while all .c files were being shown in green , there was one .c file which was being shown in black.How can two files having the same extension be executable /normal?
View 1 Replies
ADVERTISEMENT
May 13, 2011
Yes it's me again, about to ask a foolish question.I've ran man on this commands, but they don't make any reference to their color, nor is it mentioned in the Bible. As I go through such as /sbin what does the color of the commands mean, like arch is green, awk is blue, and then there is those that have a red background such as cgexec?Then I go into /etc and then there's yum.repos.d there is no man for it, so I typed it in and got "command not found", so then I went in SU mode and "vi yum.repos.d and I get "yum.repos.d" is a directory,No such file or directory. So just what is yum.repos.d, I thought this is where I add more repositories.
View 3 Replies
View Related
Mar 19, 2010
I'm working on RHEL5 dealing with AS (ActionScript) files in Linux GVIM Editor but everything is in blue color. Can i set color coding for my keywords?
View 3 Replies
View Related
Apr 27, 2011
I'm doing some shell scripting in nano, but code is much simpler to read when is color coded.... is there a terminal editor that supports color coding?
View 3 Replies
View Related
May 9, 2011
Suppose there is a directory named mydir containing ...
aaa.cpp
aaa.h
bbb.cpp
bbb.h
Makefile
a
b
Where a,b are executable files. What I want to is to only copy a and b to another location. Is it possible? (other than by manually issuing copy a,b another_dir).
View 2 Replies
View Related
Nov 10, 2010
how to run a command on all files with the same extension in a directory like this:
Code:
tex breqn.dtx; tex empheq.dtx; tex flexisym.dtx; tex mathstyle.dtx; tex mathtools.dtx; tex mhsetup.dtx; tex xfrac.dtx;
but in a simpler manner? I found this: Code: find . -type f -name *.dtx -exec tex {} ; but isn't there something simpler?
View 4 Replies
View Related
Dec 30, 2010
I am trying to find a command which will copy all the files in the folder with extension ".log" which is created one day before the current date. By going through other threads in this forum I found the half solution to this problem
find /mnt/hd -mtime -1 -exec scp {} /mnt/usb ;
This command copying the all the files created one day before(not only *.log) to the /mnt/usb folder. what is the modification required to above command.
View 5 Replies
View Related
Oct 25, 2010
I am trying to configure logrotate on APP/DB servers.As per my backup policy,logs will compress in daily basis and and will be moved to a Central storage device.
My tomcat generate several application logs with date extension as well as .log extension.For eg app.log,app.log.2010-10-23-14,catalina.out,catalina.2010-10-25.log etc.
Currently my tomcat logrotation /etc/logrote.d/
#cat /etc/logroate.d/tomcat/
/usr/local/tomcat/logs/*log {
[code]....
But its rotating logs only with .log extension..ie app.log.2010-10-23-14 (with date extension) is not rotating.If i put "*" instead of "*log",its rotating all files including rotated files. How can i rotate files which is having date extension.Also i dont want to keep rotated logs for more than 3 days.
View 1 Replies
View Related
Apr 23, 2011
I want to install Forms & Reports Developer Suite in Linux OS So I have downloaded Oracle Developer Suite 10g for Linux (Including Forms & Reports)
as_linux_x86_ids_101202_disk1.cpio
as_linux_x86_ids_101202_disk2.cpio
So in the Oracle Documentation Site they have given Guide as Follows:
To extract the cpio file,
move the cpio file to an empty directory,
then do:
cat filename.cpio | cpio -icd ....
but its not extracting.
View 7 Replies
View Related
Apr 18, 2011
I need little help. I want to find all files with extension "*.tar" "*.gz" and "*.zip" and move all those files into "/opt/old" directory. I've tried this command:
Quote:
find . -type f -name "*.tar" "*.gz" "*.zip" -print0 | xargs -0 -r mv /opt/test
It's not working, something wrong after "mv" i guess.
View 10 Replies
View Related
May 10, 2010
Want know the location of the Clamd service database, and also know the extension of these database fies.
View 2 Replies
View Related
Mar 17, 2010
i want such a shell script or single line command to delete all the files with extension specified in script i have bash !! ex... delete all files of extension .obj
View 4 Replies
View Related
Jul 10, 2011
I have 1000 jpg files in which all have a white background. Is is possible to change the white background color to red (for example) of all the files in order not to have to do it one by one ?
I would prefer to use Linux but I can handle Windows.
For example, change this Logo with white background to red background.
View 1 Replies
View Related
Jun 14, 2011
Kernel 2.6.21.5, Slackware 12.0
KDE 3.5.7
(Mozilla) Firefox 2.0.0.4
Do color settings in the desktop environment affect color in the web browser? Thanks.
View 2 Replies
View Related
Sep 21, 2010
how to convert mp3 files into files with the m4a extension? Need to get music files to be recognized by my DSi.
View 4 Replies
View Related
Feb 24, 2011
I want coding of packet sniffer that runs on red hat and use c++ language.
View 2 Replies
View Related
Jun 15, 2011
I was asked to do a project on channel coding with different techniques. FEC, ARQ and Hybrid. Does NS2 support such coding?
View 2 Replies
View Related
Apr 4, 2010
I am trying to see how programs for cdroms use reed-solomon coding. I looked in the site lxr.linux.no , but couldnt get anything there, too much details present.
View 2 Replies
View Related
Jun 15, 2010
writing multi threaded programs in C,C++.
View 3 Replies
View Related
Jul 21, 2010
I need a tool to convert lots of C codes to a unified coding style. What tool can I use in Linux ?
View 1 Replies
View Related
May 8, 2011
any utility to search for a file of a particular extension like search for all .txt files only
View 1 Replies
View Related
Mar 8, 2010
I want to search a Windows partition for all .doc and .xls files and move them over to Xubuntu to burn them to CD.
Is this easiest to do via terminal? I tried to use catfish and select all files, but I think my Mac keyboard (and USA standard keyboard settings) threw the select all files ability.
View 4 Replies
View Related
Oct 12, 2010
i am using ubuntu 8.04 and am trying to install a file with a .bin extension so opened the terminal and typed ($ chmod +x typingmastermac.bin )then the computer gave me this (bash: $: command not found). so i am not aware what to do next though most articles i have read about the topic tell me that that is supposed to be the first step in installing a file with a .bin extension. better way to install the typingmastermac.bin file.
View 12 Replies
View Related
Nov 18, 2010
I'm doing a project in Unix version Ubuntu 10.04. I'm doing an standalone app using C++(Qcreator) and GMT(generic mapping tool) so i need help in the following: how to invoke any extension files using C++?
View 1 Replies
View Related
Apr 21, 2010
I'm a relative cli noob, and I screw something up. I want to remove some files by extension only, going down several folders, while leaving everything else be.I think this might be the the right command / syntax, can someone confirm:Code:rm -rf *.exe *.ini *.!ut /path/
View 9 Replies
View Related
Jul 26, 2010
I basically want to transfer firefox settings from one machine to another (or from one user to another) which includes some extensions. Instead of running the browser and installing the extension manually, I just want to copy and paste the relevant files.
I noticed that the folder name where the 'extensions' folder is present is different for different users. And just copying to that folder does not work. code...
I'm guessing there are other configuration files that I need to modify. Can someone tell me right way to go about this?
View 1 Replies
View Related
Sep 16, 2010
I recovered some 60,000 files with PhotoRec and need a script to sort them into individual folders based on extension. I was able to do this once before but cannot find the script again (sad thing is that I probably saved it on another HD that I'm having partition issues with, but that's another story....).I found this script:
Code:
#!/bin/dash
mkdir "$1"
for file in *.$1; do
mv "$file" "$1"
done
While it does work, I am not looking forward to going through all 132 folders and typing in each extension. The last time I did it, the folder was automatically created based on the extension(s) found.
View 6 Replies
View Related
Jan 19, 2011
how to go about extracting the .inf, .sys. and any .bin files from a driver. I found the windows driver for my laptop on the HP website, but it is a .exe file. How do I find the correct file?I am using the Broadcom BCM4312 chipset, on Ubuntu Maverick 10.10 unity 32bit.
View 1 Replies
View Related
May 30, 2011
I got around 6,000 songs that I copied from my ipod to my external hard drive through rhythmbox, but for some reason it didn't copy over any extensions (all of my music files are mp3's) so I was wondering what would be a really simple way to add the extension to all the files in the music folder. My folders are setup like /Music/Artist/Album/song.mp3 (well right now there is no .mp3 but ya get the point
View 4 Replies
View Related
May 30, 2011
I have made the simple mistake of using dolphin to rename several picture files of types jpg and png. I have no problem viewing them and Ubuntu still knows which is which (if i view their properties it will state File Type: JPEG or PNG) but unfortunately Ubuntu Tweak does not allow you to chose them without the extension (I am trying to change my login background using this) So what i need is something that can scan several files, determine the file type, and add an appropriate extension to it. I have found several to do so for music files but none for images. I am using Ubuntu 11.04 at the moment.
View 5 Replies
View Related