Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hendnov
  • Content: Threads
  • Order by date
  1. hendnov

    Control -M, urgent explanation pls ...

    Hi guys, Just wondering, I will have the interview about the unix job but the important knowledge about : "Control -m", awk and sed Do you guys have any idea about what he means by Control -M, it's the name of scripting or what ? Your soon answer will be much appreciated ...
  2. hendnov

    Explanation from Perl Expert pls ....

    Hi guys, I've got the perl code, here it is : find . | perl –ne‘chomp();rename($_,lc($_))’ I know this code is for rename all the file to lower case recursively but could you guys explain exactly what chomp for ? and "$_" means ?? Thx guys
  3. hendnov

    remove ??? in file, pls help ...

    Hi guys, just wondering about simple question. I want to remove ??? in some of files. what I did is : cp awi.xml awi.xml_tmp cat awi.xml_tmp | sed s/???// > awi.xml Is there any way to make it one way without copying to awi.xml_tmp first ? coz I tried : cat awi.xml | sed s/???// >...
  4. hendnov

    to get pwd value

    Hi guys, Here's part of my code which called summary.ksh : if [$1 == "\."] then input = pwd echo "input =" $input fi I want to have the full path directory if the input is "." so if I'm at the directory /opt/adoc when I execute the script, I want the $input = /path/of/directory, the...
  5. hendnov

    Regular expression in unix, help pls...

    Hi guys, Just wondering about the regex of my if condition... in $1 is = /input_data/boeing/747 but why my script doesnt match, is there something wrong with my regex (*boeing*) ? #!/bin/ksh if [ "$1" = *boeing* ] then echo "this is boeing data" else echo "no way"
  6. hendnov

    how to remove path that used to be created.. help pls

    Hi guys, Can you help me to remove the path that I used to create ? I used to create path by using this command : PATH=$PATH:/opt/java export PATH and now that directory has been deleted. If I check echo $PATH, the path is still there. Do you guys have any idea how to remove the one path...
  7. hendnov

    Change the directory name from lower case to upper case, pls help...

    Hi guys, I've got real problem. which is all my data which is (file and directory name) in all lower case but I need them in upper case. So do you guys have any idea to make script to shift the file and directory name from lower case to upper case pls ?? Much appreaciated guys
  8. hendnov

    Minimise my script pls, help...

    Hi guys, Do you have any idea how to minimise my script : #!/bin/ksh if [ "$#" != "2" ] then echo "usage : sumdisc [data from which vendor "airbus" or "boeing"] [path directory]" exit 1 fi if [$1 = "airbus"] then cd $2 du -sk */* | awk '{ if ($2 ~ /SGML/){ sum +=...
  9. hendnov

    conditional question AWK, awk expert pls help ...

    Hi guys, I've got the script in awk Here's part of my script : I want to add conditional question which in ******************************************************** END { is this b or a ? if its a, doing below ... total = 6*sum semua = total + jumlah printf "TOTAL SGML FILES IS = %s \n...
  10. hendnov

    scp doesn't work ...

    Hi guys, I tried to transfer file using scp, but it doesn't work. But I can do ssh for both server. the server name is : syduwlp12 and syduwls12-tmp file name is : test.ksh Here's the command I typed : scp test.ksh adoc@syduwlp12:/opt/adoc/test.ksh anything wrong with my code ??
  11. hendnov

    How to install gcc...

    Hi guys, I wanna install gcc in the server for my login. Do I need root access or not ? And could you guys give the idea about how to install it ? I've already downloaded the gcc-3.3.tar.gz, but after I extracted it, they're many files that I dont think I'll need it. There's no README file or...
  12. hendnov

    How to install Text Editor in my Unix server

    Hi guys, Do you guys know how to install Text Editor in my Unix server, as I'm getting annoyed using vim/vi. Cheers
  13. hendnov

    Termination Running Program [Unix Admin] help ...

    Hi guys, Here's another question as I'm dealing with different situation all the time. I was running my production program which meant to be around 17 hrs, and when it reached half way through or couples of hours (not sure), it stopped/ has been cut off. And I asked to my senior, he said...
  14. hendnov

    protecting my script [help] !!

    Hi guys, do you know how to protect my shell script? by putting password or encript it or whatsoever, so any other people can't change my script. THX GUYS,
  15. hendnov

    Solaris packaging system

    Hi guys, Just wondering whether I can install solaris package installer version without using root access? Because I have to ask to 3rd party company which is our IT support company to do that for me if I need root access. THX
  16. hendnov

    Harden Server Question ??

    Hi guys, I have two harden servers which are serverA and serverB, and one configuration server which is serverC. I can telnet/ssh from serverC to both (serverA or serverB), but I can't telnet/ssh from serverA -> serverB, or the other way around. and I need to transfer the data from serverA to...
  17. hendnov

    umask 022 means???

    Hi guys, just wondering what UMASK = "022" means ?? what I know is like 777 means rwxrwxrwx 775 means rwxrwxr-x what about 022?? Cheers
  18. hendnov

    Tar windows file, help pls

    Hi guys, do you know best software to tar windows file? I've tried cygwin, but after I tarred in cygwin and I tried to extract in UNIX server. It said permission denied, I already changed the mode. But it didnt help.. any solution ? THX GUYS
  19. hendnov

    transfer data to harden server ?? Unix Admin, please help

    Hi guys, I'm trying to transfer data from one unix server to harden server, I couldnt transfer using ftp, is there anyway that I can transfer file to this harden server? THX GUYS
  20. hendnov

    list of directory in unix

    Hi guys, probably this is basic question for some of you, but I was just wondering about this. what command to see the list of directory only, I've tried : adoc syducmp02 ~/cobaajaskrg> ls -l total 4 drwxrwxr-x 2 adoc adoc 512 Mar 31 15:24 knpdir/ -rwxrwxr-x 1 adoc adoc...

Part and Inventory Search

Back
Top