Professional Documents
Culture Documents
Pertemuan 2 Kelas Pentest Dan EH - Linux - Basic - Commands
Pertemuan 2 Kelas Pentest Dan EH - Linux - Basic - Commands
• List the files in current directory and showing the hidden files
ls -a
Back to up directory
cd ..
cp /dir/file1 /dir/file2
Command :
apt –get update
apt-get install
apt-get upgrade
apt-get remove
apt search
External commands
In Vim it’s easy to include the output of external commands or to filter the whole line or just a part
through an external filter.
To issue an external command type ':'
Searching and Replacing
:s/old/new/gc
:s/old/new/g
:wq
Permissions
• chmod <options> <filename>
• chown <user:group> <filename>
• Running “theHarverster” tool, send the output into file. Choose your Domain
target. “Example: manchester.ac.uk”
• Monitoring the process using tail -f