In today’s post, I will show you have to mount a Windows shared folder in Ubuntu 12.04 from within VirtualBox. A prerequisite is that you have to have VirtualBox Guest Additions already installed. If you haven’t done so and would like to know how, read this previous post where I show you how. Otherwise, continue reading and I’ll show you how to mount a shared folder.
Category Archives: Linux
Regular Expression Cheatsheet
Here’s a quick cheatsheet of the metacharacters used in regular expressions.
Metacharacter | Name | Matches |
---|---|---|
. | dot | any one character |
[ ... ] | character class | any character listed |
[^...] | negated character class | any character not listed |
^ | caret | the position at the start of the line |
$ | dollar | the position at the end of the line |
\< | backslash less-than | the position at the start of the word |
\> | backslash greater-than | the position at the end of the word |
| | or, bar | matches either expression it separates |
( ... ) | parentheses | used to limit scope of | |
? | question mark | one allowed; none required ("one optional") |
* | asterisk | unlimited allowed; none required ("any amount OK") |
+ | plus | unlimited allowed; one required ("at least one") |
\1, \2, ... | back reference | matches text previously matched within first, second, etc., set of parentheses |
\ | backslash | escape a metacharacter to match literally |
{ ... } | braces | Interval; counting quantifier; specify number of matches |
Ubuntu: View the status of services
There are two methods of starting and managing services in Ubuntu: System-V style init and upstart. Keep reading if you want to know how to view the status of both.
How to install VirtualBox Guest Additions in Ubuntu 12.04
This is a step-by-step tutorial on how to install the Guest Additions on a VirtualBox Virtual Machine installed with Ubuntu 12.04 so that you can access a shared directory on the host computer. I initially tried to install the Guest Additions by selecting the “Install Guest Additions…” menu option under the Devices menu. Unfortunately, this didn’t work, and I’m not entirely sure why. So here are the steps that I took to get the Guest Additions successfully installed on my virtual machine.
Understanding UMASK with Linux and Samba
Have you ever been confused with the Linux environment UMASK? How about trying to setup permissions with a Samba file server? Displaying and setting the umask for both the Linux environment and a Samba server is very easy. In this article, I’ll explain what a UMASK is and how to display and change the current value. Afterwards, I’ll explain UMASK in the context of using a Samba File server.