Look for a username on Social Media sites easily with a simple Python script.
How to search the Internet for a certain username using a simple Python tool.
How to search the Internet for a certain username using a simple Python tool.
Useful ways to find packages on a Linux system using grep. This would be very useful.
If you wish to find files larger than a certain size on a Linux hard disk, this is a very useful tip. This uses backticks to feed the output of the find command as a parameter to ls. This allows listing the few largest files in a directory. ┌──[[email protected]]─[/media/jason/More Media] └──╼ ╼ $ ls -hula … Read more
Using the grep utility to search through source code can take a long time when you are searching for certain text. But this can be made easier if you use grep. The command below: grep -rn –include "*.*" "winlogon" .grep -rn –include "*.*" "winlogon" . Will search recursively through a source code tree and find … Read more
I have found a nice method of searching randomly generated data for certain words. This takes a while but can bear fruit in the end. Here is an example, this is searching through the /dev/urandom file and then finding an instance of the word “linux”. jason@jason-Lenovo-H50-55:~$ time tr -cd [:lower:] < /dev/urandom | fold -w … Read more
This simple command will search for a folder named xray* and then switch to it. ┌──[[email protected]]─[~/Documents] └──╼ ╼ $ cd $(find . -type d -name "xray*")┌──[[email protected]]─[~/Documents] └──╼ ╼ $ cd $(find . -type d -name "xray*") After running this command, it has found a folder that matches the wildcard and then switched to it. ┌──[[email protected]]─[~/Documents/xray-16] … Read more
Finding files in your home directory is very easy. The command below will search inside all files in your home directory and find all files that contain the text “linux”. find . -type f -exec grep -niH linux ‘{}’ ‘;’find . -type f -exec grep -niH linux ‘{}’ ‘;’ This is a good example of … Read more
The grep utility is very useful when searching for text in files. This can be used recursively to find matching files. This tip will return the full path to all files containing the text you are looking for. 4.4 Thu Apr 23 jason@Yog-Sothoth 1: $ grep -r -H "noclip"4.4 Thu Apr 23 jason@Yog-Sothoth 1: $ … Read more
The Linux find command is very useful for finding certain files. I will show how to search a folder and return a listing of files. This example below shows how to list all webm and gif files in the directory and all subdirectories. 4.4 Fri Feb 21 jason@Yog-Sothoth 0: $ find -regex ‘.*\.\(gif\|webm\)’ -print ./1397195397532.gif … Read more
Windows has quite a few useful utilities for searching text. The findstr utility allows searching through a folder full of text files for a certain string. Here is an example. >findstr /S /R "money_quest_update" *.*>findstr /S /R "money_quest_update" *.* And this is how to search for text strings in a folder. E:\shadowofchernobyl\gamedata>findstr /S /R "money_quest_update" … Read more
How to do various file listing tricks on Linux to find various files. Get a listing of all files in /bin that contain the letters ‘ls’ and output the file details. 4.4 Tue Mar 05 jason@Yog-Sothoth 0: $ find /bin -type f -name ‘*ls*’ -ls 3933382 132 -rwxr-xr-x 1 root root 133792 Jan 18 2018 … Read more
There are a few ways on Linux to list the files in a directory with the files in order of file size, but I am going to show the easiest ways to accomplish this task. Using the ls command. The ls command is the easy way to list all files in order of file-size. Here … Read more
Finding files with the Linux command line. Using find & locate The find command on Linux is very useful for finding commands on your Linux installation. In the example below, I am using wild-cards to look for all the c source files in a certain folder. neo@deusexmachina:~/Documents$ find -name "*.c" ./strobe.c ./myftp.c ./utv_gd.c ./syscall.c ./program.c … Read more
To find cool webcams with the Google search engine, use this Google search term. inurl" /view/index.shtmlinurl" /view/index.shtml This is an example I found, this is a Russian cybercafe. http://212.42.54.137:8008/view/index.shtml Russian cybercafe. This is another search term. intext:”MOBOTIX M10″ intext:”Open Menu”intext:”MOBOTIX M10″ intext:”Open Menu” This is one cam I found with it. A view over some … Read more
The Linux find command is useful for finding files on your Linux system. It is possible to look for more than one file type. This example will search for all text and png files under the /usr/share directory. jason@neo:/usr/share$ find -regex ‘.*txt\|.*png’jason@neo:/usr/share$ find -regex ‘.*txt\|.*png’ This example will search for three different file types. jason@neo:/usr/share$ … Read more
This command will search a directory recursively to find files matching a pattern. C:\Users\Homer>where /R C:\Users\homer\Documents *.txt C:\Users\Homer\Documents\age-of-ultron-script-outline.txt C:\Users\Homer\Documents\windows10key.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\Torrent downloaded from AhaShare.com.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\Torrent Downloaded From ExtraTorrent.cc.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\tracked_by_h33t_com.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition … Read more
Finding all executables in a given path is easy if you use the lsx utility. Firstly install the required packages. jason@eyjafjallajkull:~$ sudo apt-get install suckless-tools [sudo] password for jason: Reading package lists… Done Building dependency tree Reading state information… Done Suggested packages: dwm stterm surf The following NEW packages will be installed: suckless-tools 0 to … Read more
The find command is very useful for locating files on your Linux filesystem. Below is an example of wildcards to locate files in the /boot directory. ubuntu@ip-172-31-20-16:~$ sudo find /boot -name "vm*" /boot/vmlinuz-3.13.0-44-genericubuntu@ip-172-31-20-16:~$ sudo find /boot -name "vm*" /boot/vmlinuz-3.13.0-44-generic Here I am searching the whole / filesystem for a set of files that end in … Read more
The lsb_release -a command will print the Ubuntu version to the terminal. This is how you find out information about your Ubuntu installation. ubuntu@ip-172-31-20-16:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trustyubuntu@ip-172-31-20-16:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 … Read more
The Linux command line is very useful for finding files, the find command is the best way to locate files on your filesystem. This is a simple example. knoppix@Microknoppix:~$ sudo find /proc -name "meminfo" /proc/meminfoknoppix@Microknoppix:~$ sudo find /proc -name "meminfo" /proc/meminfo Use the -maxdepth parameter to only search a certain number of levels deep into … Read more