General :: Set Ls To Return Colored Results By Default

Sep 14, 2011

In my .bashrc I have the following lines to turn on colors for grep and ls alias ls='ls --color=auto'export GREP_OPTIONS='--color=auto'.I've tried changing the alias to export LS_OPTIONS='--color=auto' but that doesn't work.Is there anyway to use an export instead of alias. And are there actually any benefits to one way over the other?

View 2 Replies


ADVERTISEMENT

General :: Tomcat - Why Does 'ls' Command Return Some Results In [squarebrackets].jar

Nov 25, 2010

Below is an example output of what I see when I run the 'ls' command on some directories in linux (this is from a tomcat/common/lib directory). However I'm not clear on why some of the filenames are appearing inside [square brackets]

-rw-r--r-- 1 root root 1038825 Aug 30 2006 [ant].jar
-rw-r--r-- 1 root root 566376 Apr 1 2008 [commons-collections].jar
-rw-r--r-- 1 root root 107392 Aug 18 2006 [commons-dbcp].jar

[code]...

View 2 Replies View Related

General :: LDAP: Ldapsearch Can't Return More Than 500 Results; Also, Can't Find Slapd.conf?

Feb 20, 2010

If I do something to the effect of this:ldapsearch -b "dc=example,dc=com" -x -z 3000

I'll get this back at the end of the result set:
# search result
search: 2
result: 4 Size limit exceeded

The thing is is that I have way more (thousands) than what's being displayed here. And I've tried to mess around with /etc/ldap.conf, changing the SIZELIMIT directive to something else, 10000, let's say, and restarting the server, but the same goddamn thing happens.

I've been messing around with this for quite some time now, hopefully someone will be able to shed some light on this so that I can learn my way out of this mess that is LDAP. Also in a related matter, I'm running Mint (based off of Ubuntu), and all the documentation that I've seen (probably read a good 100+ pages in a few days now on this) keeps telling me to make changes to my slapd.conf file. What slapd.conf file? It doesn't exist, I can't find it at least. find / -name slapd.conf turns up nothing.

View 10 Replies View Related

General :: Lost My 4 Default Desktops / Workspaces - Return It?

Aug 19, 2010

Am new to KDE and have deleted 3 of my 4 desktops and cant figure out how to return the default. It seems like I'm gonna need a Bash command

View 2 Replies View Related

Software :: Return KDE To Default?

Mar 21, 2010

I was playing with kde, system tray and widgets. Now all system tray is gone, even if I add it I can not change its size etc. Also my other visual features have changed accidently as well. Plus I can not retrieve workspace icon (4 small windows). I want to return kde to its default setting, like first time.Dist is Slackware 13.0 64bit and Kde 4.0

View 3 Replies View Related

OpenSUSE :: Return KDE Desktop To Default

Sep 3, 2010

so I installed openSUSE 11.3 KDE and fooled around with it and the Plasma Netbook Workspaces and am now back with the regular KDE. Unfortunately something I have done has now caused me to not be able to do simple tings like change the wallpaper, or add Widgets to the desktop. Everything seems to "technically" work, so I suspect that it was a configuration somewhere that I messed up.

Is there a directory or directories I can delete and then log out and back in which will create the environment with default settings? I've done this with Gnome and Xfce when I've really messed it up and it has fixed things a number of times, but I am not sure where KDE stores their config files. I believe is it openSUSE 11.3 with the KDE version that came with it and it was installed from a LiveCD.

View 9 Replies View Related

Ubuntu :: Way To Return Default Theme In 9.10?

Apr 2, 2010

Is there any way to return default theme, in 9.10? because i have installed full mac theme and i really messed everything up, but now i'm bored, so is there any way restore everything easy?

View 2 Replies View Related

Ubuntu :: How To Return To Default Settings

Jun 7, 2010

I need the command for returning my ubuntu netbook remix (newest version) to default settings. The problem is that when I installed a theme, the next time I booted the OS the screen starts blinking and when I enter my admin password, no icons appear. My laptop is Dell 1525.

View 4 Replies View Related

