9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everyone,
This code is working right using mate-terminal but with xfce4-terminal for some reason, it open up an extra tab...
Could someone please help me out to understand why this is happening?
#!/bin/bash
cd "$(dirname "$0")"/files
tab=" --tab"
title=" --title"
options=()... (2 Replies)
Discussion started by: soichiro
2 Replies
2. Shell Programming and Scripting
Ever since I added these two code blocks to my bash menu it just opens and closes right away. I use a batch file that worked fine until these codes were added and I am not sure what is wrong.
Basically, what I am trying to do in the additional section is if the answer is "Y" then it goes back... (13 Replies)
Discussion started by: cmccabe
13 Replies
3. OS X (Apple)
Hi there,
If we have 2 apps on our customers machines that can both open files of a certain file extension, is there any way via shell commands to set which application should be the default?
Essentially, I'm hoping to replicate Get Info > Open With > Change All, but using a script.
Thanks... (0 Replies)
Discussion started by: davewg
0 Replies
4. Shell Programming and Scripting
Any Idea without entering any keystroke I can go to end of line in vi when I opening the file.
When I am opening Vi I want to goto last line.
when I give vi + filename it does not work.
Any clue why it does not work.
Thanks. (3 Replies)
Discussion started by: ekb
3 Replies
5. IP Networking
Hi all,
I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux?
Thanks in Advance,
Pankajakshan (2 Replies)
Discussion started by: Pankajakshan
2 Replies
6. Linux
Hi all,
I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux?
Thanks in Advance,
Pankajakshan (1 Reply)
Discussion started by: Pankajakshan
1 Replies
7. UNIX for Dummies Questions & Answers
hello everybody
I´m very new at shell and programming :eek: and i have the following question/problem:
I need a script for framemaker (based on shell) which opens a new document from a template (.fm). Then imports a .doc file and then save it as a .mif.
Actually my script works with one... (3 Replies)
Discussion started by: tio86
3 Replies
8. AIX
When I login to a unix box using a putty session , I'm landed in a vi editor, instead of my home directory,I'm guessing instead of pointing me to my home directory, the system points me to /usr/bin/vi. As a result, everytime I log into the system I open up a vi editor and am in there. how do i... (3 Replies)
Discussion started by: ramky79
3 Replies
9. UNIX for Dummies Questions & Answers
when ever I try to vi a file that resides on another machines it takes forever for it to open. Does anyone have any ideas why it would be doing this? I have 7 unix machines and the only two that do this are both running tru64. (6 Replies)
Discussion started by: Moca4444
6 Replies
GEOIPLOOKUP6(1) General Commands Manual GEOIPLOOKUP6(1)
NAME
geouplookup6 - look up country using IP Address or hostname
SYNOPSIS
geouplookup6 [-d directory] [-f filename] [-v] <ipaddress|hostname>
DESCRIPTION
geouplookup6 uses the GeoIP library and database to find the Country that an IP address or hostname originates from. You must install a
database suitable for geoiplookup6. IE: GeoIPv6.dat
For example:
geouplookup6 2001:4860:0:1001::68
geoiplookup6 ipv6.google.com
will find the Country that 2001:4860:0:1001::68 originates from, in the following format:
US, United States
OPTIONS
-f Specify a custom path to a single GeoIP datafile.
-d Specify a custom directory containing GeoIP datafile(s). By default geouplookup6 looks in /usr/share/GeoIP
-v Lists the date and build number for the GeoIP datafile(s).
AUTHOR
Written by T.J. Mather
REPORTING BUGS
Report bugs to <support@maxmind.com>
COPYRIGHT
Copyright (C) 2008 MaxMind, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
geoipupdate(1), nslookup(1).
4th Berkeley Distribution 28 Oct 2008 GEOIPLOOKUP6(1)