Skip to main content

Posts

Showing posts from May, 2017

SystemD commands

[root@centos7 ~]# systemctl -t target UNIT                   LOAD   ACTIVE SUB    DESCRIPTION basic.target           loaded active active Basic System cryptsetup.target      loaded active active Encrypted Volumes getty.target           loaded active active Login Prompts graphical.target       loaded active active Graphical Interface local-fs-pre.target    loaded active active Local File Systems (Pre) local-fs.target        loaded active active Local File Systems multi-user.target      loaded active active Multi-User System network-online.target  loaded active active Network is Online network.target         loaded active active Network nfs-client.target      loaded active active NFS client services nss-user-lookup.target loaded active active User and Group Name Lookups paths.target           loaded active active Paths remote-fs-pre.target   loaded active active Remote File Systems (Pre) remote-fs.target       loaded active active Remote File Systems slices.target      

How to share windows folder to linux machine

In windows machine under network settings *Turn on network discovery * Turn on print and share Click on share the folder you need * Make sure in advanced option Everyone is added * Make sure full control is given to Everyone in security Tab In linux install cifs rahul@rahul-Inspiron-3542:~$ sudo apt-get install cifs-utils root@rahul-Inspiron-3542:~# sudo mount.cifs //DESKTOP-MN0NNMU/CentOS-7-x86_64-Everything-1611 ./test   -o user=reachvishnu@outlook.in sec=ntlmsspi Password for reachvishnu@outlook.in@//DESKTOP-MN0NNMU/CentOS-7-x86_64-Everything-1611:  ******** *Note new windows machine probably doesn't have local user and group. Under control panel user account management check the user name in the format user@email.