When I run the code "grep -rl 'my string' ./", I receive the output of file names that contain 'my string' in it. When I go to view that file using vi, it comes up as a lot of weird characters. I've tried viewing the code using hexdump and xdd also, and that just outputs it in 1s and 0s. How do I view the code that grep views? As in, how do I view the code with the readable code 'my string' in it? The file in this case is a .so file. Thank you
1
There are 1 best solutions below
Related Questions in LINUX
- Is there some way to use printf to print a horizontal list of decrementing hex digits in NASM assembly on Linux
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- Writes in io_uring do not advance the file offset
- Why `set -o pipefail` gives different output even though the pipe is not failing
- what really controls the permissions: UID or eUID?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Docker container unable to make HTTPS requests to external API
- Whow to use callback_query_handler in Python 3.10
- Create kea runtime directory at startup in Yocto image
- Problem on CPU scheduling algorithms in OS
- How to copy files into the singularity sandbox?
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
Related Questions in GREP
- How to grep a line followed by a newline from output in terminal
- grep expression behaving weird (unix/mac) while reading a conf file
- how to keep the colored output of a command after piping it through grep
- How to str_detect a pattern in the pipe to relocate columns
- I want to zgrep from .debug.gz and get lines before and after the string
- How do I find the first # after an even number of "?
- Bash: checking gzip using == or "| grep"
- grep for string and open matching files in text editor
- How to grep my one-line file with constant key?
- My console program output does not seem to work with grep
- How can I pipe a docker ps output to a docker stop command?
- awk with exclude pattern in shell
- How to get image red green blue standard deviation values from gm identify -verbose?
- grep: color different parts of output
- find and grep - Suppress terminated by signal 13
Related Questions in BINARYFILES
- Determine physical file address of directory RVA in PE file
- How to write/read binary files that represent objects?
- Item not being properly indexed in PHP array inside of for loop
- What does the following makefile command do? /no-symbols-control-file
- How to check the values of a struct from an image/binary file?
- Fortran unformatted output with each MPI process writing part of an array
- How to Binary Serializer Custom Class
- Efficiently writing/reading an array of '1' and '-1's to a binary file
- Binary VTK for RECTILINEAR_GRID from fortran code
- Is there an issue in unix running one C++ binary multiple times and parallel?
- Is it feasible to unpickle large amounts of data in a Python web app that needs to be scalable?
- JASN1 decoding ASN java.io.IOException: Length is out of bound
- Write an integer number as binary to a file with PowerShell
- str object doesn't support item assignment (when reading bytes)
- TypeError: 'dict' does not Support the Buffer Interface
Related Questions in .SO
- User defined .c and .h file management
- Linking .so file on Eclipse
- Compiling several source (main and headers) files and linking them in ROOT CINT?
- how create .so file on Eclipse opencv cpp (c++)
- How to add .so file in tizen
- How do I link against an .so from Android Studio 2.3?
- Calling c program from different Android project
- How to unload or specify binary .so library with FFI::Library in ruby?
- Integrating OpenCV with Unity Using Android NDK: Issues Loading Native Libraries in Unity
- Tensorflow C API compiled as .so library __gnu_cxx::recursive_init_error
- how to use .so, .c, .o files in my android kivy project
- Rust dynamically link .so library
- How to solve ' undefined reference ' error when executed 'make' command and get the final output file
- Can I compile a dynamic lib on Linux and link on Windows?
- D language import local module
Related Questions in HUMAN-READABLE
- Is there a way to convert unknow file type to human readable format?
- Sort strings containing numbers, chars and ponctuations in ”human readable order”
- mapping language variations on a graphical map
- 3MF file openable but does not appear to be human readable XML
- How to check if a file is of type Human readable in Ansible
- What's the easiest way to convert milliseconds to readable String in Java Spring
- remove millisecond from echo time bash
- How to format number in a floating representation, dependent on places before the decimal point in C#?
- Using ethers.utils.FormatTypes.full returns object not string
- Formatting JSON string in a readable way
- Is there a human readable structured logging fomat?
- How does "grep -rl 'string' ./" search through readable code in binary files? Can I view what it's viewing instead of seeing binary output?
- In python, can I create a closure with an anonymous function?
- Guard clause for a single statement function?
- convert a encode value to string
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
What you want is the
stringscommand - a unix command line tool that "looks for ASCII strings in a binary file".If you run
strings <your file name>it will show all the printables there.Source:
man strings