Search Results

Search: Posts Made By: duckeggs01
Forum: Red Hat 09-11-2012
2,396
Posted By duckeggs01
sftp jail chroot env setup
Hi

I need a specific user to be able to sftp to a server and get files from a specific location. The location is not the users home dir, i don't want the user to be able to view anything else...
70,263
Posted By duckeggs01
Cool thanks for the input
Cool thanks for the input
70,263
Posted By duckeggs01
Hi With the two variables created from the...
Hi

With the two variables created from the awk statement I would like to feed them into another command set eg lpadmin -L $var1 -D$var2.

I was attempting to do it with the following ;
awk -F...
70,263
Posted By duckeggs01
awk output to multiple variables
Hi

I need to assign the ouput of a awk statement to two variables; below is a example of the txt file i have which I use awk against

sample file
testval,USA,loc2,testing02...
Forum: Red Hat 04-11-2012
26,529
Posted By duckeggs01
Hi Thanks for your reply I will def...
Hi
Thanks for your reply

I will def update my menu tonight with what you have suggested. I am 100% sure that the vmlinux and initr files are in place. The rhel6.1 directory also is withint he...
Forum: Red Hat 04-09-2012
26,529
Posted By duckeggs01
pxe boot server
Hi

Hoping someone can help ove setup a pxe/dhcp boot server for auto installs on centos My server seems to be providing dhcp fine but the installation fails to progress when it reaches the pxe...
Forum: Red Hat 03-19-2012
2,243
Posted By duckeggs01
Sudo to execute script without passwd[solved]
Hi

Hope someone can sched some light i'm trying to execute a script via sudo but i don't want to be prompted for a password when i run the script using sudo

my sudo entry does work in that...
2,754
Posted By duckeggs01
Worked a treat many thanks
Worked a treat many thanks
2,754
Posted By duckeggs01
Find query
when i search for a file using find i want to be able to cd to the directory of the file

simple find i'm using is
find . -name <filename> the output is the full path to the file, i want to use...
6,403
Posted By duckeggs01
Many thanks to both, the nawl works well on my...
Many thanks to both, the nawl works well on my solaris env. Just out of interest what would be the valid options for ksh using standard awk (just curiosity )
Thanks Again
6,403
Posted By duckeggs01
Hi Just tried your method, it seems my...
Hi

Just tried your method, it seems my shell does not like the awk options -vx the script is defined as a ksh script

error is invalid option -v

Thanks
6,403
Posted By duckeggs01
Hi That works, I would want this to work via a...
Hi
That works, I would want this to work via a script,
my original script was simple ;
echo "enter val "
read answer
cat files | grep $answer

obviously the above did'nt get the correct...
6,403
Posted By duckeggs01
Grep wholenumbers / decimals
Hi I have a large file in which I need to search for certain whole numbers and print the whole line. I'm currently trying this via command line using grep but grep is also matching the decimal values...
Showing results 1 to 13 of 13

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