Ubuntu :: Return The Desktop With Default Setting?

May 29, 2010

[URL] my desktop accidently become like this: Screenshot-1.png i can't find the favourites, internet, system, etc to start the application...what should i do to return the desktop with default setting..

View 9 Replies View Related

Networking :: DNAT IPtables - Default Gateway For Return Packages

Nov 26, 2009

Client which uses an ISP with a Linux machine (Server 1) with two network cards. Eth0 with ip 1.1.1.2 and gateway 1.1.1.1 these ip's is not public ip's and falls unders the isp's internal range, eth1 with the internal ip range. OpenVPN listen on eth0 for incoming connections. We want to connect to Server1 from external networks. Due to different reasons the isp could not get the routing sorted and give us an public ip on his network. We had to setup another bos (Server2) with eth0 2.2.2.5 and gateway 2.2.2.1 which is public ip's and eth1 with ip 3.3.3.5. Server 2 can communicate via the ISP internal network with server 1. I use DNAT to forward all incoming connections on server 2 to server 1 but the problem I have is that server uses its default gateway for the return packages and does not sent the reply back to server 2. My iptables rules looks as follows on server 2.

/usr/sbin/iptables -t nat -A PREROUTING -p udp -i eth0 -d 196.25.157.135 --dport 1194 -j DNAT --to 192.168.100.170:1194
/usr/sbin/iptables -A FORWARD -p udp -i eth0 -d 192.168.100.170 --dport 1194 -j ACCEPT

View 5 Replies View Related

General :: Saving The Results Of The Time Command While Discarding The Results Of The Command Being Timed

Apr 6, 2010

I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:

$ time ./foo > /dev/null >> output_from_time_command.txt

View 1 Replies View Related

General :: Using Grep / Awk To Search For Colored Text

Sep 17, 2010

I have done a bunch of searches on this but the terms seem to get tangled in the more popular search of "colouring the output of grep / awk". I am trying to find a way to grep/awk through the output of a command to find text of a specific colour. The command's output has a range of colours signifying too many different things to specify using text, with colour being the only form of grouping.

View 5 Replies View Related

General :: Bash - Get Colored Output When Using Tab Completion In A Terminal?

Feb 27, 2011

Is there a way to get colored output when using tab completion in a terminal? My colors are fine everywhere else so I know that I've enabled a color terminal successfully. Using bash in Ubuntu (10.10).

View 1 Replies View Related

General :: How To Send Colored Output Of Shell Script As Email

Feb 24, 2011

Regarding this task, I am able to print colored output in my putty sessions using tput or ASCI codes but whenever I tried to send that output through mail command to my outlook maillox, It always goes without colored. I need to produce those coloured output of the scripts as it is in mail.

View 1 Replies View Related

General :: Different Results In Du And Df?

Oct 29, 2010

I was checking /opt and then found something unusual. Below are the results of du and df -h,

Code:
$sudo du -h /opt/|tail -3
1.1G /opt/IBM

[code]....

View 2 Replies View Related

Fedora :: Why Are Menu Bars Colored

Oct 27, 2009

I've been playing around with some themes recently, and a couple of the murrine themes have messed with my menu bars (this isn't ONLY occuring in firefox, but occurs in every window with a menu bar).Does anyone know how to remove the colored menu bar, and make it normal?

View 2 Replies View Related

Ubuntu :: Getting Very Light Colored Text

Jan 5, 2010

I have an annoying text color problem. I don't know what to change to fix it. I have played around with System->Preferences->Appearance to no avail. Here is the problem: I am getting very light colored text so only the currently selected item is readable. The funny thing is that in Nautilus, Firefox, Chrome, Amarok, etc.. it's fine. It seems to be in only some programs in boxes with selectable line items, but also in the area that displays status updates in FileZilla. So I'm not sure how to pinpoint the problem.

View 9 Replies View Related

Ubuntu :: Getting Black Colored Windows?

Jul 29, 2011

Even though the windows look pretty good, I would love to put them back to regular white. I don't know why they are black, or how to fix them. The picture should show what i mean.

