Changes between Version 13 and Version 14 of ubuntuinstall


Ignore:
Timestamp:
Nov 18, 2016, 10:43:18 AM (8 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ubuntuinstall

    v13 v14  
    207207=== Remote Access ===
    208208
     209==== Windows ====
     210 - Download [https://the.earth.li/~sgtatham/putty/latest/x86/putty.exe Putty]
     211 - type your vm's IP address in the hostname text box. set the port as '''22'''
     212 - Click open and You will ask the username and Password of your vm. Provide them and You will be able to remote login to your linux machine
     213
     214==== Mac ====
     215 - Open a terminal
     216 - Type ssh <your username>@<Your VM's IP address>
     217 - Give password and you will have a remote login to your linux machine
    209218
    210219== Playing with Linux ==
     
    243252
    244253{{{
    245 dilum@DilumL:~$ pwd
     254$ pwd
    246255/home/dilum
    247 dilum@DilumL:~$ cd  /etc
    248 dilum@DilumL:/etc$ pwd
     256$ cd  /etc
     257/etc$ pwd
    249258/etc
    250 dilum@DilumL:/etc$ cd ..
    251 dilum@DilumL:/$ ls
    252 bin   etc         lib    lost+found  opt   run   var
    253 boot  home        lib32  media       proc  sbin  tmp       mnt
    254 dev   lib64       root   sys         usr
    255 dilum@DilumL:/$ ls -l
    256 total 88
    257 drwxrwxr-x   2 root   root  4096 Mar  4  2016 bin
    258 drwxr-xr-x   3 root   root  4096 Feb  9  2016 boot
    259 drwxr-xr-x  20 root   root  3360 Nov 16 08:16 dev
    260 drwxr-xr-x 155 root   root 12288 Aug 29 09:30 etc
    261 drwxr-xr-x   4 root   root  4096 Aug 16 08:54 home
    262 drwxr-xr-x  19 root   root  4096 Mar  4  2016 lib
    263 drwxr-xr-x   2 root   root  4096 Mar  4  2016 lib32
    264 drwxr-xr-x   2 root   root  4096 Mar  4  2016 lib64
    265 drwx------   2 root   root 16384 Dec 15  2015 lost+found
    266 drwxr-xr-x   4 root   root  4096 Dec 15  2015 media
    267 drwxr-xr-x   2 root   root  4096 Dec 15  2015 mnt
    268 drwxr-xr-x   3 root   root  4096 Jan 26  2016 opt
    269 dr-xr-xr-x 189 root   root     0 Nov 16 08:16 proc
    270 drwx------  12 root   root  4096 Sep  6 16:25 root
    271 drwxr-xr-x  26 root   root   960 Nov 16 08:41 run
    272 drwxr-xr-x   2 root   root  4096 Mar  4  2016 sbin
    273 dr-xr-xr-x  13 root   root     0 Nov 16 08:16 sys
    274 drwxrwxrwt  18 root   root  4096 Nov 16 12:50 tmp
    275 drwxr-xr-x  12 root   root  4096 Nov  8 12:39 usr
    276 drwxr-xr-x  13 root   root  4096 Dec 16  2015 var
    277 dilum@DilumL:/$ cd
    278 dilum@DilumL:~$ pwd
     259$ cd ..
     260/$ls
     261bin   etc         lib         media  proc  sbin  sys  var
     262boot  home        lib64       mnt    root  snap  tmp  vmlinuz
     263dev   initrd.img  lost+found  opt    run   srv   usr
     264/$ ls -l
     265total 85
     266drwxr-xr-x   2 root root  4096 Nov 18 13:08 bin
     267drwxr-xr-x   4 root root  1024 Nov 18 13:15 boot
     268drwxr-xr-x  20 root root  4280 Nov 18 13:53 dev
     269drwxr-xr-x  89 root root  4096 Nov 18 13:16 etc
     270drwxr-xr-x   3 root root  4096 Nov 18 13:14 home
     271lrwxrwxrwx   1 root root    32 Nov 18 13:04 initrd.img -> boot/initrd.img-4.4.0-21-generic
     272drwxr-xr-x  22 root root  4096 Nov 18 13:08 lib
     273drwxr-xr-x   2 root root  4096 Nov 18 13:03 lib64
     274drwx------   2 root root 16384 Nov 18 13:02 lost+found
     275drwxr-xr-x   3 root root  4096 Nov 18 13:03 media
     276drwxr-xr-x   2 root root  4096 Apr 21  2016 mnt
     277drwxr-xr-x   2 root root  4096 Apr 21  2016 opt
     278dr-xr-xr-x 134 root root     0 Nov 18 13:52 proc
     279drwx------   2 root root  4096 Nov 18 13:52 root
     280drwxr-xr-x  23 root root   820 Nov 18 13:54 run
     281drwxr-xr-x   2 root root 12288 Nov 18 13:15 sbin
     282drwxr-xr-x   2 root root  4096 Apr 19  2016 snap
     283drwxr-xr-x   2 root root  4096 Apr 21  2016 srv
     284dr-xr-xr-x  13 root root     0 Nov 18 13:52 sys
     285drwxrwxrwt   8 root root  4096 Nov 18 15:11 tmp
     286drwxr-xr-x  11 root root  4096 Nov 18 13:03 usr
     287drwxr-xr-x  14 root root  4096 Nov 18 13:10 var
     288lrwxrwxrwx   1 root root    29 Nov 18 13:04 vmlinuz -> boot/vmlinuz-4.4.0-21-generic
     289$ cd
     290$ pwd
    279291/home/dilum
    280 dilum@DilumL:~$ mkdir test/one/.hidden
     292$ mkdir test/one/.hidden
    281293mkdir: cannot create directory ‘test/one/.hidden’: No such file or directory
    282 dilum@DilumL:~$ mkdir -p test/one/.hidden
    283 dilum@DilumL:~$ mkdir -p test/one/unhidden
    284 dilum@DilumL:~$ cd test/one
    285 dilum@DilumL:~/test/one$ ls
     294$ mkdir -p test/one/.hidden
     295$ mkdir -p test/one/unhidden
     296$ cd test/one
     297test/one$ ls
    286298unhidden
    287 dilum@DilumL:~/test/one$ ls -a
     299test/one$ ls -a
    288300.  ..  .hidden  unhidden
    289 dilum@DilumL:~/test/one$ rmdir unhidden/
    290 dilum@DilumL:~/test/one$ ls -a
     301test/one$ rmdir unhidden/
     302test/one$ ls -a
    291303.  ..  .hidden
    292 dilum@DilumL:~$ rmdir test
     304test/one$ cd
     305$ rmdir test
    293306rmdir: failed to remove ‘test’: Directory not empty
    294307
     
    393406{{{
    394407:10 <ENTER>
    395 Press the “o” key
     408Press the “i” key
    396409}}}
    397410Add the following text:
     
    561574 - Make a copy of test directory as newtest and rename it to numbers
    562575{{{
     576$ cd
    563577$ cp -r test/ newtest
    564578$ mv newtest/ numbers