Questions tagged [locate]

locate is the main command in the mlocate package. It is used to search for files, by default by a substring of their full path, based on a database populated by the updatedb command.

263 questions
0
votes
1 answer

Why rm does not delete files?

I issue the following command: Input: locate libboost Output: /usr/lib64/libboost_wserialization-mt.so /usr/lib64/libboost_wserialization-mt.so.1.53.0 /usr/lib64/libboost_wserialization.so …
Admia
  • 1,025
  • 3
  • 12
  • 24
0
votes
1 answer

How to locate element using advance Xpath method?

I have following HTML code snippet:

AAB52

NarendraR
  • 7,577
  • 10
  • 44
  • 82
0
votes
1 answer

how to locate HTML from inspect element?

How do I locate this part of the code in my theme? I want to delete it. But i can't find it... screenshot of the inspect element
0
votes
0 answers

map.on('locationerror'.. don't run the script

Scripts run on locationfound but not on locationerror. locationerror is true when the user don't accept to share his position, wright? If the user give his agreement, alert('ok') is done. If he don't give his agreement, alert('error') is not…
0
votes
1 answer

Locate and Edit html file on WordPress template

I am using a WordPress template and need to edit a file, the edit I want to do is add form controls to a certain page. I am having issues locating the file to make the edits. I have tried windows grep to search for strings with no results, i have…
vhdz04
  • 159
  • 2
  • 17
0
votes
0 answers

Extract all substrings in a string following specific character not just first?

I am able to extract substrings from a table where text follows a specific character e.g. "*": Select substring(FieldX,(Locate('*',FieklX)), 10) from Tqble where Fieldx like '%*%' This will give me the first match from each record in the table…
user3649739
  • 1,829
  • 2
  • 18
  • 28
0
votes
0 answers

python geopy returns NoneType object

I somehow can't iterate through the geolocator.reverse() function in geopy. It always runs into giving me NoneType objects. Single requests like this work perfectly fine: geolocator = Nominatim() location = geolocator.reverse("52.4286, 13.3556") plz…
fahrradlaus
  • 197
  • 1
  • 3
  • 13
0
votes
0 answers

selenium locate list, the list need click

ikobe
  • 1
  • 1
0
votes
1 answer

C# Regex locate groups missing a string?

First off, I am HORRIBLE with Regex. Apologies up front if this is dead easy and I'm just missing it :( Ok, so let's say I'm looking to parse my source code, and find all of my private functions. Further, let's say I want to get that entire block…
John
  • 921
  • 1
  • 9
  • 24
0
votes
1 answer

Not able to locate html element ID

I am testing my company's web application using webdriver. Some of the page parts are populated through javascript and jQuery dynamically. I am not able to locate the elements ID.e elements
Naveen M
  • 1
  • 1
0
votes
1 answer

Open a script (.js) from Node.js

So my task is this Write a JavaScript program numbers1to10.js that prints on the console the numbers from 1 to 10 (each at a separate line). Run the program through Node.js. Example: Command: node numbers1to10.js Output: 1 2 3 4 5 6 7 8 9 10 I wrote…
Все Едно
  • 746
  • 3
  • 10
  • 24
0
votes
0 answers

How to locate files using Chef recipe? locate instead of find

Is there a way to use Linux locate in Chef/ruby to find required files? Preferred is elegant way. I have shell_out example in my head. I know that I can do it with Ohai. Better suggestions? It's important to write each line to array as well. Any…
laimison
  • 1,409
  • 3
  • 17
  • 39
0
votes
1 answer

MySql select, get multiple occurances of a string

Column actions_serialized contains the following…
joell
  • 71
  • 1
  • 4
  • 18
0
votes
0 answers

MySQL: Substring before a digit

I have a column of type varchar containing chars and numbers. Ex: "ABC123", "XY2" I want to find the substring before a number. Output:"ABC", "XY" I went through this post Finding number position in string. But it looked tedious. Is there any…
Krishna Chaitanya
  • 275
  • 1
  • 2
  • 9
0
votes
2 answers

Method of locating a part of a word

I'm fairly new to Java programming and I'm wondering if there is any method of locating a specific set of characters in the last word of a sentence. An example of this would be trying to find the characters "go" in the phrase : I'm am going to the…
IM-MC
  • 53
  • 5