Posts

Basic Linux Commands

ls -al - lists all files Use locate to locate wce32.exe on your Kali virtual machine. - locate wce32.exe mkdir -p test/{test1,test2,test3} - creating test as parent directory and other child directories at a time. which command - gives the complete path of a file locate - finds location of files and directories in kali. Normally, this will be saved in a db as scheduled by cron scheduler find - gives flexibility than above two. Can find size,owner and all specifications of files, can search with a name, can also grep. SSH Service sudo systemctl start ssh - to start ssh To check if it is running - sudo ss -antlp | grep sshd sudo systemctl enable ssh sudo systemctl enable https/apache To see a table of all available services, run systemctl with the list-unit-files option apt-cache search package name(pure-ftpd) gives the info about if the package is already installed or not apt show resource-agents - shows up relevant resources installed in VM apt remove --purge - purge along wit