FLOSSK site

LinuxCourse/Lesson1b

From FLOSSK Wiki

Jump to: navigation, search
 214  echo hello world
 215  pwd
 216  mkdir firstdirectory
 217  cd firstdirectory/
 218  pwd
 219  ls
 220  touch kosova.txt
 221  ls
 222  dir
 223  man dir
 224  man ks
 225  man ls
 226  man ls
 227  man ls
 228  history
 229  exit
 230  history
 231  ls -latr
 232  ls -latr
 233  ls
 234  ls -l
 235  ls -a
 236  cd
 237  cd firstdirectory/
 238  cd ..
 239  ls -a
 240  cd ..
 241  cd ..
 242  cd ..
 243  cd ..
 244  ls -la
 245  cd ..
 246  cd
 247  ls -t
 248  ls -tr
 249  ls -ltr
 250  ls -latr
 251  ls firstdirectory/
 252  mv firstdirectory/ l1
 253  ls -latr
 254  pwd
 255  mkdir lessonone
 256  clear
 257  cls
 258  ls -latr
 259  mvlessononelesson1
 260  mv lessonone/ lesson1
 261  mkdir this\ is\ a\ test
 262  ls
 263  ls -latr
 264  echo this ; is a test
 265  echo this
 266  is a test
 267  echo this \; is a test
 268  echo this \; \~ \"  is a test
 269  echo this \; \~ \" \\ \  \! \` \'  is a test
 270  echo this ; ~ " \   ! ` '  is a test

' ` @

 271  mkdir this \; \~ \" \\ \  \! \` \'  is a test
 272  #mkdir this \; \~  \  \! \` \'  is a test
 273  this  is a test
 274  cd lesson1/
 275  ls
 276  history > history.txt
 277  cat history.txt 
 278  cp history.txt  history.txt.old
 279  cd ..
 280  cp lesson1 lesson1.bak
 281  cp -r lesson1 lesson1.bak
 282  cd 
 283  history 10
 284  ls -latr
 285  ls lesson1
 286  ls lesson1.bak/
 287  cd lesson1
 288  ls
 289  rm history.txt
 290  ls
 291  cp history.txt.old history.txt
 292  rm
 293  man rm
 294  cd /
 295  ls 
 296  ls bin
 297  ls bin
 298  ls lib
 299  nm libz.a
 300  # libz.a
 301  ls usr/include/
 302  ls usr/lib
 303  gcc
 304  cd
 305  cd lesson1
 306  ls
 307  touch kosova.txt
 308  ls 
 309  ls -l
 310  echo mire se vini >> kosova.txt 
 311  echo mire se erdhe >> kosova.txt 
 312  cat kosova.txt 
 313  ls
 314  type kosova.txt 
 315  echo -e "this\nnextline"
 316  echo -e "this\nnextline\ttab\abel"
 317  echo -e "this\nnextline\ttab \a bel"
 318  help echo
 319  echo -e "this\nnextline\ttab \a bel
 320  echo -e "this\nnextline\ttab \a bel

LKJFS SDSD DSFS SD "

 321  echo -e " \a \a \a \a \a"
 322  help 
 323  ls 
 324  help echo
 325  man echo
 326  man echo
 327  help
 328  man pwd
 329  man export
 330  ls
 331  cat > cl.txt
 332  sort cl.txt 
 333  sort -r cl.txt 
 334  echo alban >> cl.txt 
 335  sort -r cl.txt 
 336  sort -u cl.txt 
 337  sort -u -r cl.txt 
 338  sort -ur cl.txt 
 339  man sort
 340  sort --reverse cl.txt 
 341  sort -u cl.txt > cl.new
 342  cat cl.new 
 343  cat cl.txt 
 344  mv cl.txt  cl.old
 345  mv cl.new  cl.txt
 346  ls -latr
 347  cat cl.txt
 348  history 10
 349  cp cl.txt cl.new
 350  history > newhistory.txt
 351  unix2dos.exe newhistory.txt
 352  notepad newhistory.txt

