General :: Search The Root With Everything Treated As Lowercase First?

Jan 6, 2011

I would love to see if there is a way in linux that if I have forgotten the command name and would like the search the entire root using "find" command but I am not sure of the case sensative of the command name (eg. VBoxManager or vboxmanager). So how can I search the root with everything treated as lowercase first? or is there a regular expression to search?

View 4 Replies


ADVERTISEMENT

General :: Find/search Root Partition ONLY?

Jun 11, 2010

Say I need to do: find / -name somefile.txt

And say root partition / is mounted on /dev/sda5; however, let's say I also have 250GB partitions (/dev/sda6, /dev/sda7) mounted in /media - AND another location that I cannot currently remember. Say, also, that I know the file I'm looking for is on /dev/sda5.

Obviously, the above command will also descend in /media and that other directory which represent the big partitions, wasting time in looking for the file in the wrong place.

Is there a way to instruct find (or other command) to search only / on /dev/sda5, and NOT to descend to directories if they are on different partitions ?

View 1 Replies View Related

General :: Keyboard Mapping - Lowercase 'v' Is Not Working

Oct 7, 2010

I have quite a strange issue with (supposedly) my keyboard mappings.

while using GNOME session:

lowercase 'v' is not working as it should - no keypress is reaching apps; while I'm holding V key depressed, gnome-terminal console shows a hollow cursor (just like when input focus is in some other window) and nothing is printed; uppercase 'V' is working just fine (that is Shift+V); if I press AltGr + V, a lowercase 'v' is printed; if I'm typing quickly, sometimes pressing V key to get a lowercase 'v' is not just being ignored, but also the next symbol typed is swallowed and not printed out; this issue is present for the USA keyboard layout, as well as for the Russian keyboard layout.

while using TTY console (Alt+Ctrl+F1, etc):

everything works as it should (i.e. lowercase ' is printed whenever I press it);
no problems with the physical keyboard.

I haven't done any editing of any gnome/X configs and/or keyboard mappings.

This is my Ubuntu 10.04 Linux version:

$ uname -a
Linux hostname 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux

Update - stty output:

$ stty -a
speed 38400 baud; rows 43; columns 151; line = 0;
intr = ^C; quit = ^; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;

[Code]....

View 2 Replies View Related

General :: Separate Lowercase And Uppercase In File?

Jun 14, 2010

I have a file partially like this

209 c 89
215 a 76
603 B 190
626 f 240

I want to separate this file into two sub-files based on the lowercase and uppercase of column 2 so that the sub-files are like

file1

209 c 89
215 a 76
626 f 240
file2
603 B 190

View 4 Replies View Related

General :: Translate Lowercase File Names To Uppercase?

Nov 26, 2010

Kernel 2.6.21.5, Slackware 12.0

As a result of having mixed files from different filesystems, I have, in directory foo/, files with filenames in uppercase and files with filenames in lowercase. If I want to convert them to all uppercase how do I do it? Consider this will be later recorded into optical discs.

View 7 Replies View Related

General :: Convert All File Extensions For Files In Many Sub-directories From Uppercase To Lowercase?

Sep 21, 2010

I'm trying to convert all file extensions for files in many sub-directories from uppercase to lowercase. I have two problems, how to list the absolute path to the files recursively over many sub-directories for which I so far have this:-

Code:
find ~/Photos -print which would be fine, except it gives the directories on their own when it finds them rather than just the files with absolute paths. I couldn't find a switch for the "ls" command to do this, so I had to improvise with "find". and once I get grab each absolute file name, to just change the file extension rather than the entire file, which is what I have at the moment.

[Code]..

View 7 Replies View Related

Red Hat / Fedora :: Root Search Path ?

Aug 31, 2010

I am trying to find the permissions of the directories in the $PATH variable.

I am trying to use the following:

View 1 Replies View Related

Debian Configuration :: USB Magnetic Stripe Reader Treated As A Second Keyboard?

Jul 26, 2011

I am new to Linux but have installed debian using the 'net method. The computer, in general, works fine. I have a USB keyboard which works OK and a Magnetic Stripe Reader which the OS thinks is another keyboard. If I open a terminal then swipe a credit card the data are transfered to the terminal screen at the cursor which I do not want.

How do I prevent the OS from grabbing the MSR? I want to use a program to address it as "/dev/hiddev0" or similar for read and write. I have tried "blacklist hiddev0" in /etc/modprobe.d/blacklist.conf but to no avail.Regarding these forums, I, for the life of me, cannot understand why a search for USB turns up empty when I can see the term in several titles on the first page of topics.

View 14 Replies View Related

Ubuntu :: Error : Unknown Timezones Are Treated As The 'floating' Local Timezone

Sep 28, 2010

On Karmic, every once in a while this error pops up near the notification area at the top right (also see attachment):

Timezone Errors See Error Console: Unknown timezones are treated as the 'floating' local timezone.

But the 'date' command shows the correct date/time and timezone. /etc/timezone is also set correctly. The machine is running ntpd and is connected to the net 24/7 via ethernet. I also don't see any 'timezone' errors in /var/log/* Which software is complaining? What is the "Error Console" it is referring to?

View 5 Replies View Related

OpenSUSE Network :: Email Treated As Junk Mail On Hotmail, Gmail, Yahoo

Dec 31, 2009

I have been trying to figure out how to keep my company's email from being treated as junk mail by Hotmail, Yahoo & Gmail for over a year.

When I acquired the company its email was hosted by sina.com as its in China. It was being run under a windows server and had issues sending & receiving.

I moved it to a linux server system in Hong Kong that has a US co-host site in Chicago area thinking its got to better than whats running in China.

We are still having problems sending emails to hotmail, yahoo and gmail.

My entire company is about ready to redmond our company email and use their personal webmail accounts.

View 2 Replies View Related

Fedora :: Search Path - Yum & Rpm Commands Fail When Executed As Root

Jul 15, 2009

I've setup dimdim (opensource, centos 5.3) and noticed yum & rpm commands fail when executed as root because it uses librpmio from openoffice3 instead of /usr/lib (I'm running from memory so I may have misstyped). But sudo doesn't have this problem.

