First  |  Prev |  Next  |  Last
Pages: 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
problem using script creating users from csv
Hello, i have a problem with my script, i read a file csv with firstname, lastname, group and i must check if group exist, if not i mus create it. and then create user and give him group. liste="liste_etudiants.csv" cat $liste| while read users; do l1prenom="$(echo $users | cut -c2 | tr -d '"')" nom... 22 Feb 2010 15:17
Comm V/s XML data
Greetings, I have a file with following contents File1.txt <abc>CONTENT1-GOES-HERE</abc> <abc>CONTENT2-GOES-HERE</abc> File2.txt <abc>CONTENT1-GOES-HERE</abc> <abc>CONTENT2-GOES-HERE</abc> <abc>CONTENT3-GOES-HERE</abc> TO explain, the one record is identified by the starting of <abc> and ending wi... 13 Feb 2010 13:47
rsync performance
Greetings: We have two Redhat linux boxes, one is a 5.2 system with GFS1 for a file system. The other is a 5.4 with EXT3 for a file system. I've setup the 5.2 system as a rsync server ( that's where the source data is) and it has between 700 to 800 Gbytes of data, and hundreds of thousands of files. I'm using th... 12 Feb 2010 16:50
Delete empty files in the current directory but not the ones inthe sub-directories of current directory.
On Fri, 12 Feb 2010 03:53:04 -0200, Hongyi Zhao <hongyi.zhao(a)gmail.com> wrote: On Fri, 12 Feb 2010 16:31:36 +1100, Ben Finney <ben+unix(a)benfinney.id.au> wrote: As usual, ‘find(1)’ is your friend. Read about the ‘-maxdepth’ and ‘-size’ options. In my case, I want to delete the emp... 12 Feb 2010 12:18
Wait for a process from a different shell
Hi all, I want to run a script that runs a few DB updates after the insertion is done. I've kicked of the insertion script in a window, but it'll run for 4 hrs. I tried to see if I could wait for this script so that I can schedule the update script. I googled around and the wait command seems to work only f... 14 Feb 2010 18:30
Strange
Greetings, I have a environment file in my test directory on DEV host $ ls -ltr /dev/test/env_test $ rwx------ 1 May 11 2006 env_test But if I try to access this file in a script I get file not found error $ cat test.ksh #! /bin/ksh -p .. /dev/test/env_test $ test.ksh test.ksh[2]: /dev/test/... 12 Feb 2010 16:50
Aliasing cd to a function under ksh88
<RANT> Man, I miss my bash shell :-( I now have to use ksh88 on HP-UX. A !@# $ 22 year old shell. But I digress... </RANT> First, details of my system: uname -a HP-UX machinename B.11.23 U ia64 1493421762 unlimited-user license Cntl-V from the ksh shell: Version 11/16/88 I've defined this test f... 11 Feb 2010 12:47
korn shell negation operator not working as expected
Can anybody tell me the difference between the two sciptlets (assuming the shell is korn shell) below: scriplet 1: [[ -f somefile-that-surely-exists && ! otherfile -ot otherfile ]] && echo expected behavior scriplet 2: if [[ -f somefile-that-surely-exists ]]; then if [[ ! otherfile -ot otherfile ]]... 10 Feb 2010 00:08
find command: why doesn't this work?
How come this command doesn't simply ls the results of the find command in the directory executed?: boxman user1> find . -mtime -10 -exec ls {}\; find: missing argument to `-exec' In case it helps: Linux boxman 2.6.18-92.el5 #1 SMP Fri May 23 23:40:43 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux Thanks in a... 9 Feb 2010 18:33
pine copy emails back to the server...
A new user: my pine has been set to download all emails from server to the local folder mbox and delete all on the server. Is there anyway that I can copy emails in local folder back to the server? Thanks a lot. Beet ... 10 Feb 2010 01:14
First  |  Prev |  Next  |  Last
Pages: 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50