General :: World Script Not Detected Using Locate And Whereis?
Jun 15, 2011
I read somewhere that shell scripts are not detected because they may be system files. So how do I detect them. Noob as I am just doing my hello world program. Also what is the difference between "ls bin" and "ls /bin"
I have successfully installed "LAMP" and can get to my web server by typing 10.0.2.15. How can I make it so that when I type in my domain name it brings up my web server?
I got a CD of JPG files from a photographer. Some of the files are not readable on my Ubuntu machine (they show up as X icons in the Nautilus file browser). I figured out that the reason is that they are not "world-readable" (and also not "group-readable") and they are owned by a user that does not exist on my machine. I am able to work around it by doing sudo nautilus Is there any easier way to do this? I am thinking some setting I can make on my system relating to the CD driver works?
There's probably not too many Linux users how have their desktop Linux distros set to be console only as opposed to using an X server or a GUI. There's plenty of reasons to take this route and many ways to go about it, and I'll attempt to show you a (mostly) unbiased view on this choice, especially centered around the way I do it. Here's my setup: Dell Inspiron 1545, Core 2 Duo, 4 GB RAM. I have Windows XP, Ubuntu 8.04, and my main OS: Debian Squeeze.
UBUNTU USERS!!!
Debian Squeeze is probably the best option for a Ubuntu convert. Making Ubuntu console based is kinda hard and not recommended by me because it's such a large OS, and living in a text only computer is generally a minimalist idea, so having such a bulky base is both memory intensive and kinda gross. Debian uses apt-get, so people who grew up in a Ubuntu environment should feel at home with the sudo commands and such........
TitleThink user Linux registrations can make a world change?The questionDo you think the registration of Linux users can make people, companies, governments, institutes, and everything related to technology change their opinions (minds)?Introduction My first experience with a PCI used proprietary software since I owned a PC. Starting from the operating system to the programs all was backed by a closed company.EurekaAt the year 2004, I have read a magazine that mentioned the word "Linux", it was the first time I got to know that actually there was other Operating Systems than Windows. I "googled" and "wikipped"(searched), all the information I could get about that new system(for me).
After few searchs the word "Debian GNU/Linux" came up. I have burned the ISO file for a brand new CD and got all enthusiast.ExperienceI had actually complete the command line install, but always thinking for myself "What a waste of time!" (Yeah... such an idiot I was at that time).
After the installation, I booted the distribution and at the minimal error and/or thing that didn't worked like I pretended, I would just say a lot of terrible things and give up.The second chanceOnly at about 2007, I gave Linux other chance(ironic, like Linux was the guilty for my lack of skills. I downloaded and burned the Ubuntu Linux 6.06 Live CD ISO.
I was astonished when the CD booted, asked for language and actually changed it. Then the Live Environment "flashed"(appeared).
I was out of words and almost regretted everything I have said about Linux efforts(I still didn't had a open mind tough). For the first time I actually faced-up the problems and issues that came up, but annoying everyone and saying bad stuff(I'm terribly sorry).The enlightenmentOnly at about end of 2009, I started actually wanting to learn how everything worked. That was the time I changed for Slackware Linux distribution. I learned many stuff. But with the time, I realized that the important isn't the Operating System and/or Distribution we use, is the use that we make of it. Nowadays I use about any distribution without complaining much. We need to respect the work of others after all, and we can learn with the mistakes too.
All this to askThe questionDo you think the registration of Linux users can make people, companies, governments, institutes, and everything related to technology change their opinions (minds)?NOTE: This reflects for BSDs, OpenSolaris(now over) and all other related open source software not just Linux.
I run openSUSE 11.2 (kernel 2.6.31.12) and I use Wine 1.1.38 to play World of Warcraft from the konsole terminal application. For the most part this works okay, but there is one small issue that continues to annoy me:
Look at your keyboard (assuming standard QWERTY no-name keyboard) - see the key just left of your Backspace key? That key is only partially working for me in WoW. I cannot bind it to any action bar button in-game, with or without addons enabled. For some reason the key works fine when entering text into the chat console though.
I have used xev to get a bit of data on the key itself - not that it is that informative to me though, but the absence of the issue when playing WoW through Windows would suggest that it is somehow endemic to my Linux configuration:
Code: KeyPress event, serial 34, synthetic NO, window 0x4a00001, root 0x1a7, subw 0x0, time 6474080, (159,-10), root:(1364,15), state 0x10, keycode 21 (keysym 0xfe51, dead_acute), same_screen YES, XLookupString gives 2 bytes: (c2 b4) "" XmbLookupString gives 0 bytes: XFilterEvent returns: True
i found samba as domain join service and print sharing, i am looking more then thisi have been looking any commercial or open source solution available as alternate of active directory. as we are all aware that AD infrastructure is highly complicated.the main issue we need to resolve is
- password policy for all users 90 days expiry - use complex 9 chars policy - assign permission/groups file/folder sharing
I'm using Ubuntu 10.10 and as a newbie to linux based operating systems, has tried but without success of playing WoW with wine. I tried with making a link to ''wow.exe'' and right-click ''open with wine windows program loader'' but ended up with a blue screen and a black square as my pointer, i can heard the login music but no picture. Can anyone give me some instructions on this issue, preferably with some pictures.
I have a dell mini 10v with ubuntu. I have been trying reapteadly to try to get the ubutnu version of mana world on my laptop but it always says its missing a newline. Because i download the game from my synapic manager and it says its missing final newline.
Being a system administrator i came across a statement as "Excluding temporary directories /tmp and /var/tmp, no root owned files should be in world writable directories"While the above statement may look straight forward but how would i check if there are any such directories in the distribution?
I have a Western Digital My Book World Edition external harddisk with blue rings. I filled it up and now want to delete the data and start over. I'm set in my ways and have been accustom to reformatting harddisks periodically (sector maintainance, etc.) It's worked for me as I've luckily have not had a disk crash in 25 years.My webapp is not helping me with the reformat and neither is Western Digital tech support. I've heard that it was factory formatted with something called Linux ext3. Does this make sense? Has anyone had any experience with reformatting external harddisks being used as a NAS (home use).
Using a Ubuntu 10.04 desktop...I just rebuilt another computer (Ubuntu 10.04-Server) and when I attempt to ssh to the box I of course have the ssh key from the old install. I get the messageQuote:Add correct host key in /home/ken/.ssh/known_hosts to get rid of this message.Offending key in /home/ken/.ssh/known_hosts:3So how do I determine which key is hosts:3? It is not the third key in the known_hosts file - I deleted that one and got the same error.As I only have 4 other computers on my network I generally just delete all entries from known_hosts when I reinstall the OS on one of the others. It is about time I learn how to do it correctly
I am running a version of Fedora 10 on my PC for development puposes. The strange problem I have encountered is that I cannot locate the C compiler being used. I have looked for G++ GCC, etc but cannot find it. Does anyone know the compiler being used or the command to find it through command line.
I am executing command "yum install perl-CPAN". I got the following error "Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).". Let me give you some details of the problem.
OS: CentOS release 5.4 (Final) Architecture: : 32 Bit Installed Perl Version: This is perl, v5.8.8 built for i386-linux-thread-multi
I've also studies previous posts on this topic which says "yum install perl-CPAN" will fix the problem when I execute this command I got "No package perl-CPAN available".
We are using linux (Ubuntu ) to host our website and mails. There was a power problem and after restarting our servers, we are unable to access the co. website. When i try to access the mail by typing mail.domain, i am able to access the login page from within the network. Someone out of the network is unable to find the page[URL]
I am running Mandriva x64 and the nepoumuk file indexing was causing system hangups (in addition to not returning any results) so i disabled it. However kfind is not returning any results either - i feel a bit stupid and I'm sure there's a simple answer to this but How do i locate files under Mandriva linux? Is there a simple KDE application for that or do i need to look at kfind settings? Does file search only work with indexed database?
I am using Fedora on a system i just installed it on, i just got a new HP monitor and hooked it up, now it won't work. I keep getting AN ERROR: unable to locate 10APIC for GSI 6,13,8,12,1......WHEN THE SYSTEM BOOTS UP.
I had fedora 12 working nicely and tried to add Compiz. That has caused my laptop to hang with the cursor blinking. I can get to the virtual windows with Ctl-Alt-Fx keys. However I am not sure what to fix.I had run Dmesg and it is complaining that it can not locate the Nvidia driver. I believe it mentions Nvidia.ko but will need to verify that.My thought was that if I just did an "upgrade" maybe that wold restore the GUI and I could go forward from that. I am trying to get awaay from the MS world.
My goal is to find all pdf files on a remote machine, so I resort to the useful command find. So I type find .pdf or find .pdf" and I get nothing. I do the same on my machine and I get nothing. I do a regular search from the menu on my machine and I find quite a few pdf files. Would somebody please tell me what am I doing wrong?
I want to print, using locate, all the paths that contain the element /bin/ but only one instance of each one. If I issue 'locate /bin/' then I have many screens of text with, for example,
/usr/bin/foo1 /usr/bin/foo2 /home/me/bin/foo3 whereas I want to see only /usr/bin/foo1 /home/bin/foo3
That is to say, if in two lines /bin/ appears with the same prefix (in the example above the prefixes would be /usr and /home/me) I only want to print the first line. Can I pipe locate to grep to do this? I've mentioned locate because it does not scan the whole disk.
there is a file named vmscan.c the location which is given on internet is usr/src/linux/mm/vmscan.c but when i went there , i found only two files ,but there was no vmscan.c so can any one help me to locate the file?
I used locate cmd to search file abc.txt (for example) as I didn't know in which directory it would be present and couldn't find it. But when I did find . -name abc.txt, it traced the file, luckily the file was in the same directory. I am wondering how find was able to search abc.txt and locate not. How these two are behavinb differently? Usually I use locate when I don't know the path to the parent dir.