General :: Color Coding Within Directories

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


ADVERTISEMENT

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 View Related

Red Hat :: RHEL5 Gvim Keyword Color Coding?

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

Ubuntu :: Terminal Editor With Color Coding Support?

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

General :: Desktop Environment Color Settings / Do They Affect Web Browser Color?

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

General :: Coding Of Packet Sniffer ?

Feb 24, 2011

I want coding of packet sniffer that runs on red hat and use c++ language.

View 2 Replies View Related

General :: Does NS2 Support Channel Coding

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

General :: Reed Solomon Coding In Cdroms?

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

General :: Regarding Coding Multi Threaded Applications In C/C++?

Jun 15, 2010

writing multi threaded programs in C,C++.

View 3 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

General :: Any Tool To Format My C Code To Unified Coding Style?

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

General :: How To Store Files / Directories In Different Different Directories?

Mar 23, 2011

I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.

for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files

like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!

View 7 Replies View Related

Ubuntu :: Can GNOME Color Be Used To Alter Ambiance Theme Color?

Jan 12, 2011

Can GNOME Color be used to alter this change directory color in Ambiance theme? I'd rather have white.

View 4 Replies View Related

Software :: Screen App / Retain BG / Color Background Color Gets Lost

Jul 6, 2009

I am using the screen app, and have set bce to on, and issued the following commands to set my background and foreground color: tput setab 4; clear; tput setaf 7; clear;

This temporarily sets everything properly on my screen. However, when I issue any commands that change or set their own background color (for example, when I issue an "ls" command with colorized output), the background color gets lost for any new output and I have to reissue the commands listed above in order to retrieve my background color.Ideally I'd like to keep my background color when issuing these commands, as it serves as a good way to remind me of what environment I am currently issuing commands in.

View 1 Replies View Related

Programming :: Favorite 256-color Vim Color Scheme

Feb 25, 2011

What is your favorite 256-color color scheme for vim?

View 6 Replies View Related

Ubuntu :: Ping - CPU - Memory - Coding ?

Aug 3, 2011

I am writing a script that will ping a server and then do a command if it gets a ping that is less than 100ms or more than 100ms. Basically, I need to have a variable for the ms.

Here is an example script.

Code:

Now, all I need to do is get a variable from the ping. I know I can do this:

Code:

But that just sets the whole line, I only want the ping, without "ms" at the end.

So basically, if I ping 25.25.25.25 and get 43.872 ms I want $pingms to equal 43.872.

Also, how can I do this with free, for example:

Code:

I want $ramavail to equal the amount available and I want $ramtotal to equal the total amount.

View 5 Replies View Related

Programming :: Unzip The *.bz2 File Using Php Coding?

Nov 29, 2010

Below is my code to create *.bz2 file.

<?php
//Moving file to temporary directory for compression
move_uploaded_file($_FILES["file"]["tmp_name"],"c:/" . $_FILES["file"]["name"]);
$url="c:/".$_FILES["file"]["name"];
//File compression

[Code]....

Anyone know, how to unzip the file ? I've tried the above code to unzip it but it creates only 1kb of file for any files.

View 3 Replies View Related

Ubuntu :: Gedit Has Not Been Able To Detect Character Coding?

May 6, 2010

I recently downloaded Metasploit framework for ubuntu but i got an error which says could not open <file location>

Saying gedit has not been able to detect the character coding. Check that you are not trying to open a binary file.Select a character coding from the menu and try again

View 9 Replies View Related

Programming :: Coding A Sniffer Program For Windows ?

Feb 11, 2010

What sort of libraries can i use for coding of sniffer program for windows and linux? The sniffer that i want to code is for capturing the list of connected clients to AP wirelessly. I do know that the wireless NIC needs to be in 'monitor' mode in both windows and linux.

View 4 Replies View Related

Programming :: Perfect Example Of Improvements In C/C++ Source Coding?

Sep 11, 2010

[URL]...In this bug, you'll see that I actually fixed my own problems that surfaced when building GNOME Shell from source.

View 1 Replies View Related

Ubuntu :: Can't Find Zen-coding Plugin After Installed In Gedit

May 2, 2010

Zen-coding is a great gedit plugin for html & css development.I download the files and unpack them into ~/.gnome2/gedit/plugins/.After open gedit I can't find zencoding in the Gedit Preference.

View 9 Replies View Related

Programming :: Coding Dilemma: Build Application With PHP Framework?

May 7, 2009

I've been a PHP developer for about 6 years now - the last two years I have been pretty inactive though. Just recently though, I have been reading resources on all the different programming patterns (Factory, Singleton, Registry, Observer, MVC, etc) to try and get my head around good programming techniques. For myself though I find that I can only truly understand how these methods work when I am forced to do them myself.I have a large project I am doing at my workplace (me only) that involves building a very complex PHP application.

I would like to know your professional opinion; should I spend the extra time to program this PHP application myself and really, properly learn all these different programming patterns? Or, should I just build on top of a PHP framework like the Zend Framework for speed's sake (and flexibility/features)?

