Windowsでの作業
アクセスするフォルダーを共有にします。
Ubuntuでの作業
cifs-utilsをインストールします。
$ sudo apt install cifs-utils
任意の場所にマウント先のディレクトリを作成します。
$ mkdir /home/username/shared
パーミッション777(誰でも読み書き実行可能)でWindowsの「shared」フォルダーをマウントする場合は、以下のコマンドを実行します。
$ sudo mount -t cifs -o user=<Windowsユーザー名>,password=<Windowsパスワード>,dir_mode=0777,file_mode=0777 //<Windows IPアドレス>/shared /home/username/shared