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...
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
/...
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")...
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...
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...
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 ==...
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
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...
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
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`...
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...
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
...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.