How can root's search path be different, especially after I state /usr & /usr/lib at the top of /etc/ld.so.conf.

View 2 Replies View Related

Fedora :: Hostnames - Upper Or Lowercase ?

Aug 26, 2011

What is the general feeling for the case of hostnames in Linux/UNIX, is it preferable to have them in lower-case or upper-case? I have always preferred them as lower-case but I am interested to see if there are any arguments for or against this practice.

View 1 Replies View Related

OpenSUSE :: Lowercase 'e' No Longer Works In Terminals

Feb 20, 2010

For some reason, just shortly ago, the terminals, konsole, etc. will not accept the lowercase letter 'e' as input for some reason, not even when pasting, e.g.

a paste of file:///usr/share/applications/kde4/konsole.desktop

becomes fil:///usr/shar/applications/kd4/konsol.dsktop

on the command line. Weird.

For everything else I have tried at this point on the computer, the lowercase letter 'e' is just fine (this message being an example);Has some configuration file for terminals (konsole, xterm, Yakuake) or whatever got messed up and I need to correct it?

View 9 Replies View Related

Ubuntu :: Cannot Type Lowercase 'L' In Gnome-terminal

Feb 4, 2011

A few minutes ago, without any apparent reason, my gnome-terminal started refusing acceptance of lowercase 'L'. When I hit the 'L' key, the menu toggles between visible and hidden. Note, this is lower case 'L', not uppercase.

View 1 Replies View Related

Server :: Redirect To Lowercase Directory Apache ?

May 4, 2011

just wondering, if i type in a url like this:

how can i get it to direct to:

View 1 Replies View Related

Ubuntu :: Script To Recursively Make Folder & Filenames Lowercase

Jul 23, 2010

I'm looking for a shell script that will recursively make all of the file and directory names in a large directory tree lowercase. It has to work with file and folder names with spaces and keep the spaces in the converted names. The reason I want to do this is because most of my personal files are on my Windows partition, and before I discovered Ubuntu, I made my file and folder names have mixed case as in "My File.txt", and now I want it to look like "my file.txt".

View 7 Replies View Related

Software :: Force Thunar To Use Lowercase For Desktop / Music / File System

Jul 27, 2011

Is it possible to force Thunar (in xfce4) to use all lowercase for the special directories it manages: Desktop, Trash, and "File System"?

View 2 Replies View Related

Programming :: Convert Files Names From Uppercase To Lowercase And Vice Versa?

Mar 26, 2011

shell script to convert file names from UPPERCASE to lowercase file names or vice versa in linux

View 6 Replies View Related

