LinuxCourse/Lesson1
From FLOSSK Wiki
Lesson 1
221 pwd 222 history 223 history > history.txt 224 cat history.txt 225 notepad history.txt 226 unix2dos.exe history.txt 227 notepad history.txt 228 dos2unix.exe history.txt 229 pwd 230 history 231 pwd 232 ls 233 mv Linuxcourse/ LinuxcourseOther 234 ls 235 mv history.txt history.txt.old 236 ls 237 cd 238 ls 239 mkdir testdir 240 cd testdir/ 241 cd 242 pwd 243 mkdir LinuxCourseB 244 ls 245 mv LinuxCourseB/ linuxcourseb 246 mkdir "this is a test" 247 ls 248 ls -l 249 mkdir\ this\ is\ another\ test 250 mkdir \ this\ is\ another\ test 251 ls -l 252 cd linuxcourseb/ 253 pwd 254 cd .. 255 mkdir linuxcoursea 256 mkdir linuxcoursec 257 cd linuxcourseb/ 258 pwd 259 ls -l 260 ls -la 261 cd .. 262 cd linuxcourseb/ 263 history > history1.txt 264 cat history1.txt 265 pwd 266 ls /home/klasa/linuxcourseb 267 cat /home/klasa/linuxcourseb/history1.txt 268 ls /cygdrive/c/cygwin/home/klasa/linuxcourseb/history1.txt 269 cd / 270 ls 271 ls -l 272 ls 273 ls dev/ 274 cd dev/ 275 ls 276 cd .. 277 ls 278 ls lib/ 279 ls dev/ 280 ls 281 cd 282 cd linuxcourseb 283 ls 284 touch kosova.txt 285 ls -l 286 echo Mire se vini 287 echo Mire se vini >> kosova.txt 288 ls -l 289 cat kosova.txt 290 cat history1.txt 291 notepad test.txt 292 cat test.txt 293 cat test.txt > test2.txt 294 cat test2.txt 295 ls -latr 296 cp test.txt test3.txt 297 cat test3.txt 298 type test.txt 299 ls 300 type kosova.txt 301 type 302 type * 303 help type 304 history 305 cat ./test.txt 306 pwd 307 cat /home/klasa/linuxcourseb/test.txt 308 ls .. 309 ls ../.. 310 ls ../../klasa/linuxcourseb/ 311 pwd 312 ls 313 ls 314 echo mike >> cl.txt 315 echo flamur >> cl.txt 316 echo kastriot >> cl.txt 317 cat cl.txt 318 cat >> cl.txt 319 cat cl.txt 320 echo -e "bukuria\nylli" >> cl.txt 321 cat cl.txt 322 echo -e "\b\b\b" 323 help echo 324 echo -e "\a\a\a" 325 echo -e "\a\a\a" 326 echo -e"\a" 327 echo -e "\a" 328 echo -e \a 329 help 330 ls 331 sort cl.txt 332 sort -r cl.txt 333 echo -e "bukuria\nylli" >> cl.txt 334 sort -r cl.txt 335 sort -r cl.txt 336 history 337 sort -u cl.txt # u = unique 338 sort -u cl.txt > small.txt 339 diff cl.txt small.txt 340 sort cl.txt > sorted.txt 341 cat sorted.txt 342 cat small.txt 343 diff sorted.txt small.txt 344 diff -u sorted.txt small.txt 345 diff -u sorted.txt cl.txt 346 man grep 347 grep falmur cl.txt 348 grep flamur cl.txt 349 grep -c flamur cl.txt 350 grep -c famur cl.txt 351 grep -n flamur cl.txt 352 grep -c famur cl.txt 353 grep -n flamur cl.txt 354 grep -v flamur cl.txt 355 grep -v mike cl.txt 356 grep -v mike cl.txt | sort -u 357 grep -v mike cl.txt | sort -u > small.txt 358 mv cl.txt cl.txt.bad 359 mv small.txt cl.txt 360 diff sorted.txt cl.txt 361 diff -u sorted.txt cl.txt 362 grep -i -v mike cl.txt | sort -u 363 grep -i -v mike cl.txt | grep -v bekim | sort -u | grep a 364 grep -i -v mike cl.txt | grep -v bekim | sort -u | uc 365 uc 366 grep -i -v mike cl.txt | grep -v bekim | sort -u | wc 367 wc cl.txt 368 wc 369 grep a 370 grep a 371 grep a 372 grep 373 grep a 374 cat > newfile.txt 375 ls -latr 376 cat newfile.txt 377 find 378 find / 379 find / 380 find 381 find / 382 ls 383 cd linuxcourseb/ 384 ls 385 diff cl.txt sorted.txt 386 history 387 cat > testfile.txt 388 cat > testfile2.txt 389 diff testfile.txt testfile2.txt 390 diff =u testfile.txt testfile2.txt 391 diff -u testfile.txt testfile2.txt 392 vi 393 notepad testfile2.txt 394 diff -u testfile.txt testfile2.txt 395 #diff -u testfile.txt testfile2.txt 396 grep [aeiou] cl.txt 397 grep [ou] cl.txt 398 grep [ktz] cl.txt 399 grep [ktz][rvx] cl.txt 400 grep [rvx][ktz] cl.txt 401 grep tr cl.txt 402 grep f.*r cl.txt 403 grep f.*u cl.txt 404 grep f..m cl.txt 405 grep .m cl.txt 406 grep .m cl.txt.bad 407 grep m cl.txt.bad 408 grep ^m cl.txt.bad 409 grep m$ cl.txt.bad 410 grep (la) cl.txt.bad 411 grep -e'(la)' cl.txt.bad 412 grep -e'la' cl.txt.bad 413 grep -p'la' cl.txt.bad 414 #perl -p'la' cl.txt.bad 415 man grep 416 \grep [rvx][ktz] cl.txt 417 grep grep history1.txt 418 grep -C1 grep history1.txt 419 grep -B1 grep history1.txt 420 grep -A1 grep history1.txt 421 less history1.txt 422 less history1.txt 423 less history1.txt 424 less history1.txt 425 less history1.txt 426 mc 427 vim test1.txt 428 vim test1.txt 429 #:q 430 vim test1.txt 431 echo -e "\a" 432 echo -e "\a\a\a\a\a" 433 echo -e "\a\a\a\a\a" 434 echo -e "\a" 435 vim test1.txt 436 vim test1.txt 437 vim test1.txt 438 vim test1.txt 439 history > lession1.txt
Here is the first video :
http://www.youtube.com/watch?v=Tgb26uwfnVY
897 pwd 898 pwd # print working directory 899 mkdir firstdirectory 900 ls 901 ls -l 902 cd firstdirectory/ 903 ls 904 cd .. 905 ls -la 906 cd firstdirectory/ 907 history 909 history 30 910 history 30 < history.txt