First  |  Prev |  Next  |  Last
Pages: 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
zsh or ksh glob for directories and symlinks to directories
I'm searching for a glob that can expand to directories and symlinks to directories (or optionally the linked directories). I'm doubtful this is possible as a simple glob. Example of zsh globbing for directories, but which fails on symlinks to directories /usr/local/*/{bin,sbin}(#q/) ... 15 Jan 2010 03:54
Time Difference - Comparison
Greetings, I have a file with following format Task1 01/12/2010 14:14:04 Task2 01/12/2010 14:00:07 Task3 01/12/2010 14:00:42 I am currently trying to achieve that if the time (last column) for any of the above task is more than 2 hours (as compared to current timing), then we need to get notified. ... 15 Jan 2010 11:35
absg
http://tldp.org/LDP/abs/html/ your opinion? is there a better place for learning? bye ... 14 Jan 2010 12:25
best way to move files
What's the best way to move the files from a root mount point to another partition while in single user mode? I am trying this: find / -xdev -print0 | cpio -dvmp --null destinationmountdir/ But I keep running out of space - the root partition has 6 gigabytes, the destinationmountdir/ has 8 gigabytes free. ... 13 Jan 2010 09:48
Need Inputs - How to Approach this requirement?
Greetings, We have a process in place where we need to manually check multiple tasks at certain period of time in a day. Eg: Task 1 At 3:00 PM Task 2 At 4:00 PM Task 2 At 5:00 PM Task 3 At 6:00 PM We need to automate this as it is currently being done manually. I need to come up with an approach ... 11 Jan 2010 15:22
Mixet.se® Köp & Sälj - Radannonser
Kundtjänst / Försäljning Annonser på Nätet Webbportalen Mixet.se har nu inlett den andra fasen i utvecklingen av enkla och tillgängliga informations zoner för kommersiell tillväxt. Mixet.se erbjuder företag och privatpersoner att annonsera snabbt och bekvämt. På Internet lägger du enkelt själv in bilder och... 10 Jan 2010 20:46
m to n or just n
hi. i have a text file, and i just wanted to get, say lines 3 thru 7, or just line 7. my first guess is: cat | tail -n+3 | head -n+$((7-3+1)) but can it be made better? bye ... 11 Jan 2010 13:07
new shell in "sh"
whats the easiest way to invoke a subshell in /usr/bin/sh I have requirement when I need to execute a command with multiple piped output and then use its returned value. tried: counter=`ps -ef|grep -v grep|grep "the_process"|/usr/xpg4/bin/awk -v CU="$p_counter" ' BEGIN { x=0;} /CU/ { x=x++; } END { print... 13 Jan 2010 04:21
select last field of line (cut/sed/awk etc)
Can you advise me of ways to select the last field of piped text (I actually want to extract the last parameter of a "ps" output). I presume this can be done with cut, sed, awk etc, but wonder which is easier + any drawbacks Thanks M ... 8 Jan 2010 13:55
quoting: $foo, $(foo), ${foo} ..
I've seen alo of the following in scripts, if [ $foo = "sun" ] && [ $bar = "moon" ] ; then if [ "$foo" = "sun" ] && [ $bar = "moon" ] ; then if [ "x$foo" = "xsun" ] && [ "x$bar" = "xmoon" ] ; then if [ x$foo = "xsun" ] && [ x$bar = "xmoon" ] ; then Also, sometime { and } are used. What is the ... 13 Jan 2010 21:07
First  |  Prev |  Next  |  Last
Pages: 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56