Search Results

Search: Posts Made By: lwif
3,810
Posted By lwif
Thanks...
The program is working now. Turns out I was missing a "." in front of the directory to be tar'd.
3,810
Posted By lwif
Excluding a file from tar...
The title is not as easy as it sounds.... I am trying to exclude and file while ssh and untaring the file on the fly.

The command I am using is... The command typically works but recently I've add...
Forum: Solaris 04-20-2010
3,346
Posted By lwif
rotating a log yearly
Hi,

I am having some troubles using /usr/sbin/logadm to rotate sulog yearly. Can someone please assist with the correct syntax to rotate the sulog yearly? I'd like to maintain up to 3 years of...
2,075
Posted By lwif
Thanks! I will give this a try in a bit.
Thanks! I will give this a try in a bit.
2,075
Posted By lwif
I think I understand, but do you have any...
I think I understand, but do you have any examples? Is there an industry name for this type of operation?
2,075
Posted By lwif
menu selections
I am trying to find a way to allow users to select multiple options in a shell menu. I am using case and it gives menu options 1-9, how can I set this up so that it give the user the ability to...
5,883
Posted By lwif
What happens when oracle logs in from putty? I...
What happens when oracle logs in from putty? I still need the "title" code to run for all users but the code can't be run when su'ng as oracle or any other user.

Bypassing and specific command in...
5,883
Posted By lwif
I need to use su - oracle this is a requirment...
I need to use su - oracle this is a requirment and I can't change it.
5,883
Posted By lwif
I tried using "awk 'NR==1{next}1'" but I get this...
I tried using "awk 'NR==1{next}1'" but I get this error -
awk: syntax error near line 1
awk: bailing out near line 1

I would rather not edit the scripts - becasue there are many. I want to be...
5,883
Posted By lwif
Ignore "a line" within /etc/profile only when su'ing
Is there a way to ignore a command within /etc/profile only when su'ing as any particular user.

For instance....

As root, if I run "su - oracle -c program" it is running a string in my...
85,649
Posted By lwif
Putty Title...
Thanks, this will work but I was looking for something that was more transparent to other users. The idea of SSH as an alias was mention by "Smiling Dragon". I think this would work but I'd have to...
10,475
Posted By lwif
Thanks!
Smiling Dragon, thanks for this information. How would I create a wrapper script... is this just a regular script my ssh program calls?
10,475
Posted By lwif
putty title window?
I have implemented the solution from mschwage located in post https://www.unix.com/unix-advanced-expert-users/35784-change-putty-title-window.html; ie

wt ()
{
echo -n "^[]2;${@}^G"
}
...
85,649
Posted By lwif
I am new to this forum and hope I am placing this...
I am new to this forum and hope I am placing this in the correct spot....

I have implemented the solution mschwage described in his post; ie

wt ()
{
echo -n "^[]2;${@}^G"
}

This...
Showing results 1 to 14 of 14

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