Linux Flashcards
What command compiles c++ code in Linux?
g++ exploit.cpp -o notepad.exe
gcc exploit.cpp -o notepad.exe
What UID and GUID does Root have?
0
What UID and GID does first user have?
500
What does the following command do?
crontab -e
Edits crontab entries to add, delete, or edit cron jobs.
What does the following command do?
crontab -l
List all the cron jobs for the current user.
What does the following command do?
crontab -u username -l
List another user’s crons.
What does the following command do?
crontab -u username -e
Edit another user’s crons
In cron jobs, 0 = Sunday.
True or False?
True.
What is CHNTPW used for?
Utility for resetting or blanking password used by Windows systems (Editing SAM db file).