Search Results

Search: Posts Made By: zazzybob
Forum: What is on Your Mind? 10-02-2017
6,281
Posted By zazzybob
So they can make sure you're not looking in...
So they can make sure you're not looking in books, using crib notes, talking to people, using a phone, etc.

The screen is also shared (hence the browser plugin), so that your browsing session is...
Forum: What is on Your Mind? 10-02-2017
6,281
Posted By zazzybob
Hi, Long time since I last posted here. 4...
Hi,

Long time since I last posted here. 4 years actually.

Anyway, I now work on the Certification team at the Linux Foundation. We offer LFCS (LF Certified System Administrator) and LFCE (LF...
2,366
Posted By zazzybob
Using sed: $ sed 's/^[^=]*= \([^ ]*\)[...
Using sed:


$ sed 's/^[^=]*= \([^ ]*\)[ ]*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1 \2/' foo.txt
cmiHOST06 10.26.107
cmiHOST05 10.26.12
cmiHOST05 10.26.1


Cheers,
ZB
2,927
Posted By zazzybob
Just redirect the output to a file. $...
Just redirect the output to a file.


$ ./foo.sh > foo.output


Not sure what you mean by "file ar also reading but output is no showing". The script generates output for me.
2,927
Posted By zazzybob
As long as you specify the correct path to your...
As long as you specify the correct path to your input file in the file variable in the script, it should work. In the example below the input file is foo.txt and it exists in the same directory as...
2,927
Posted By zazzybob
This will sort your Branch codes alphabetically -...
This will sort your Branch codes alphabetically - not sure if you'd care about that...


crabshack:foo toki$ cat foo.txt
BI M IT056868 UNICREDI VIA LIBHIA UNCRIT2B XXX UNCR
BI M US001165...
Forum: Red Hat 02-18-2013
6,572
Posted By zazzybob
Can you ping the host? No route to host...
Can you ping the host?

No route to host literally means just that - the client is unable to reach the server.
Forum: Solaris 02-13-2013
1,455
Posted By zazzybob
I'd suggest the following (if all you've done is...
I'd suggest the following (if all you've done is the metaroot, lockfs and reboot parts of a typical UFS mirroring procedure):

* Boot from DVD media or network
* Mount the original root disk at /a...
5,667
Posted By zazzybob
You could do this with Expect (Expect - Expect -...
You could do this with Expect (Expect - Expect - Home Page (http://expect.sourceforge.net/)).
Forum: Red Hat 02-08-2013
3,280
Posted By zazzybob
Oracle software produces a list of missing...
Oracle software produces a list of missing prerequisite packages - check the eBusiness suite documentation for required prereqs if not.

Don't you mean /etc/resolv.conf?

How did you set this?...
1,396
Posted By zazzybob
Something like # env | sort -t= -k1 | grep...
Something like

# env | sort -t= -k1 | grep '^[M-S][^=]*='
MAIL=/var/spool/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
PWD=/root
SHELL=/bin/bash...
Forum: Hardware 02-08-2013
3,504
Posted By zazzybob
As you're experiencing errors across both disks...
As you're experiencing errors across both disks now, are you sure it isn't a controller issue? Presuming the server is still under support you should get Oracle to look at it ASAP.

Run prtdiag too...
2,336
Posted By zazzybob
Unmount all the filesystems, then mv the...
Unmount all the filesystems, then mv the directories to their correct names, update /etc/fstab with the updated mountpoints, mount the filesystems.
Forum: Filesystems, Disks and Memory 02-07-2013
6,825
Posted By zazzybob
Have you tried an lvremove to remove it?
Have you tried an lvremove to remove it?
2,540
Posted By zazzybob
Hi, Moving a text file just renames the text...
Hi,

Moving a text file just renames the text file - no conversion is happening.

You'll need to consult the tools available on your system - for example on most modern Linux systems you can use...
Forum: Linux 02-06-2013
2,460
Posted By zazzybob
Correct - no boot.iso is required.
Correct - no boot.iso is required.
14,234
Posted By zazzybob
Some of these may not be such a disaster. You may...
Some of these may not be such a disaster. You may have edited your GRUB menu.lst, for example.

miniroot-safe doesn't sound so benign - if you want to boot failsafe you'll need a working copy of...
Forum: Red Hat 02-06-2013
4,197
Posted By zazzybob
What does rpm -qi <package> return? The RPM...
What does rpm -qi <package> return? The RPM database may be corrupt - you can run an rpm --rebuilddb to rebuild the RPM database, but read the documentation and understand the implications before...
1,064
Posted By zazzybob
Use a counter in a loop: bash-3.2$ i=1 ...
Use a counter in a loop:


bash-3.2$ i=1
bash-3.2$ while [ "$i" -le "1000" ]; do
> echo "http://upload.com/${i}/${i}.txt"
> (( i = i + 1 ))
> done
...
http://upload.com/998/998.txt...
Forum: Linux 02-06-2013
2,460
Posted By zazzybob
You just need to download the one (or sometimes...
You just need to download the one (or sometimes two - especially with RHEL6.x) DVD .iso images for the particular RHEL release and architecture, burn them to DVDs, and away you go.

For example,...
Forum: Red Hat 02-02-2013
26,490
Posted By zazzybob
Does grep GATEWAY...
Does


grep GATEWAY /etc/sysconfig/network-scripts/ifcfg-eth*


return anything? It might be defined twice.
Forum: Red Hat 02-02-2013
3,708
Posted By zazzybob
IPTABLES_MODULES in...
IPTABLES_MODULES in /etc/sysconfig/iptables-config should be updated to include a space-separated list of modules to load - so in your case:


IPTABLES_MODULES=”ip_conntrack_netbios_ns...
3,206
Posted By zazzybob
UNIX (and its shells) provides appropriate tools...
UNIX (and its shells) provides appropriate tools for a myriad of tasks. In this instance, the if/else construct is appropriate.

Try a different example using case if you want to learn how it works...
3,206
Posted By zazzybob
Why must you use the case construct? This smells...
Why must you use the case construct? This smells like homework. If this were a "real world" requirement, case is not required here, an if/else would do the job.

In any case, your syntax is totally...
Forum: Programming 02-01-2013
3
1,411
Posted By zazzybob
There are many resources available - but...
There are many resources available - but W3Schools was my go-to resource when I was starting out learning HTML/XHTML and CSS.
Showing results 1 to 25 of 500

 
All times are GMT -4. The time now is 10:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy