Last active
February 6, 2024 11:54
-
-
Save ramkumarrammohan/51004c554aa176077eaa7cf857ddfaab to your computer and use it in GitHub Desktop.
Here are the commands which may useful in daily activities which can improve the productivity
This file contains 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 | |
cat /dev/fb0 > screen.raw && ./iraw2png 1280 720 <screen.raw> screen.png | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment