×
UNIX.COM Login
Username:
Password:  
Show Password






👤

Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: otheus
Forum: Emergency UNIX and Linux Support 09-06-2017
Replies: 3
Views: 2,364
Posted By otheus
Most *NIX systems (AIX, Linux, Solaris, BSD) have...

Most *NIX systems (AIX, Linux, Solaris, BSD) have some kind of system and accounting records. You can run sar to see if it is properly deployed on your system. If you run it and get loads of output,...
Forum: Emergency UNIX and Linux Support 09-29-2016
Replies: 5
Views: 2,254
Posted By otheus
So, just upgrade to latest coreutils version. ...

So, just upgrade to latest coreutils version.

What -n r/K/N does is print every K/Nth line. If K = 1 and N =2, you the first line, then every 2nd line after to the end of the stream. With K = 1...
Forum: Emergency UNIX and Linux Support 12-30-2015
Replies: 3
Views: 1,360
Posted By otheus
Simple: sh scriptname Now, you have...

Simple:

sh scriptname

Now, you have some interesting options. You can log all the output and error to a file:

sh scriptname &> all-output.log

An important option is '-x' which will log...
Forum: Emergency UNIX and Linux Support 05-11-2015
Replies: 4
Views: 2,160
Posted By otheus
Traditionally, you must specify a device....

Traditionally, you must specify a device. Therefore

tcpdump -i eth0 -w /tmp/syn.pcap 'tcp[tcpflags] & (tcp-syn) != 0'


