curl ifconfig.me
curl ifconfig.me/ip
(for just the ip)
curl ifconfig.me/all
(for more info, takes time)
For more commands visit: http://ifconfig.me/#cli_wrap
Related Contents:
- Use grep –exclude/–include syntax to not grep through certain files
- Is PowerShell ready to replace my Cygwin shell on Windows? [closed]
- Diff files present in two different directories
- Delete newline in Vim
- find without recursion
- Shell script “for” loop syntax
- Listing only directories in UNIX
- How to use find command to find all files with extensions from list?
- How to delete duplicate lines in a file without sorting it in Unix
- Is there a Unix utility to prepend timestamps to stdin?
- How can I add a help method to a shell script?
- Shell Script — Get all files modified after
- How do I set $PATH such that `ssh user@host command` works?
- Replace a string in shell script using a variable
- Compare two folders which have many files inside contents
- Convert decimal to hexadecimal in UNIX shell script
- Identifying and removing null characters in UNIX
- Is there a paging version of `watch`?
- When to use single quotes, double quotes, or no quotes in grep?
- how to export VARs from a subshell to a parent shell?
- Easy way to get IP address from hostname using a Unix shell
- How can I start a shell inside a jail on FreeBSD?
- Generate a random filename in unix shell
- How can you untar more than one file at a time?
- Why do shell script comparisons often use x$VAR = xyes?
- Get Current date in epoch from Unix shell script
- Move top 1000 lines from text file to a new file using Unix shell commands
- What is an easy way to do a sorted diff between two files?
- UNIX, get environment variable
- How to set font color for STDOUT and STDERR
- Commenting out a set of lines in a shell script
- Creating string of repeated characters in shell script [duplicate]
- Shortest command to calculate the sum of a column of output on Unix?
- Trim last 3 characters of a line WITHOUT using sed, or perl, etc
- In a unix shell, how to get yesterday’s date into a variable?
- Getting $USER inside shell script when running with sudo?
- Unix shell file copy flattening folder structure
- What shell am I in?
- Combining echo and cat on Unix
- Aborting a shell script if any command returns a non-zero value
- Loop through a comma-separated shell variable
- Sort ‘ls’ output by name
- How to select lines between two marker patterns which may occur multiple times with awk/sed
- How to find file accessed/created just few minutes ago
- Is there a way to redirect output to a file without buffering on unix/linux?
- How to change owner of mount point
- Where do you normally keep your UNIX/Linux scripts?
- Unix magic, delete all .pyc files from a tree of directories?
- unzip password protected zip in unix
- Removing trailing / starting newlines with sed, awk, tr, and friends