Software :: Locate WAN IP From Command Line Using Lynx?
Sep 19, 2010
I would like to know how to locate the IP address using:1) lynx2) web site: [URL]/tools/ip-address-lookup.aspFYI, I am able to detect my WAN IP address with the next command:WANIP=$(lynx -dump http://www.whatismyip.com|grep -i "Your IP Address Is"|awk '{print $5}'); echo $WANIP
View 5 Replies
ADVERTISEMENT
Sep 29, 2010
I am unable to locate ftp binary on SuSE 10. Some one know the location of the binary / package which has this binary.
View 2 Replies
View Related
May 15, 2010
I upgraded from 9.10KK to 10.04LL recently. The process did not go well. I was first instructed to update KK, which I did. The update and subsequent upgrade had various difficulties, the specifics of which I do not recall. 10.04 ran,with various errors and abnormalities, for a couple days.
I have a Compaq Presario, SR1503WM with 750 meg of RAM. I normally boot to Ubuntu on my primary harddrive, but can redirect to a Win2K boot from the other drive. I'm in Windows now, sending this.
If I do a normal boot now, to Ubuntu, and select FF or Opera, I get "Could not Locate Remote Server". It suggests I uncheck "Work Offline". I do and this still gets me nowhere.
I went to System/Admin/Network Connections and all of the tabs were empty. In the WIRED tab, I clicked on ADD and a new WiredConnection1 was established, and,after reboot, is still there, but it does nothing.
I have a cable connecting me to the modem, haven't tried to install wireless yet. This has been sufficient for months, and as I said, still works for Windows.
I think I should go ahead and ReInstall 10.04LL. I upgraded without an install disk.
View 9 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Feb 23, 2010
I was trying to find and run the program from command line like calculaterbut i was unable to do these two thing togethet.i can find the path seperetly or i can find and run the program without seeing the pathI want to find and see the path and run it at the same time?
View 6 Replies
View Related
May 25, 2010
My goal is to find all pdf files on a remote machine, so I resort to the useful command find. So I type find .pdf or find .pdf" and I get nothing. I do the same on my machine and I get nothing. I do a regular search from the menu on my machine and I find quite a few pdf files. Would somebody please tell me what am I doing wrong?
View 5 Replies
View Related
May 14, 2010
I'm trying to find out which partition grub2 is installed in. Is there a command for this, as I suspect that I may have told it to install to the wrong partition during the upgrade from Karmic to Lucid, and now, I suspect that I've crippled the boot sector for my vista installation
View 6 Replies
View Related
Apr 26, 2010
Is there a way of enabling the locate command if you're not the root?
View 1 Replies
View Related
May 22, 2010
I used to be able to run locate and updatedb, but after an OpenSUSE update, they no longer work. I've reinstalled findutils and it appears to install correctly, but the commands still don't work.
server:/tmp # rpm -Uvh --force findutils-4.2.28-24.i586.rpm
Preparing... ########################################### [100%]
1:findutils ########################################### [100%]
[code]...
View 3 Replies
View Related
Oct 5, 2010
Code:
nnjond@nnjond-den:/$ cd /media/disk/Dual_Data/
nnjond@nnjond-den:/media/disk/Dual_Data$ ls
07_Magna_DOWNLOADS 21_TEMPS Peleas.htm
08_Self-Improvement 22_Desktop Pelleas.odt
[code]....
View 6 Replies
View Related
Dec 9, 2010
I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...
View 3 Replies
View Related
Feb 24, 2011
I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
View 5 Replies
View Related
Aug 22, 2011
How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt
View 1 Replies
View Related
Jul 5, 2010
I recently installed 10.04, in the process of installing MythTV... I'm looking for installed files and find bash no longer finds updatedb or locate commands. I did change /etc/hosts and /etc/hostname to change the name of the box. Could this have hosed those commands? I tried them as root... sudo -i, same result...
View 6 Replies
View Related
Sep 30, 2010
Is there a way to process the output of a locate command on the spot within bash. The output is 3 lines, ex:
Code:
[root@server confluence]# locate .timestamp
/opt/confluence/confluence-persistent/index/.timestamp
[code]....
View 3 Replies
View Related
Aug 27, 2010
My Wanda fish has died. When I click it says unable to locate command to execute. Can anyone tell me whats going on? lol.
View 4 Replies
View Related
Feb 10, 2010
I normally use the "locate" command to find files that I have on my local drive. However, if I wanted to do this for an external drive, how would I go about this?
From what little I know about Linux, I'm guessing that it creates a reference file from which it performs the search when the command is typed. If I'm right this is updated at a given interval or when "updatedb" is used?
As the external hard drive is not always mounted is it best to create another of these reference files and have a different command (e.g. locateext) or something? Or is it best to add the external hard drive's location to the list of files that get added with updatedb.
I'm running Fedora 11.
View 4 Replies
View Related
Jun 18, 2010
Code: cmd='date | wc'
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
View 4 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Apr 30, 2011
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
View 1 Replies
View Related
Oct 25, 2010
I tried
Code:
chown -R owner:group *
which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?
View 9 Replies
View Related
Feb 17, 2010
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 1 Replies
View Related
Feb 16, 2010
I am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 4 Replies
View Related
Oct 15, 2010
I'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:
This is what i have after my BEGIN
Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'
View 1 Replies
View Related
Jun 24, 2011
how do you write the ASCII character #27 in the vim command line?
View 6 Replies
View Related
May 4, 2010
Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample
Code:
yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.
View 6 Replies
View Related
Oct 29, 2010
I have made lvms with gentoo but my technique seems not to be working. I have a disk /dev/sdb1 which I made after the system install on disk /dev/sda1. I am trying this:vgscan
vgchnage -a ypvcreate /dev/sdb1lvm bitches out with:[yo@with]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ignored by filtering).X is not installed and system-config-lvm is not working with the command line.
View 5 Replies
View Related
May 8, 2010
How can we do everything, or as much as we can do, from the command line? In particular, I am trying to get rid of the top panel in Ubuntu. Because,
1) It takes unnecessary valuable space.
2) Even if I use a huge monitor, it introduces distraction to me while working.
I created a shortcut so that with a single keyboard key I can open a terminal. For example, if I want to restart the computer, I use: "sudo shutdown -r now". Or I can even create a shorter alias. So I do not need the logout menu. But my problem is, some programs put an icon on the top panel when they are working. So, what is the best way of using command line, and getting rid of the top menu.
View 5 Replies
View Related
Sep 5, 2010
I was wondring if 7zip still only runs in the command line. I searched and got a bunch of old threads like this: [URL].. but I'm not sure if that has changed since 2007. A GUI would be awesome.
View 2 Replies
View Related
Sep 17, 2010
I have a virtual private server that I SSH into. While I am using SSH, I need to be able to FTP from command line to another server. I want to do this in the easiest most sure way possible. (I am not using my real IP below for security.) I have tried the following commands.
sftp 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host
Couldn't read packet: Connection reset by peer
ssh 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host
View 5 Replies
View Related