View 2 Replies View Related

General :: Different Results From Vmstat And Ps?

Jun 24, 2010

I am trying to determine CPU usage on a radio controller running Linux. We have a script that another member of my work wrote using vmstat which I could not get any consistant results from. So, in an effort to understand what was going on I wrote a script using ps. Sadley after running several tests using both scripts, they do no match up at all, vmstat always gives me a much higher value. However, if I simply run the commands at any given time they do match up, therefore I believe that there is an error in one of the scripts. I am very new to linux and so Here is the vmstat script:

#!/bin/bash
declare -i total
declare -i tries

[code]....

View 11 Replies View Related

General :: Alt-ctrl-f1 / Would Not Return To A Gui?

Aug 12, 2009

ok, I pressed alt-ctrl-f1 and it displayed my screen with a gui. I then pressed alt-ctrl-f2 and it displayed a textual desktop. I pressed alt-ctrl-f3 and it displayed the same thing. When I pressed alt-ctrl-f1 to return to my gui, it would not let me return to a gui. I was stuck in a cmd line textual desktop.

How, without restarting, do i return to a gui once I press alt-ctrl-f2??

View 3 Replies View Related

Ubuntu :: 9.10 - Colored Screen With Strange Symbols

Feb 13, 2010

I'm using Kubuntu 9.10 and I have a problem with my screen. I use the nvidia driver downloaded from the website, installed manually as I always do. I wanted to update it, but when I press ctr-alt-F1 to go to the console to stop kdm, I cannot see the usual black screen, but only a very strange blinking screen with lines and colours, strange symbols like $ & %. This happens for every F1 until F6, then F7 luckily brings me again on the graphical desktop.

I tried to install the drivers from the "Hardware drivers" manager in Kubuntu, but nothing changed. I don't know if it's an issue related to the kernel or to the driver. But I don't know how to update it without F1 console, and however it's a serious issue because I cannot do anything in case of desktop failure. The kernel is the last officially released (I don't use the proposed repos), that is 2.6.31-19.

View 1 Replies View Related

Ubuntu :: Permanently Keep Colored Shell Prompt?

Nov 3, 2010

After I succesfully instaled ubuntu 10.04 server, I applied

export PC1="[e[36;1m]u@[e[31;1m]h:w$ [e[32m"

and my prompt was nice and colorfull. But, when I make logout and login, my prompt appears all green ([e[32m.) After restart, nevertheless, it looses color settings (of course) and appears plain white.

What should I do in order to keep my prompt color settings permanently?

View 4 Replies View Related

Ubuntu :: 11.4 - Negative Colored Images In Firefox

May 7, 2011

I upgraded to Natty, some images appear in negative colours in Firefox, but not all. For example, photos on Facebook have negative colours, but not the thumbnail versions of the profile pictures do not. I have tried reinstalling Firefox in Synaptic to no avail. On another partition I have an installation of openSUSE 11.4 sharing the same /home (and therefore all Firefox settings etc), but no negative colours.

View 6 Replies View Related

Ubuntu :: How To Enable Colored Highlights In Terminal

Sep 1, 2011

I notice the colored syntax and keywords in the terminal - the green, the blue etc? I did this in my machine a long time. Now I cannot trace back to how I did this. I need to do this in a new machine right now.

View 3 Replies View Related

Red Hat / Fedora :: Get Multi Colored Text In The Terminal?

Aug 11, 2010

how do you get color in the terminal like DSL in red-hat 9.

i have red-hat 9 running on a old 3dfx gaming pc I'd post a pic of the DSL terminal but the site would not let me

View 2 Replies View Related

Red Hat / Fedora :: Different Colored Letters In Command Prompt

Feb 12, 2011

I am working with Linux red hat project for my school projects. I am in command prompt and I see different colored letters. I have words in green and words in blue. I think the blue words are directories and the green ones are files is this true.

View 1 Replies View Related

Software :: Text Is Colored Pixels During Boot?

Sep 11, 2010

I recently upgraded to Ubuntu 10.4 and, although that installation seemed to work OK for awhile, I have recently encountered a strange problem. I have a dual-boot system with Win XP and two releases of Ubuntu, 10.4 and 9.10. I installed the latter recently only to be able to run some legacy software. I believe the problem occurred sometime around or after the installation of the 9.10 package. Note that the 10.4 install was a clean install on a newly formatted HD, and not a normal upgrade from 9.10, which I installed later separately. The Ubuntu installations are on their own HD. Win XP is installed on its own separate HD.

Here's the problem. I can boot OK up to and including the appearance of the Grub 2 menu, which displays fine. From the menu I can chose Ubuntu 9.10, Win XP or several kernels of 10.4. The 9.10 Ubuntu boots completely normally, as does Win XP--no problems or irregularities with either of those. When I select one of the 10.4 Ubuntu kernels, the strangeness begins, as follows:

1.) The menu disappears, there is a brief period of blank screen, and then a bizarre screen appears. It has a violet/magenta background. The word "Ubuntu" appears in large type, with a couple of lines of text below it. However, all of the type is unreadable. Instead of being normal characters, all the text characters are displayed as blocks of seemingly random multi-colored pixels! I can recognize that it is supposed to be text, but the letters are just a bunch of colored pixels. I can recognize the large Ubuntu word because of its shape. Also, the whole text display occurs twice on the screen, one on the left and one on the right. Both are displayed as colored pixels.

2.) The screen stays there, as if frozen, and does not continue with installation of the kernel. After some experimenting, I discovered that if I press Ctrl-Alt-Del (!), the installation continues as one would expect: I soon get the normal login screen, am able to login OK, and my desktop soon appears as usual.

3.) However, once in the desktop, if I try to invoke a console window by pressing Ctrl-Alt-F1-6, the console window appears, but the text on the screen is again rendered as little bunches of colored pixels, completely unreadable. I can, in fact, login at these screens, but the text remains colored pixels. I can escape back to a normal desktop by then pressing Ctrl-Alt-F7, and the desktop comes back completely normal. Interestingly, if I invoke a terminal from the main Applications/Accessories/Terminal menu, I get a normal terminal in a desktop window that is perfectly usable.

