Search Results

Search: Posts Made By: matt.d
1,516
Posted By matt.d
DistroWatch.com: Put the fun back into computing....
DistroWatch.com: Put the fun back into computing. Use Linux, BSD. (http://www.distrowatch.com)
1,615
Posted By matt.d
Sorry dude, can't post test/homework questions...
Sorry dude, can't post test/homework questions here. You should google shell test syntax for clues.
Forum: Filesystems, Disks and Memory 06-26-2008
3,263
Posted By matt.d
I'm pretty sure you erased the volume's label,...
I'm pretty sure you erased the volume's label, which is preventing the OS from determining what the size is, the type of filesystem, etc.

For detailed info on the dd command (or any other UNIX...
2
10,556
Posted By matt.d
\s is shorthand for any whitespace (tab, space,...
\s is shorthand for any whitespace (tab, space, newline). And, because there's no qualifier telling it how many to match, it just means the first whitespace in the line.

Because the ^ (carat) is...
1,985
Posted By matt.d
After you login, .profile is read. That's just...
After you login, .profile is read. That's just the default behavior.



PPID refers to the parent process ID. Processes with a PPID of 0 belong to the kernel.
2,262
Posted By matt.d
Linux DistroWatch.com: Put the fun back into...
Linux

DistroWatch.com: Put the fun back into computing. Use Linux, BSD. (http://www.distrowatch.org)
Forum: HP-UX 06-03-2008
9,939
Posted By matt.d
First start off in /var/adm/syslog/syslog.log
First start off in /var/adm/syslog/syslog.log
21,300
Posted By matt.d
Edit: My code is garbage....go with the above...
Edit: My code is garbage....go with the above post. ;)
6
2,061
Posted By matt.d
Sounds like a homework question... Take the...
Sounds like a homework question...

Take the program in pieces. Start simple
10,012
Posted By matt.d
You are correct. The | is a pipe. ...
You are correct. The | is a pipe.



Yes. As far as I know, the | character is only used to "pipe" output to another command.
10,012
Posted By matt.d
A pipe is represented by the | character. It...
A pipe is represented by the | character. It uses the output of the command to the left of it as the input to the command on the right of it.

Example: Say you want to look at all of the...
2,360
Posted By matt.d
Untested - do not try it, just thinking. ...
Untested - do not try it, just thinking.


/tmp/bin/mv * ../
6,693
Posted By matt.d
Issue resolved
Looks like part of the disk is bad:


# dd if=/dev/dsk/c1t9d0 of=/dev/null
dd read error: I/O error
142780+0 records in
142780+0 records out
10,102
Posted By matt.d
Please post the output of anything in...
Please post the output of anything in /var/adm/syslog/syslog.log at around 4:00 AM and ps -ef | grep cron
10,102
Posted By matt.d
Maybe there are errors the script(s) that are...
Maybe there are errors the script(s) that are cronned. Do the things that are cronned run on their own without errors?
6,693
Posted By matt.d
Problem syncing logical volume in root vg
Hello. I have a test server that I'm messing around with, and just recently received an error on startup that a logical volume in the root volume group couldn't be re-synchronized. Server boots...
Forum: HP-UX 04-02-2008
6,430
Posted By matt.d
See if this meets your requirements: ls...
See if this meets your requirements:


ls -altR | awk '{print $9 ": " $6 "-" $7 "-" $8}'
6,226
Posted By matt.d
What does your log look like?
What does your log look like?
3,037
Posted By matt.d
crontab -l 0 * * * * /path_to_script 1>...
crontab -l

0 * * * * /path_to_script 1> /dev/console
1,395
Posted By matt.d
grep -c string /etc/passwd counts the...
grep -c string /etc/passwd counts the occurrences of a particular string. So if grep -c returns 0, the user doesn't exist.

Edit: Era beat me to it! :)
9,589
Posted By matt.d
ifconfig interface example: ifconfig eth0
ifconfig interface

example: ifconfig eth0
12,144
Posted By matt.d
I'm not quite clear on something. First you said...
I'm not quite clear on something. First you said



Then you said



So I'm a little confused. At any rate, you specify the number of seconds you want the cmd to sleep. For example:

...
43,391
Posted By matt.d
Some ports are OS specific, and it also depends...
Some ports are OS specific, and it also depends on the version of Oracle you are running. TNS is standard across all OS's (as far as I know) for 10gR2.

Check out this document...
3
2,183
Posted By matt.d
You are checking whether or not the UNIX command...
You are checking whether or not the UNIX command completed successfully. $? does not report a mysql exception. Since the command got you into mysql successfully, the return code was 0. From my...
30,295
Posted By matt.d
1. Not sure why they are using 1023, quite...
1. Not sure why they are using 1023, quite frankly.

2. If you have GB of files, divide x (or tot in my example) by 1073741824

3. %4.2f\n:

% is prefix to a format code
4 means four...
Showing results 1 to 25 of 60

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