But that assumes you want it from eth0. Maybe you want it from wlan0. But...
Forum: Emergency UNIX and Linux Support 12-03-2014
Replies: 4
Views: 6,360
Posted By otheus
This question is too vague (I don't think Jim...

This question is too vague (I don't think Jim interpreted it correctly). Perhaps you mean "which users are allowed to execute what commands" in a sudoers file? If that is indeed the question, the...
Forum: Emergency UNIX and Linux Support 11-27-2014
Replies: 4
Views: 5,530
Posted By otheus
Yeah you combine but only ONE pair of...

Yeah you combine but only ONE pair of SINGLE-QUOTE marks (')....


sed 's/|/","/g; s/^/"/; s/$/"/; s/"="/="/g; s/""~/"/g' A4.txt > A5.csv

Also, to prevent double quotes at the beginning and end...
Forum: Shell Programming and Scripting 07-21-2014
Replies: 5
Views: 9,031
Posted By otheus
Perhaps your pager provider has an email gateway?...

Perhaps your pager provider has an email gateway?

If not, you must set up a modem of some sort and use some kind of program that will work with it.

A more general solution is to use something...
Forum: Emergency UNIX and Linux Support 06-03-2014
Replies: 2
Views: 9,908
Posted By otheus
This is a really vague question. What kind of...

This is a really vague question. What kind of suggestions are you looking for?
Forum: Emergency UNIX and Linux Support 06-02-2014
Replies: 9
Views: 14,567
Posted By otheus
Do you know for sure that you can mount...

Do you know for sure that you can mount /home/nisuser on this host?

Try (as root):

mkdir /mnt/nisuser
chmod 755 /mnt/nisuser
mount titanium:/home/nisuser /mnt/nisuser
ls -l /mnt/nisuser
...
Forum: Emergency UNIX and Linux Support 05-27-2014
Replies: 9
Views: 14,567
Posted By otheus
OK, the problem is ... you were still in /home...

OK, the problem is ... you were still in /home when you removed it.

1. Log out from all other users.
2. As root, change dir to /root or /
3. Run lsof /home. If there are processes listed, kill...
Forum: Emergency UNIX and Linux Support 05-27-2014
Replies: 9
Views: 14,567
Posted By otheus
There is a caveat to working with autofs: The...

There is a caveat to working with autofs: The top-level directory must not exist before autofs is started. Try this (on the client): NOTE: THIS WILL DESTROY EVERYTHING IN /HOME ON THE CLIENT

...
Forum: Emergency UNIX and Linux Support 05-27-2014
Replies: 9
Views: 14,567
Posted By otheus
So autofs builds on NFS in the way that each...

So autofs builds on NFS in the way that each directory will be mounted "on demand" and unmounted after a few minutes of inactivity. It is largely a pointless technology, but it still has its uses....
Forum: Emergency UNIX and Linux Support 05-27-2014
Replies: 9
Views: 14,567
Posted By otheus
You're confounding NIS with NFS. The former...

You're confounding NIS with NFS. The former allows hosts to share information services such as the user database and hostnames. The latter allows home directories to be shared (for instance).

The...
Forum: Emergency UNIX and Linux Support 05-27-2014
Replies: 3
Views: 9,659
Posted By otheus
The Masquerading setup will do this for you. ...

The Masquerading setup will do this for you.
So the modern way of configuring sendmail is through the distributed m4 scripts; to convert those to the configuration, you need to install...
Forum: Emergency UNIX and Linux Support 12-30-2013
Replies: 3
Views: 11,194
Posted By otheus
The two most common problems in this situation...

The two most common problems in this situation are:
1. Dependency on an unreachable network resource, ie, NFS, NIS, LDAP
2. Bad disk

Per the previous post, boot into "single user mode". This...
Forum: UNIX for Advanced & Expert Users 11-12-2013
Replies: 7
Views: 56,481
Posted By otheus
RedHat I recently ran into this problem. The solution...

I recently ran into this problem. The solution offered here (and elswhere on the Internet) insufficiently failed to answer it. I had to dig deep to find it.

Depending on the precise server...
Forum: Emergency UNIX and Linux Support 08-06-2013
Replies: 9
Views: 12,127
Posted By otheus
User agn takes the approach I would, but FYI: but...

User agn takes the approach I would, but FYI: but he has a coding error.



for f in *txt.xls; do suffix=${f#*.}; p=${f%.$suffix}; echo mv $f ${p}_$(date +%Y%m%d_%H%M%S%N).${s}; done

This code...
Forum: UNIX for Dummies Questions & Answers 06-10-2013
Replies: 4
Views: 8,963
Posted By otheus
Make sure sshd is actually running. For instance...

Make sure sshd is actually running. For instance ps auxww|grep sshd
Make sure sshd is running on port 22. In some OS's like Linux, that's netstat -anp | grep :22
Check the firewall settings. If...
Forum: Emergency UNIX and Linux Support 11-23-2012
Replies: 3
Views: 7,186
Posted By otheus
I have no idea how this helps recover the root...

I have no idea how this helps recover the root password, but ok.

The code is fixed with:
DISPLAY=11.22.33.44:0.0
export DISPLAY
The numvers must be filled in with the terminal's IP address.
Forum: Emergency UNIX and Linux Support 11-14-2012
Replies: 8
Views: 7,735
Posted By otheus
Might be simpler to let awk do the calculation,...

Might be simpler to let awk do the calculation, and let the script's input parameters be used in the normal sense.
This code looks longer, because I added lots of checking, but the functional part...
Forum: Emergency UNIX and Linux Support 11-08-2012
Replies: 1
Views: 5,677
Posted By otheus
Power You probably want to do something like this: ...

You probably want to do something like this:

First, add a soft link from /bin/false to /usr/bin/nologin

Next, have a list of user-names in a text file, one name per line. Then prepare the...
Forum: Emergency UNIX and Linux Support 08-13-2012
Replies: 4
Views: 2,160
Posted By otheus
"man ps" so you can learn the various options you...

"man ps" so you can learn the various options you need for sorting and displaying the fields you are interested in. As noted by others above, these options vary slightly from system to system. (ie,...
Forum: Emergency UNIX and Linux Support 07-21-2012
Replies: 8
Views: 7,161
Posted By otheus
gull04 and jlliagre are most probably correct. If...

gull04 and jlliagre are most probably correct. If you need a place to store stuff, here's what you can do in the mean-time:

Check the diskspace of /tmp and /var/tmp. Use df:

df /tmp /var/tmp
...
Forum: Emergency UNIX and Linux Support 07-21-2012
Replies: 2
Views: 13,939
Posted By otheus
my $fcell = $worksheet->get_cell($row, 11); ...

my $fcell = $worksheet->get_cell($row, 11);
my $name = $fcell->value();

What's probably happened is that get_cell() returned an undefined object (perhaps because that cell was...
Forum: Emergency UNIX and Linux Support 07-06-2012
Replies: 7
Views: 6,359
Posted By otheus
Remove this servers' IP addresses from...

Remove this servers' IP addresses from resolv.conf, and further, stop and disable the named service on it. After this, your host will use only the master and slave DNS servers and so should always be...
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 12:12 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.