Unix/Linux Go Back    

Showing results 1 to 25 of 500
Search took 0.10 seconds.
Search: Posts Made By: otheus
Forum: Emergency UNIX and Linux Support Linux 09-06-2017
Replies: 3
Views: 2,142
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 Linux 09-29-2016
Replies: 5
Views: 1,992
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 Linux 12-30-2015
Replies: 3
Views: 1,266
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 Linux 05-11-2015
Replies: 4
Views: 2,010
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 Linux 12-03-2014
Replies: 4
Views: 6,240
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 Linux 11-27-2014
Replies: 4
Views: 5,440
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 Linux 07-21-2014
Replies: 5
Views: 8,440
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 Linux 06-03-2014
Replies: 2
Views: 9,872
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 Linux 06-02-2014
Replies: 9
Views: 14,277
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 Linux 05-27-2014
Replies: 9
Views: 14,277
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 Linux 05-27-2014
Replies: 9
Views: 14,277
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 Linux 05-27-2014
Replies: 9
Views: 14,277
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 Linux 05-27-2014
Replies: 9
Views: 14,277
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 Linux 05-27-2014
Replies: 3
Views: 9,628
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 Linux 12-30-2013
Replies: 3
Views: 11,148
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 Linux 11-12-2013
Replies: 7
Views: 53,111
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 Linux 08-06-2013
Replies: 9
Views: 12,060
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 Linux 06-10-2013
Replies: 4
Views: 8,399
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 Linux 11-23-2012
Replies: 3
Views: 7,144
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 Linux 11-14-2012
Replies: 8
Views: 7,682
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 Linux 11-08-2012
Replies: 1
Views: 5,634
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 Linux 08-13-2012
Replies: 4
Views: 2,134
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 Linux 07-21-2012
Replies: 8
Views: 7,018
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 Linux 07-21-2012
Replies: 2
Views: 13,577
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 Linux 07-06-2012
Replies: 7
Views: 6,266
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 04:33 PM.