Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: matt.d
1,250
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,333
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
2,958
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,169
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,675
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.
1,881
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
7,990
Posted By matt.d
First start off in /var/adm/syslog/syslog.log
First start off in /var/adm/syslog/syslog.log
17,205
Posted By matt.d
Edit: My code is garbage....go with the above...
Edit: My code is garbage....go with the above post. ;)
6
1,872
Posted By matt.d
Sounds like a homework question... Take the...
Sounds like a homework question...

Take the program in pieces. Start simple
9,621
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.
9,621
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,035
Posted By matt.d
Untested - do not try it, just thinking. ...
Untested - do not try it, just thinking.


/tmp/bin/mv * ../
5,237
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
9,769
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
9,769
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?
5,237
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
5,570
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}'
5,451
Posted By matt.d
What does your log look like?
What does your log look like?
2,813
Posted By matt.d
crontab -l 0 * * * * /path_to_script 1>...
crontab -l

0 * * * * /path_to_script 1> /dev/console
1,214
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! :)
7,697
Posted By matt.d
ifconfig interface example: ifconfig eth0
ifconfig interface

example: ifconfig eth0
9,814
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:

...
40,050
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
1,939
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...
29,079
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

 

Featured Tech Videos

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