This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Read log files and create a new file with limited(filtered) logs | |
| cat <filename> | grep <keyword> > newfile_name | |
| # find the target device in my network | |
| sudo arp-scan --localnet | grep "MSC VERTRIEBS GMBH" | |
| # clean the user defined shared memory | |
| ipcs -ma | awk '/root/ { print $2 }' | xargs -n 1 ipcrm -m | |
| # screenshot from target device |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # grep alternative windows | |
| findstr /i /r /c:"hello" test.txt > 1.txt |