|
First
|
Prev |
Next
|
Last
Pages: 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289
directory size and sorting I was just playing around in finding out the directory size and also find out 5 biggest directories in my home directory I tried these, find . -type d | ls -lrt | sort -r | head -5 du -s /export/home/* | sort -rn | head -5 is there any other way to find out the directory size or any better way to do it. ... 12 Oct 2006 17:07
Creating output file using sql statement through shell script Hi All , I need to create a backup file and output file using SQL oracle statement into my shell script .I have the following statement. sqlplus -s USER/PASSWD <<-EOF select column1 from tab1 ; quit; EOF The result of the statement above i would like to save into an output file through the shell sc... 4 Oct 2006 11:34
Simple Tea Timer Script Le Sun, 01 Oct 2006 10:52:26 -0700, ckrainey a ?crit?: Simple Tea Timer Script #!/bin/bash xterm -e \ "echo ''; \ echo ''; \ echo ''; \ echo ''; \ echo ''; \ echo ''; \ echo ' **************************'... 2 Oct 2006 14:26
sed & external script hello, i have an external script say f which transforms a string into another e.g. ../f bob give me bill i would like to perform f to every first word in a file idea : sed 's/[a-z]*/ ./f & /' how can i do that in practice ? thanks ... 30 Sep 2006 21:11
remote ssh Hi Gurus, I need to get df size information from remote system. I tried follwing but it gives a syntex error. Can you please help VARIABLE=`ssh HOST "expr `df -k | grep " /mnt" | awk '{print \$3}'`)" regards ... 30 Sep 2006 04:52
mutt macro and little script Like a subject. I'm writing a little script to manage mutt address book. Script: ---(code)--- #! /bin/bash MUTT_ALIAS="$HOME/Mail/.Mutt/mutt_aliases" awk -F" " '{print $2,$3,$4}' $MUTT_ALIAS | zenity --list \ --title "ADDRESS BOOK" \ --column "Mail" \ --width "400" \ -... 22 Sep 2006 08:04
multiply shell variables in one awk statement Hi I wish to have multiply shell variable in one awk statement eg, without using shell variable awk 'NR>2 && NR<=10' $1> new_$1 $1 is a shell variable which is the input_data filename, new_$1 is the output, this above statment works but , i have trouble getting the following echo $lineOne #lineOne i... 22 Sep 2006 09:39
Keyboard Input Hi Everyone, We have a script that does a bunch of system & database checking. It runs for more than 100 databases, so it runs for like 10 hours........ Anyhow, the account times out all the time, and the script never finishes. I've been trying to read on some way to simulate a keypress about every 15 minu... 18 Sep 2006 11:07
Error appears only when running "source scriptName" for a simple script - why ? Hello, I wrote a simple script called myScript; Running this script creates a new folder and cd to it. this is this short script: #!/bin/sh echo "in mcdir" if [ -z $1 ] ; then echo "usage : mcdir dirName" exit 1 fi mkdir $1; cd $1 running this script (./myScript) does create a folder but NOT ... 18 Sep 2006 06:14
BASH Frequently-Asked Questions (FAQ version 3.33) On 15 Sep 2006 14:00:15 GMT, Chet Ramey wrote: This is the Bash FAQ, version 3.33, for Bash version 3.1. <--- 1800+ lines snipped ---> I have broadband access to usenet, but not everybody does. Methinks just an index of topics and a URL is appropriate here. Jones -- Marvin L Jones | jonz ... 18 Sep 2006 08:58 |