01-24-2013
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi Guys...
I have a problem of getting multiple LogWatch mails from my box. I have a cron setup to send me (and some other users) Logwatch report mail form our server. I end up getting multiple mails from all the boxes (other users have not complained of this). I cannot figure out why. I... (0 Replies)
Discussion started by: skotapal
0 Replies
2. UNIX for Dummies Questions & Answers
Hi all, can someone tell me the easiest was to get disk info from a console.
I manage headless servers, and would like to collect the specs on hard drives installed without looking it up through Sun.
The boot messages only tell me the size/name e.g. 'Sun36G'
I want to know the rotation... (1 Reply)
Discussion started by: mintzy
1 Replies
3. UNIX for Dummies Questions & Answers
Where should I go(the site) to get unix? Please tell me! (1 Reply)
Discussion started by: Katan
1 Replies
4. Programming
HI,
In unix we can get profile on a c program like this ::
cc -g -p -o cpp_sw_gsmconverter_shailesh5 cpp_sw_gsmconverter_shailesh5.c
prof cpp_sw_gsmconverter_shailesh5
In the same manner how can I collect statistics in linux using gcc command.
Thanks in advance. (1 Reply)
Discussion started by: chprvkmr
1 Replies
5. Solaris
Hi all
This is my first post in this forums. I hope some one can help me with this
my Sun Ultra 60 worked fine couple of months back when i used a dell (1280x1024). i move to a MN last month n bought a new sony monitor with (1280x1024) but when i connect it to the box it monitor displays... (1 Reply)
Discussion started by: venuavula
1 Replies
6. HP-UX
Hi,
I have a few questions.
There is a CORBA connection between 2 HP-UX 11.11i hosts.
Then the LAN of the 2nd host is pulled.
On the 1st host all connections disappear, as expected.
But on the 2nd host all connections still are present, as established.
With lsof one can see that the... (2 Replies)
Discussion started by: ejdv
2 Replies
7. Shell Programming and Scripting
i=1
out="_"
while
do
j=0
IN=""
while
do
IN="|"$IN
j=`expr $j + 1`
done
print -n $IN$out
i=`expr $i + 1`
done
Actual O/P:
|_||_|||_||||_|||||_Expected O/P:
|_
| |_
| | |_
| | | |_ (3 Replies)
Discussion started by: targetshell
3 Replies
8. Solaris
Hello,
I have enabled defaultfixed and added the net0 per the solaris 11 documentation. I'm able to ping outside like google and internally but I'm just not sure why the gnome network utility shows wired(net0) as disconnected. Any ideas? Thank you
---------- Post updated 04-08-15 at 08:47 AM... (0 Replies)
Discussion started by: solaris128
0 Replies
9. Shell Programming and Scripting
getting error as below while executing script in linux.
OS version:
Linux VGP-3GPSDB-LX 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
./imxtract.sh: line 395: unexpected EOF while looking for matching ``'
./imxtract.sh: line 402: syntax error:... (1 Reply)
Discussion started by: Riverstone
1 Replies
10. UNIX for Beginners Questions & Answers
My SSH to server got frozen after idle for a couple of hours.
My related configuration are:
In my /etc/ssh/sshd_config:
------------------------------------------
ClientAliveInterval 30
ClientAliveCountMax 4
TCPKeepAlive yes
------------------------------------------
and my ~/.ssh/config:... (6 Replies)
Discussion started by: yifangt
6 Replies
netrc(5) File Formats Manual netrc(5)
Name
netrc - file used by ftp auto-login procedure (.netrc)
Description
The file contains frequently needed options for transfers. The file resides in the owner's home directory on the machine from which the
owner initiates the file transfer. If the file includes passwords, set permissions on the file with so that only the owner has read per-
mission.
The file uses the following format:
o Each line of the file defines options for a specific machine.
o A line in the file can be either a machine line or a default line.
o The default line must be the first line in the file if it is present.
o Fields in a default line appear in this order: default, default machine name.
o Fields in a machine line appear in this order: machine, machine name, options.
o Fields on each line are separated by spaces or tabs.
The following are valid options for a machine line:
-------------------------------------------------------------------
Option Parameter Default Description
-------------------------------------------------------------------
machine machine name none Identifies a remote
machine name
login name local name Identifies user on the
remote machine
password password none Password for remote
login name
account password none Additional account password
macdef macro name none Defines a macro like the
ftp macdef command
-------------------------------------------------------------------
Example
This is an example of a file:
machine cactus login smith
machine nic.ddn.mil login anonymous password anonymous
machine palm.stateu.edu login smith password ualonerwelcome
macdef byenow
quit
macdef ls
dir
The first line allows to log Smith into the machine after prompting for and receiving Smith's password, as shown in this example:
$ ftp cactus
Connected to cactus.tech.edu
FTP server ready.
Password required for SMITH.
User logged in
ftp>
The second line of the file allows the user to perform an anonymous transfer after typing this command:
$ ftp nic.ddn.mil
See for a description of anonymous FTP transfers.
The third line allows Smith to log into the machine Smith will not be prompted for a password because this machine line includes password
information. Because the file includes password information, the file must not have read permission set for world and group.
The lines are macro definitions, which operate much like shell aliases. A blank line must follow each macro definition to signal the end
of the macro. The first macro definition defines as an alias for the command.
See Also
ftp(1c)
netrc(5)