I have found understanding exactly how the Zend Framework works hard, just because I haven't been exposed to using these programming patterns myself. I hate that - I want to fully understand exactly what is happening in my application and know exactly how each part relates to others.

View 2 Replies View Related

Programming :: Java Coding To Use Call The Bash Script?

Oct 31, 2010

i am using front end as java and back end RHEL5.i am trying to calling a bash script with java. but i am facing problem.i am using following java coding to use call the bash script

import java.util.*;
import java.io.*;
public class b

[code]....

View 4 Replies View Related

Ubuntu :: Auction Arms Website - Program Error Coding

Apr 16, 2011

Can I get someone that is using Ubuntu/Lucid and Firefox as browser to run a test for me? Can you go to this website and then type the either the word "HIGH" or the word "LOW" in the search box and then tell me if you get the same bunch of program error codings that I get when I try this ? Want to see if this is a problem with just my computer setup or with the websites programming. [URL].

View 2 Replies View Related

Ubuntu Installation :: Clever Coding In 10.04 / Get It Back To Where It Is Not So Bleeding Edge And Broken?

Oct 10, 2010

I hesitated on the title, generally can solve problems w/o this (20+ year *nix/linux experience).

hardware Dell 1505, ATI X1400 (nVidia went south replaced with ATI, used at this stage of life for this laptop).Acer x221w external monitor.

Recently upgraded to 10.04 (should have waited, but hadn't upgraded in a long time).

No real fixes found for the ati X1400 in searches (fixed it on 9.04 and 9.10).

So to troubleshoot, wanted to go to console mode, and start X manually and hopefully debug the config to get the thing working.

So, I get ready to take it down off of X only to find, there are no more consoles???

To work this out and to even come to an end result, when X does not work, you need a console to debug it. There is code in /etc/init.d/console-screen.sh for starting consoles...

Yet they do not start, notices some comments about doing it 'clever' in there, all I can say is 'clever' is more risky than workable, it worked before, why change it? It did not make it better, it made it harder, so now, to get it to work, I have to go debug someone else's 'clever' code? BTW, there are 'getty' running - but still no console.

Not so clever... We need a fix to get (at least at this level), the consoles running, so, where are you 'clever coder', tell us how to turn them back on.

Why in /etc/init/tty*.conf do they not start?

I really find it hard to say anything critical to something that is free, in general, I will not even comment, but just go ahead and find the fix myself, But to even address this, we (IMO) need pretty much a fix for the broken console access, before we can even address X in certain configurations.

A long time user of RH, even back to Yygdrasil, Soft Landing days, I was VERY impressed with ubuntu over the others for a desktop (got it on the Dell), but now, at 10.04, it has become cumbersome and broken.

It is a good product, but we need to get it back to where it is not so bleeding edge and broken.

View 1 Replies View Related

Programming :: C Coding Hacking / Ssh Dynamic Local Port Forwarding Implementation?

Feb 3, 2010

From this thread I've decided to try add a feature of removing local port forwardings in ssh.Here are some very ugly and not-yet working hacks what I made so far:

* Patch for channels.c
* Patch for channels.h
* Patch for clientloop.c

I was clearly expecting this to work without any troubles-everything seem to be logically correct, but I made a programming mistake somewhere: don't know where, maybe you will point me to this?Many sites say there is a WAY AROUND with -D param(starting socks proxy as a tunnel-generator), added since 5.2, but I don't need that way around. I need a way through. I use exact ports for exact services and if I want to change it runtime I'd like to have ability to do so.If you have other ideas or points instead of coding this, please share them here & here(original question).

View 2 Replies View Related

Ubuntu :: HP Color Printer Not Printing Black As Black, Uses Tri-color Instead?

Feb 2, 2010

I have an HP color laser printer and I am looking for a way to print black as black instead of using tri-color. For example If I print a document that has colored text then any black text is printed using the color cartridges rather then using black. I have been surviving by using windows XP in virtualbox but I'm hoping someone can help me with this. I've looked all over then net for a solution but I've found nothing. I remember having similar problems like this with older Macs because of postscript printing and I'm thinking this is the same problem but I don't know how to fix it. I've searched the forums as well but no joy.

View 3 Replies View Related

General :: Color Schemes Do Not Look Right In CLI Vim

Jun 16, 2010

I was having a bit of trouble reading the dark red strings of Vim's default color scheme, so I decided to switch to a different one. [URL]. However, when I set my color schemes to these, not only do they not come out correctly (for example, comments are bright blue), but these 2 somehow come out looking exactly the same! Am I doing something wrong, or are these colors restricted in the terminal so default colors are being chosen?

View 1 Replies View Related

General :: Color Schemes Don't Look Right In CLI Vim

Jun 15, 2010

I was having a bit of trouble reading the dark red strings of Vim's default color scheme, so I decided to switch to a different one.

[URL]

However, when I set my color schemes to these, not only do they not come out correctly (for example, comments are bright blue), but these 2 somehow come out looking exactly the same! Am I doing something wrong, or are these colors restricted in the terminal so default colors are being chosen?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved