Terminal
WLAN Pi / Linux terminal commands and a few concepts thrown in for good measure
Basic Navigation
Use the following shortcuts to quickly move the cursor around the current line while typing a command.
Ctrl+A
or Home
: Go to the beginning of the line
Ctrl+E
or End
: Go to the end of the line
Ctrl+ <-
: Go left (back) one word
Ctrl+ ->
: Go right (forward) one word
Ctrl+xx
: Move between the beginning of the line and the current position of the cursor. This allows you to press Ctrl+xx
to return to the start of the line, change something, and then press Ctrl+xx
to go back to your original cursor position.
To use this shortcut, hold the Ctrl key and tap the X key twice.
Configure the timezone
Use the command
to configure your Geographic Area / City
Check to see if this change is reflected in FPMS
System > Date / Time
Oh no, the change is not reflected in FPMS!!
You will need to restart the FMPS service to see this change reflected
Now check to see if the timezone information is correct!
OS Version
Show me the version of Linux you are running
Command History
View a list of your previously executed commands with history
Re-execute a command from the history
Exclamation mark followed by the desired command list number
sudo bang bang
when you enter a command that requires sudo, but you forgot! No need to retype the command 'sudo bang bang' it.
tab complete
you can complete commands and file paths by starting to type them out, then using the tab key to auto-complete
becomes
When there are multiple possibilities, double tapping the tab key will list all the possibilities
Try this to see all the wlanpi custom commands
Try wlanpi-stats
View Interface IP Addresses
View all your interfaces and IP addresses
View IP Address for a specific Interface
View IP Neighbor Table (ARP cache)
View IP Route Table
View wireless devices
View wireless device capabilities
passwd
Change your password from the terminal
pwd
print working directory, ever feel lost as to where you are? use pwd
enumeration commands
wifichannel
You can quickly:
Convert between channel number <--> centre frequency
List all Wi-Fi channels in a specific band
Give this utility a try
Linux Cheat Sheet
Some useful Linux commands if you want to go deeper.
Last updated
Was this helpful?