4.) If, from the boot menu, I choose the Ubuntu 9.10 choice, everything works fine and as expected, including the Ctrl-Alt-F1-6 console windows. This problem only occurs with the Ubuntu 10.4 menu options.

Since this problem only occurs with the Ubuntu 10.4 menu choices, my guess is that there is something askew in the display configuration of those specific choices. But, I've not discovered what to check for that configuration or how to correct it. I've checked out the /boot/grub/grub.cfg file, the /etc/grub.d number files, and /etc/default/grub, but can't find anything that seems to be the cause or the remedy.

View 4 Replies View Related

General :: 64 Bit - Different Commands Shows Different Results?

Jul 10, 2010

The system of my VPS is centos 5. I want to know if it is 32bit or 64bit. > uname -a Thu May 13 13:49:53 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

looks like 64 bit.
But
> getconf WORD_BIT
32
Looks like 32 bit.
Which is correct?

I believe the linux of my VPS is 32 bit. Because I downloaded a 64bit mongodb, found it can't start. And when I downloaded a 32bit instead, it works well.

View 3 Replies View Related

General :: When Using Grep From VIM, How To Jump To Results

Feb 22, 2011

When using the grep plugin to VIM, I can search the current directory for all occurrences of a string within a set of files, like this::grep Ryan *.txtThis outputs something like this:

file1.txt:3:Ryan was here
file2.txt:10:Ryan likes VIM
file3.txt:5:superuser.com is a fav of Ryan

[code]....

View 1 Replies View Related

General :: Why Does `du` Not Show Results For All Files

May 22, 2011

I (for curiosity's sake) am running du -a inside /usr/lib/git-core and it does not show results for all the files in that directory. Why does it leave out an arbitrary set of files?this is what cd /usr/lib/git-core; du -a returns:

4 ./git-merge-resolve
972 ./git-config
12 ./git-show-index

[code]....

View 1 Replies View Related







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