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 Mike Lewis 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: *

  1. gargamel100

    VLAN trunking between cisco switch and router

    :) yep, but old ip addresses also works :). I do not know what was the reason why it did not works earlier. Maybe I am playing with simulator. Regards
  2. gargamel100

    VLAN trunking between cisco switch and router

    Hi all, I made it : on switch : vlan database, vlan 10, vlan 20, int fa0/1, switchport mode trunk, int fa0/2 switchport access vlan 10 int fa0/3 switchport access vlan 20 on router: int fa0/0 no shut int fa0/0.10, encapsulation dot1q 10, ip address 10.1.1.1 255.255.255.0 int fa0/0.20...
  3. gargamel100

    VLAN trunking between cisco switch and router

    Thanks. I tried everything but it does not works. I suppose it is not possible to "simulate" some things. Thank you
  4. gargamel100

    VLAN trunking between cisco switch and router

    Hi all, I need your help, really I do not know what I am doing wrong. I use The Boson Netsim v.6 as tool while prepare my CCNA exam. I connected network like ;;;;;;Router;;;;; /e0 / / / 0/1 ;;;;;;switch;;;;; 0/2 / / 0/3 /...
  5. gargamel100

    Tailing ? in directory name opened by perl program. How avoid this?

    Thank you Miller. Regards
  6. gargamel100

    Tailing ? in directory name opened by perl program. How avoid this?

    Hi all, I am not some perl specialist and I have following code #!/usr/bin/perl -w print ( "Enter the name of new directory\n"); $dir=<stdin>; mkdir ("$dir",0777); chdir ("$dir"); print (" New directory is created and has name $dir\n"); print (" Enter the name of new file\n")...
  7. gargamel100

    date +%b = Aug, how get one month before, eg. Jul

    Thank you very much Best wishes
  8. gargamel100

    date +%b = Aug, how get one month before, eg. Jul

    Hi all, date +%b produce Aug what to do to with "date" to get one month before, in this case Jul thanks in advance
  9. gargamel100

    How add input value to some varieble in awk program

    Hi all, this is probably funny for some of you but I do not know what to do. I have read b awk -v $b;FS="|" ' $4 == "202" && $9 == $b && $15 == "106" {print $1 "0"962$9, "0"$11 " " $23} ' /temp/test/test.txt > test1.txt I want to enter some value from keyboard and add it to varieble...
  10. gargamel100

    Transfering most recent file every time from an directory

    HI all, I need your help if someone can can help :) In an directory I have -rw-r--r-- 1 ggggg ggggg 196846 2007-04-04 19:46 rrrrr_20070404214503_44538.txt -rw-r--r-- 1 ggggg ggggg 192037 2007-04-04 20:02 rrrrr_20070404220002_44539.txt -rw-r--r-- 1 ggggg ggggg 182503 2007-04-04 20:16...
  11. gargamel100

    delete zeros in a row

    Try this, sed '2,10 s/0/ /' input_file | awk '{if($1 !~/^0/) print $1 }'> output_file input_file=contains a zeros output_file=without zeros tested with awk. Regards
  12. gargamel100

    Insert values from one file to other, but only specific column

    Hi people, I need your help if somebody know how to do this I have file like let's say fileA $11 !~ /^6(1|2)/ && $9 == "2222 " {sum1 = sum1 + $19 } $11 !~ /^6(1|2)/ && $9 == "80205" {sum15 = sum15 + $19 } $11 !~ /^6(1|2)/ && $9 == "80206" {sum16 = sum16 + $19 } $11 !~ /^6(1|2)/ && $9 ==...
  13. gargamel100

    Printing just lines in column that are longer than 9 ciphers

    Hi peple, I have column like 324234234 424234234 424234324 543543545 535454355535 5345454354 5345454355555 545435435 Using awk I can print this column but, I need only to print out lines that are longer than 9 ciphers. Will help me a lot if someone know how make this using awk/ Regards
  14. gargamel100

    cd to directory and how make it connected to for loop?

    Hi all, using the line bellow ls -l | awk ' { if ( $8~/^(0|1|2|3)/) print $8 }' I have output like 01 02 03 04 05 06 07 08 09 10 11 12 and so on .... this is column which represent days of month. I wish if it is possible using script that will cd 01 then in that directory do d=`TZ=MET+24...
  15. gargamel100

    How change particular word by another in this file ?

    I did it like this sed "76,115 s/'/\@ca'/2" input_file > output_file If you have some more elegant solution please write it down. Thanks for help, Regards
  16. gargamel100

    How change particular word by another in this file ?

    This works ok, perfectly man, you are master but is there possibility to jump over first 76th lines and apply this rule by 77th line to end. I mean first 76 lines are databases patameters like `user_id` mediumint(8) NOT NULL default '0', `user_active` tinyint(1) default '1', `username`...
  17. gargamel100

    How change particular word by another in this file ?

    Hi when I try this sed "s!'!@ca'!2" input_file > output_file I got output like bash: !'!@ca'!2": event not found :(
  18. gargamel100

    How change particular word by another in this file ?

    Hi all, I have the following file output (2, 1, 'rambo', 'ffsffsdfsdfsd1daf15edf96ec03a4e977a12aa', 1131101341, ..... (3, 1, 'rambo1', '9fsdchyth4354547f4a1787aad393142', 1149053489, 0, ........ This is output of forum mysql database. .... means that there is some additional fields but...
  19. gargamel100

    Nesting in Ruby code?

    Hi people, I started to learn Ruby programming and I wtite ruby programs using vi editor. When I write and hit enter I go to next line and I got program code like line1 line2 line3 ... ... Is there any feature in ruby or vi to get program code like line1 line2 line3 line4 ...
  20. gargamel100

    An error in if else loop, your opinion

    Thank you very much. Regards Gargamel100

Part and Inventory Search

Back
Top