Jump to content
xisto Community

m3th1405241494

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. If your behind a router , and like me too lazy to open a browser and find a site that displays your ip , heres a simple Bash script (Bash is a shell in linux, main shell in Slackware Linux) Open a text editor , copy and paste the following: #! /bin/bashexip=`lynx -dump https://www.whatismyip.com/ | head -n 2`echo "$exip" Save the txt ( for the sake of agrument we will refer the file as ip.sh) From console type: chmod a+x ip.sh Now run the script like so: ./ip.sh (which will display something like the following) Your IP Is XX.XXX.XXX.XX Done! I will explain what we just did in the script. !# /bin/bash <- Tells what shell we using, this line is always here but /bin/bash may be changed, depending on your system exip=`lynx -dump https://www.whatismyip.com/ | head -n 2` <- We setup a variable and run some console commands, lynx is a txt mode browser the we send it to head, which takes only the first to lines. echo "$exip" <- We echo the content of exip variable to screen chmoding to a+x just makes the file executable.. I know there a billion ways to do this, but it gets job done ...
  2. true true , After ive finished my shoulder im probaly not gonna do anymore, i agree with u, sometimes i wish i hadnt started my shoulder and sometimes i love it , i dunno i have wierd days , but im keeping it above tshirt length just for the reason u said
  3. Sweet tats man, Im workin on my shoulder , need to finish up the empty space under the clowns, maybe something less evil like the old school swallow.. Pics sorta crappy, ina hurry and took wit a minidv cam
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.