Cyberkraft Linux Commands Cheat Sheet
Cyberkraft Linux Commands Cheat Sheet
https://cyberkrafttraining.com
Search Commands
locate file Search Searches the index for a specified file
grep pattern files Pattern search Searches for a specified pattern in designated files
grep -r Recursive search Searches the current directory and all subdirectories
grep -i Case insensitive search Finds files regardless of the case used to search
find /directory/
Find files in a directory Locates specified files in a specific directory
-name name
Networking Commands
SSH Perform remote login Secure Shell (SSH) is an encrypted means of
username@ip- using SSH remotely accessing a device
address or
hostname
put file File upload Uploads a file to a remote computer using SSH
get file File download Download a file from a remote computer using SSH
quit Logout Logs out of the SSH session
ping hostname or Ping a device Uses Internet Control Messaging Protocol (ICMP)
ping ipaddress pings to assess network connectivity
ip a List IP information Lists current internet protocol information such as
ipv4 and ipv6 address, ethernet adapter used, and
MAC addresses. Color coded for fun!
ifconfig List IP information Traditional way to list IP address information