Skip to content

Instantly share code, notes, and snippets.

View ramkumarrammohan's full-sized avatar

Ramkumar Rammohan ramkumarrammohan

  • Banglore, India
View GitHub Profile
@ramkumarrammohan
ramkumarrammohan / Linux productive commands
Last active February 6, 2024 11:54
Here are the commands which may useful in daily activities which can improve the productivity
# 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
@ramkumarrammohan
ramkumarrammohan / windows cmd line options
Created May 9, 2023 05:59
Windows productive commands
# grep alternative windows
findstr /i /r /c:"hello" test.txt > 1.txt