copy the text into the wiki

 353  history 10
 203  ls
 204  LS
 205  find /cygdrive/c
 206  echo $$
 207  start cmd /c 
 208  start cmd
 209  cmd.exe 
 210  exit
 211  cmd
 212  ps
 213  exit
 214  echo hello world
 215  pwd
 216  mkdir firstdirectory
 217  cd firstdirectory/
 218  pwd
 219  ls
 220  touch kosova.txt
 221  ls
 222  dir
 223  man dir
 224  man ks
 225  man ls
 226  man ls
 227  man ls
 228  history
 229  exit
 230  ls
 231  cd lesson1
 232  ls
 233  ls -latr
 234  vi cl.
 235  vi cl.new 
 236  vi cl.new 
 237  vi cl.new 
 238  man vi
 239  man vimtutor
 240  ls
 241  cat cl.txt 
 242  notepad cl.txt 
 243  vi cl.txt 
 244  cat cl.new
 245  cmp cl.new cl.txt 
 246  diff cl.new cl.txt 
 247  diff -u cl.new cl.txt 
 248  diff -u cl.txt cl.new 
 249  ls
 250  cat cl3.txt 
 251  diff cl3.txt cl.txt 
 252  man diff
 253  diff -u cl3.txt cl.txt 
 254  diff cl3.txt cl.txt 
 255  diff -u cl3.txt cl.txt 
 256  sort cl3.txt > cl3.txt.srt
 257  ls -latr
 258  cp cl.txt cl5.txt
 259* 
 260  sort -u cl3.txt > cl3.txt.srt
 261  sort -u cl.txt > cl.txt.srt
 262  diff -u cl.txt.srt  cl3.txt.srt 
 263  diff -u cl.txt  cl3.txt 
 264  grep mike cl.txt
 265  grep mike *
 266  grep -n mike *
 267  man grep
 268  grep --line-numbers mike *
 269  grep --line-number mike *
 270  grep -H --line-numbers mike *
 271  grep -h --line-numbers mike *
 272  grep -h --line-number mike *
 273  grep -h mike *
 274  grep -H mike *
 275  grep grep a cl.txt
 276  grep  a cl.txt
 277  grep -v a cl.txt
 278  grep -v a.*n cl.txt
 279  grep  a.*n cl.txt
 280  grep  ^a.*n$ cl.txt
 281  grep  n$ cl.txt
 282  vi cl.txt
 283  grep  n$ cl.txt
 284  grep ^a cl.txt
 285  grep ^a cl.txt
 286  grep ^[aeiou] cl.txt
 287  grep ^[aeiou]d cl.txt
 288  grep [aeiou][dn] cl.txt
 289  grep [aeiou][dn] cl.txt > temp.txt
 290  sort temp.txt 
 291  grep [aeiou][dn] cl.txt | sort
 292  grep [aeiou][dn] cl.txt | grep -v albiona | sort
 293  grep [aeiou][dn] cl.txt | grep -v albiona | sort > temp.txt
 294  grep -c albion cl.txt
 295  grep -c albion *
 296  grep -c error *
 297  grep -c error * | grep -v :0
 298  wc cl.txt
 299  wc -l cl.txt
 300  wc -w cl.txt
 301  wc -w *
 302  wc -w * | cut -d\  -f1
 303  wc -w * | cut -d\  -f2
 304  wc -w * | cut -d\  -f1
 305  wc -w * | cut -d\  -f2-9
 306  wc -w * | cut -c 5-10
 307  wc -w * | cut -b 1-10
 308  wc -w * | cut -b 1-4
 309  wc -w * | cut -b 1-5
 310  wc -w cl.txt | cut -b 1-5
 311  wc -w cl.txt | cut -b 1-3
 312  wc -w cl.txt | cut -b 1-2
 313  grep -c mike *
 314  grep -c mike * | grep -v :0
 315  grep -c mike * | grep -v :0 | cut -d: -f1
 316  cd ..
 317  find 
 318  find 
 319  find -name \*.txt
 320  find -type d 
 321  find -ctime -1
 322  ls
 323  ls -latr
 324  find -newer test
 325  find -newer test -exec wc {} \;
 326  find -type f -newer test -exec wc {} \;
 327  man find
 328  cd lesson1
 329  grep [abcdefghij] cl.txt
 330  grep [a-z] cl.txt
 331  grep [a-zA-Z0-9] cl.txt
 332  grep . cl.txt
 333  grep a.b cl.txt
 334  grep a.*b cl.txt
 335  vi cl.txt
 336  grep a.*b cl.txt
 337  grep a.b cl.txt
 338  grep a.+b cl.txt
 339  grep a.+b cl.txt
 340  grep a.+.+b cl.txt
 341  grep a.+.+a cl.txt
 342  grep a..a cl.txt
 343  grep a.+ cl.txt
 344  grep a+ cl.txt
 345  grep -C1 mike *
 346  grep -C1 mike *
 347  grep -A1 edon *
 348  grep -C2 error *
 349  grep -C2 edon *
 350  less cl.txt
 351  less history.txt
 352  mc
 353  ls
 354  grep mike
 355  grep mike > somefile.txt
 356  cat somefile.txt 
 357  find / > listofiles.txt
 358  find / 1> listofiles.txt 2>errors.txt
 359  less errors.txt 
 360  less listof
 361  less listoffiles.txt 
 362  history
 363  history > newhistory.txt