Fedora Installation :: Apt-get Search Wget Saying Invalid Operation Search?

Apr 5, 2011

i guess this is an installation issue as i am newish to Linux and got a F14 laptop from a used/refurb store... Anyway it seem i have difficulty with getting GTK running or maybe it is WGET...?

i did manage to install apt-get and was able to run synaptics ... but now whenever i try to run synaptics it flashes the interface and crashes. i tried apt-get search wget and it says invalid operation search. i tried apt cache wget and get a crash box in the upper right corner... i tried apt-get gtk+extra-2.1.2-4.fc14 and it says invalid operation gtk...

All of which is frustrating my attempts to get the GTK interface to J working. Their script uses WGET which i also cannot get.

View 6 Replies View Related

OpenSUSE :: Get A Message That Says 'Search Service Not Running' With A Button That Says 'Start Search Service'?

Jun 12, 2010

The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens

View 1 Replies View Related

Ubuntu :: Desktop Search Dead \ Trying To Find A Good Desktop Search Tool?

Jun 16, 2011

I'm trying to find a good desktop search tool. Beagle is dead, Recoll and Strigi are KDE, and Tracker is not many features (can't even search Thunderbird 3). Do I miss something? Is desktop search on Linux dead? Should I use Google Desktop Search instead

View 2 Replies View Related

General :: Ubuntu 6.06: Mounting /root/sda1 /root Failed: No Such Device

Jan 22, 2010

An old machine in our office, running Ubuntu 6.06 all of a sudden will not boot up. I get the following info during boot:

Uncompressing Linux... Ok Booting the kernel
mount: Mounting /root/sda1 /root failed: No such device
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory

[code]....

I haven't changed anything on the system as far as I'm aware, and I ran some HD diagnostics and everything seems fine. however when I try to mount the drive with the following command:

sudo mount -t ext3 -o rw /dev/hda1 /mnt

I get the following error:

mount: wrong fs type, bad option, bad
superblock on /dev/sda1, missing code
page or helper program, or other error
In some cases useful info is found in
syslog - try dmesg | tail or so

I ran fdisk -l and it says the partition type is Linux. The output after running dmesg | tail :

[12207.483801] init_special_inode: bogus i_mode (101)
[12207.483809] EXT2-fs: corrupt root inode, run e2fsck
[12260.427078] init_special_inode: bogus i_mode (101)

[code]...

Update: After running e2fsck -p /dev/sda1, I get the following info:

/dev/sda1: clean, 142449 / 9584640 files, 5402711 / 19161520 blocks

View 1 Replies View Related

General :: Did Not Find Any Option For Root Password For Root User In Ubuntu 9.10?

Mar 2, 2010

i used opensuse 11.1 ...there is option for root user to create password for root...but for ubuntu i did not find anything like that...so how can i create root password....or how can i use root

View 1 Replies View Related

General :: Failed To Change Real Root To Fake Root Using Chroot?

Jun 28, 2011

I created a chroot jail in /SECURITY/Jail. But when I used the command 'sudo chroot /SECURITY/Jail' to enter the fake root, I got an error message likegroups: cannot find name for group ID 105groups: cannot find name for group ID 119.

View 1 Replies View Related

General :: Root Logins Are Not Allowed \ When Try To Login As Root, After Logging Out As User, It Does Not Allow?

Dec 2, 2010

i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode

View 5 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

View 1 Replies View Related

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 Replies View Related

General :: Dreamlinux - Root Says 'superuser Required' While Installing FROM Root

Apr 21, 2011

I am trying to install google chrome on my computer, it is in a .deb package and I am using dreamlinux. Earlier today I installed a .cbr/.cbz file reader from root, that was also a .deb and it worked just fine. now I go to install google chrome and it says (Blue is my command, and red is the system response):

I checked under my USER GROUPS and Root is still set as root, and I haven't been using it unless I need to install with it to other directories, Should I be using another command to install? or is it a problem that may affect other aspects of my system? ... My biggest concern is not getting google in, I can wait for that ... I just wanna know why ROOT is under the impression it's not a superuser.

View 3 Replies View Related

General :: Installing As Non-root In A Root Owned Directory

Mar 8, 2011

I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.

So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.

Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..

View 2 Replies View Related

General :: Search And Replace /'s In VI

Feb 7, 2010

I was wondering how I would search and replace all /'s with -'s in vi. %s///-/g doesn't work obviously.

View 2 Replies View Related







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