Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: SemiOfCol
59,590
Posted By SemiOfCol
don't forget the \; at the end of the exec...
don't forget the \; at the end of the exec command. It always errors out unless it is there. You also have an extra . in the command.

find /home/xxx/yyy/ -mtime -7 -type f -exec mv {}...
1,834
Posted By SemiOfCol
Special Characters
I am sure this has been brought up before, but people new to Unix may not be aware of it. There are two special characters that should be avoided at all costs when creating a password. This may not...
1,364
Posted By SemiOfCol
The "!" is part of a heredoc function. Normally...
The "!" is part of a heredoc function. Normally in an FTP script, I do something like this:

ftp -vn >> /folder/logfile.log << !
open site
user user password(if needed)
cd /folder/
pwd
mput...
Forum: HP-UX 08-02-2005
4,400
Posted By SemiOfCol
Thanx for the reply. I thought it might be...
Thanx for the reply.

I thought it might be the grep program (actually the pcre since that needs to be installed first), but I tried installing other programs as well. None of them work and all of...
Forum: HP-UX 08-02-2005
4,400
Posted By SemiOfCol
swinstall error
Our company recently purchased a couple of rp3440 machines. They arrived with HPUX 11.11 installed. The default setup has /lib as a symbolic link to /usr/lib.

I wanted to use some of the enhanced...
12,503
Posted By SemiOfCol
Obviously the "which" command is using a...
Obviously the "which" command is using a different path variable than PATH. I am not an expert in csh (I prefer bash), but I remember reading somewhere that the c-shell had a shell variable path and...
Forum: HP-UX 07-01-2005
2,972
Posted By SemiOfCol
My Apologies
Thanx for setting me straight about slocate. Because many Linux boxes use locate as an alias for slocate, I thought that my Unix box did the same. I was wrong.

I can not find any binary depot for...
Forum: HP-UX 07-01-2005
2,972
Posted By SemiOfCol
Findutils
Slocate is part of the GNU FindUtils package. The FindUtils 4.2.2 is available on HP Porting and Archive pages.

I know that when I searched for slocate on those pages, it came up empty. However,...
3,578
Posted By SemiOfCol
There are a couple of ways to fix this. First,...
There are a couple of ways to fix this. First, remember that the / between tmp and work is seen as a separator. So you can use
:%s/$/ \/tmp\/work\//

or you could change the separator like...
Forum: Linux 06-27-2005
100,207
Posted By SemiOfCol
Check the httpd.conf file
You have probably already checked this, but jut to make sure, make sure that in your Apache configuration file that the cgi-bin directory is set properly.

For example if you have in your...
5,295
Posted By SemiOfCol
My Understanding
As I understand it, history -c clears the history from the shell environment. It does not clear the .bash_history file. It probably clears the environment variable and then re-reads the .bash_history...
2,774
Posted By SemiOfCol
Depends on the version of grep
You can use grep --version to tell which version you are on.

the GNU grep I have (2.5a and 2.5.1) can use -r for a recursive search.

grep -r "search text" * will search the current directory...
15,970
Posted By SemiOfCol
My Bash Prompt
In bash there are several shortcuts you can use. My prompt looks like this:

PS1="[\u@\h \w]\$ "

which produces
[username@server workingdir]$

You can add color to them as well. There are...
Forum: What is on Your Mind? 06-23-2005
15,148
Posted By SemiOfCol
Obvious
I would think my nick would be obvious.

;
Forum: HP-UX 06-10-2005
6,841
Posted By SemiOfCol
Thanx for the help, Cristian. I was not aware of...
Thanx for the help, Cristian. I was not aware of the vgcfgbackup and would have been lost without it.

Perderabo,
Based on the info from Syslog, would you do a drive replacement? Or should I be...
Forum: HP-UX 06-07-2005
6,841
Posted By SemiOfCol
Here is the exact error message from Syslog. (I...
Here is the exact error message from Syslog. (I could not find cstm on my system).

Jun 7 06:02:04 nvidev vmunix: xvfs: mesg 016 : vx_ilisterr - /fs5 file system error readin inode 473
Jun 7...
3,084
Posted By SemiOfCol
Joseph, the "<<- !" in line 12 is basically...
Joseph,

the "<<- !" in line 12 is basically the start of what gets sent to the ftp log. Right below the "quit" line you should have the terminating string to say when to stop sending the output...
Forum: HP-UX 06-07-2005
6,841
Posted By SemiOfCol
Disk Failure
I am new to being a Unix admin and have a question about replacing some hardware. I have a K class box using HP-UX 10.20 with three disks. Two of the drives are in one logical volume. Every 3 or 4...
Showing results 1 to 18 of 18

 

Featured Tech Videos

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