JERI OS

Embed Size (px)

DESCRIPTION

kbjkb

Citation preview

  • EX.NO:1A

    hduser@a2234-thinkcentre-m70e:~$ date Sat Jan 30 08:32:51 IST 2016 hduser@a2234-thinkcentre-m70e:~$ date +%ch Saturday 30 January 2016 08:33:08 AM ISTh hduser@a2234-thinkcentre-m70e:~$ date +%a Sat hduser@a2234-thinkcentre-m70e:~$ date +%A Saturday hduser@a2234-thinkcentre-m70e:~$ date +%b Jan hduser@a2234-thinkcentre-m70e:~$ date +%B January hduser@a2234-thinkcentre-m70e:~$ date +%c Saturday 30 January 2016 08:34:55 AM IST hduser@a2234-thinkcentre-m70e:~$ date +%C 20 hduser@a2234-thinkcentre-m70e:~$ date +%d 30 hduser@a2234-thinkcentre-m70e:~$ date +%D 01/30/16 hduser@a2234-thinkcentre-m70e:~$ date +%H 08 hduser@a2234-thinkcentre-m70e:~$ date +%h Jan hduser@a2234-thinkcentre-m70e:~$ date +%l 8 hduser@a2234-thinkcentre-m70e:~$ date +%m 01 hduser@a2234-thinkcentre-m70e:~$ date +%M 37 hduser@a2234-thinkcentre-m70e:~$ date +%P am hduser@a2234-thinkcentre-m70e:~$ date +%S 31 hduser@a2234-thinkcentre-m70e:~$ date +%T 08:39:39 hduser@a2234-thinkcentre-m70e:~$ date +%u 6 hduser@a2234-thinkcentre-m70e:~$ date +%y 16 hduser@a2234-thinkcentre-m70e:~$ date +%Y 2016 hduser@a2234-thinkcentre-m70e:~$ date +%Z IST

  • hduser@a2234-thinkcentre-m70e:~$ cal 2016 2016 January February March Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 2 1 2 3 4 5 6 1 2 3 4 5 3 4 5 6 7 8 9 7 8 9 10 11 12 13 6 7 8 9 10 11 12 10 11 12 13 14 15 16 14 15 16 17 18 19 20 13 14 15 16 17 18 19 17 18 19 20 21 22 23 21 22 23 24 25 26 27 20 21 22 23 24 25 26 24 25 26 27 28 29 30 28 29 27 28 29 30 31 31

    April May June Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 2 1 2 3 4 5 6 7 1 2 3 4 3 4 5 6 7 8 9 8 9 10 11 12 13 14 5 6 7 8 9 10 11 10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18 17 18 19 20 21 22 23 22 23 24 25 26 27 28 19 20 21 22 23 24 25 24 25 26 27 28 29 30 29 30 31 26 27 28 29 30

    July August September Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 2 1 2 3 4 5 6 1 2 3 3 4 5 6 7 8 9 7 8 9 10 11 12 13 4 5 6 7 8 9 10 10 11 12 13 14 15 16 14 15 16 17 18 19 20 11 12 13 14 15 16 17 17 18 19 20 21 22 23 21 22 23 24 25 26 27 18 19 20 21 22 23 24 24 25 26 27 28 29 30 28 29 30 31 25 26 27 28 29 30 31

    October November December Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 1 2 3 4 5 1 2 3 2 3 4 5 6 7 8 6 7 8 9 10 11 12 4 5 6 7 8 9 10 9 10 11 12 13 14 15 13 14 15 16 17 18 19 11 12 13 14 15 16 17 16 17 18 19 20 21 22 20 21 22 23 24 25 26 18 19 20 21 22 23 24 23 24 25 26 27 28 29 27 28 29 30 25 26 27 28 29 30 31 30 31 hduser@a2234-thinkcentre-m70e:~$ cal 1 2016 January 2016 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

  • hduser@a2234-thinkcentre-m70e:~$ echo voice voice hduser@a2234-thinkcentre-m70e:~$ echo voice text voice text hduser@a2234-thinkcentre-m70e:~$ echo "my > name > is > jerish" my name is jerish

    hduser@a2234-thinkcentre-m70e:~$ who -H NAME LINE TIME COMMENT hduser :0 2016-01-30 08:20 (:0) hduser pts/0 2016-01-30 08:27 (:0) hduser@a2234-thinkcentre-m70e:~$ who -b system boot 2016-01-30 08:06 hduser@a2234-thinkcentre-m70e:~$ who am i hduser pts/0 2016-01-30 08:27 (:0) hduser@a2234-thinkcentre-m70e:~$ tty /dev/pts/0 hduser@a2234-thinkcentre-m70e:~$ hduser@a2234-thinkcentre-m70e:~$ bc bc 1.06.95 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 9+89 98 hduser@a2234-thinkcentre-m70e:~$ man tput

    hduser@a2234-thinkcentre-m70e:~$ cat >jeri makj bjgu

    hduser@a2234-thinkcentre-m70e:~$ sort jeri bjgu makj

    hduser@a2234-thinkcentre-m70e:~$ sort -r jeri makj bjgu hduser@a2234-thinkcentre-m70e:~$ cat -n jeri 1 makj 2 bjgu hduser@a2234-thinkcentre-m70e:~$ cp jeri jeri1 hduser@a2234-thinkcentre-m70e:~$ cp jeri2 jeri3

  • hduser@a2234-thinkcentre-m70e:~$ cat jeri1 makj bjgu hduser@a2234-thinkcentre-m70e:~$ cat > jeri2 haibye hellohduser@a2234-thinkcentre-m70e:~$ hduser@a2234-thinkcentre-m70e:~$ cp jeri1 jeri2 hduser@a2234-thinkcentre-m70e:~$ cat jer2 cat: jer2: No such file or directory hduser@a2234-thinkcentre-m70e:~$ cat jeri2 makj bjgu hduser@a2234-thinkcentre-m70e:~$ mv jeri2 jeri hduser@a2234-thinkcentre-m70e:~$ wc jeri2 wc: jeri2: No such file or directory hduser@a2234-thinkcentre-m70e:~$ wc -c hei ho lo ^C hduser@a2234-thinkcentre-m70e:~$ wc - c ^C hduser@a2234-thinkcentre-m70e:~$ wc l wc: l: No such file or directory hduser@a2234-thinkcentre-m70e:~$ wc jeri2 wc: jeri2: No such file or directory hduser@a2234-thinkcentre-m70e:~$ wc jeri1 2 2 10 jeri1

    hduser@a2234-thinkcentre-m70e:~$ cat > jeri3 i am good hduser@a2234-thinkcentre-m70e:~$ pg jeri3 i am good i am good ...skipping forward (EOF): [1]+ Stopped pg jeri3 hduser@a2234-thinkcentre-m70e:~$ head jeri3 i am good hduser@a2234-thinkcentre-m70e:~$ tail jeri3 i am good

    hduser@a2234-thinkcentre-m70e:~$ ls -p aswin/ Downloads/ jeri JERI OS.odt Pictures/ Templates/ Desktop/ examples.desktop jeri1 Music/ Public/ Videos/ Documents/ hadoop-2.7.1.tar.gz jeri3 nowm/ source

  • hduser@a2234-thinkcentre-m70e:~$ ls -a . Desktop jeri1 .profile .. .dmrc jeri3 Public aswin Documents JERI OS.odt source .bash_history Downloads .local .ssh .bash_logout examples.desktop .~lock.JERI OS.odt# Templates .bashrc .gconf .mozilla Videos .cache hadoop-2.7.1.tar.gz Music .Xauthority .compiz .ICEauthority nowm .xsession-errors .config jeri Pictures .xsession-errors.old hduser@a2234-thinkcentre-m70e:~$ ls -a\p ./ Desktop/ jeri1 .profile ../ .dmrc jeri3 Public/ aswin/ Documents/ JERI OS.odt source .bash_history Downloads/ .local/ .ssh/ .bash_logout examples.desktop .~lock.JERI OS.odt# Templates/ .bashrc .gconf/ .mozilla/ Videos/ .cache/ hadoop-2.7.1.tar.gz Music/ .Xauthority .compiz/ .ICEauthority nowm/ .xsession-errors .config/ jeri Pictures/ .xsession-errors.old hduser@a2234-thinkcentre-m70e:~$ more jeri1 makj bjgu hduser@a2234-thinkcentre-m70e:~$ man - more No manual entry for - hduser@a2234-thinkcentre-m70e:~$ who grep hduser@a2234-thinkcentre-m70e:~$ who - grep hduser pts/0 2016-01-30 08:27 (:0) hduser@a2234-thinkcentre-m70e:~$ man grep hduser@a2234-thinkcentre-m70e:~$ grep -e grep: option requires an argument -- 'e' Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. hduser@a2234-thinkcentre-m70e:~$ man grep hduser@a2234-thinkcentre-m70e:~$ grep -e pattern jeri1 hduser@a2234-thinkcentre-m70e:~$ cat jeri1 makj bjgu hduser@a2234-thinkcentre-m70e:~$ who | wc-1 wc-1: command not found hduser@a2234-thinkcentre-m70e:~$ who | wc- | > 2 2: command not found No command 'wc-' found, did you mean: Command 'wc' from package 'coreutils' (main) Command 'wcw' from package 'winswitch' (universe) wc-: command not found hduser@a2234-thinkcentre-m70e:~$ who | wc-l wc-l: command not found hduser@a2234-thinkcentre-m70e:~$ who |wc -l 2

  • hduser@a2234-thinkcentre-m70e:~$ tr "[a-z]" "[A-Z]" father FATHER mothet is god MOTHET IS GOD

    EX.NO:1B