Hot answers tagged

7

If you issue a type kill the response will be: kill is a shell builtin Kill is contained within the bash shell itself. It is executed directly in the shell directly, without invoking another program. To know all the commands within the bash shell use help | less.


4

To use SSH to your server via the internet : On your computer : You need to open port 22 in the firewall. On the router : You need to forward port 22 to you at 192.168.X.X. Note that you can open a non-standard port on the router, for example 500, then forward it to port 22 on your computer, for safety reasons. You will then connect SSH to port 500 while ...


3

For personal use, the regular "Retail" license is the simplest option. As far as I know, "OEM" versions are only sold to computer manufacturers (i.e. OEMs) – they're meant to be sold preinstalled in computers, not separately. (Also even if you have an OEM license you're not allowed to move it to another computer, so I'm not sure if that would allow you to ...


2

The problem here is that Eclipse mars on Ubuntu 16.04 runs so slowly it appears to be hung up. Solution can be found on the Ubuntu SO site...


2

For more specific answers, we need to know your router model. As you can access the ssh-server on your local lan you can access it over the internet if you configure your router the right way. The feature is named different on different router, but basically you need to configure the firewall to allow connections on port 22 from your public ip, an then ...


2

If you are using GNOME (on whatever distribution), for desktop settings, similar to applying configuration policy, check out the GNOME wiki for instructions. (In short, write your default or possibly mandatory settings to /etc/dconf/db/site). If you're intending to scale up beyond a few machines — or, if you really like to have automation (see Xkcd: Is it ...


2

As now you have dual-boot-system so I would recommend you NOT TO JUST REMOVE THE UBUNTU Partition as you won't be able to boot Windows because the information pointed by MBR will be gone. As you have poked your MBR so I guess you should follow THESE steps: 1) Booting from the Ubuntu live CDs. 2) Enabling universe repositories - launch System->...


2

On your first Virtual Machine, install the OS of your choice. If it is already installed, partition your drive so that it has enough free space to install another OS. Then, in Hyper-V you can insert disk or select an ISO to load before it gets to your OS. Set the DVD drive to boot up first and wait for the ISO to boot up amd install your secondary OS. When ...


2

The answer to "why doesn't Linux provide this feature" is mu. a Japanese word alleged to mean “Your question cannot be answered because it depends on incorrect assumptions”. To justify this unusual answer: Since long time ago in various flavors of Linux you have been able to download and install packages by yourself (or to build from sources) or to ...


2

Go to terminal and type: sudo su aptitude install openssh-server openssh-client Test the installation ps -A | grep sshd If the output is something like this: <some number> ? 00:00:00 sshd Then ssh daemon is running. Again type in terminal; ss -lnp | grep sshd If the output is something like this: 0 128 :::22 :::* users:(("sshd",...


2

I don't have access to root account to do any of the above, so here is a work around that I used. First, ssh to your account like you normally do and test everything is working. ssh -Y <you>@<your_server> I usually just fire up an XTerm to ensure I have connectivity. If all good, copy .XAuthority file that is in <you> home ...


2

Questions 1 and 3 are related and can be answered at a time. As per the grep man page (emphasis mine): --exclude-dir=DIR Exclude directories matching the pattern DIR from recursive searches. So basically what you specify with that option is a pattern and not a directory itself, meaning /var/www/sometext* or even /var/www/sometext/* will expand and ...


2

Giving the guest full GPU access is probably not possible. If a virtual machine had direct access to your GPU, bad stuffs would happen because sharing memory between two effectively different computers is not a thing; pointers and addresses and whatnot would be very different between them. (No consumer-available card supports servicing two computers at once.)...


2

There is a free software I use a lot which is EasyBCD. It allows you to completely customize Windows bootloader. What I suggest is: Use it to set your bootloader to Windows bootloader (using the "Write MBR" function, in "BCD Deployment") Upgrade to Windows 10 Use EasyBCD again to set up a dual boot between Windows and Ubuntu I have used this software on ...


1

I agree with you completely I was in the same position a couple weeks ago. It is the dual boot, what I did was physically unplug the sata power and data cables (just to be safe) from the disk containing Grub and in my case a copy of Centos 7, then I allowed Windows 10 to install itself and then after wards plugged the disk back in and everything worked like ...


1

As the computer starts, Press F2 or Delete to enter BIOS and check the time there. If it's not showing correct time change it. Save and exit BIOS, check if it works. Another reason can be a week cmos or motherboard battery, replace it.


1

I believe you need a host-only network: https://www.virtualbox.org/manual/ch06.html#network_hostonly First, be sure to create the network interface in the main VirtualBox interface: File -> Preferences: Network -> Host-only Networks To access the network interfaces on the VM, the IP address range is typically, by default, in the range 192.168.56....


1

Let's assume your in your directory the presence of the files 1.a,2.a,3.a. With the command ls *.a | xargs -I{} echo {} | sed 's/.a//' you have no subshells, the output of ls is piped in xargs that make its substitutions. Then the output is piped to sed. From here your first result. With the command ls *.a | xargs -I{} bash -c "echo {} $(echo {} | ...


1

You should tell configure that you want to enable pkcs11: ./configure --enable-pkcs11 Also, you shouldn't run ./configure and make with sudo. Only make install needs sudo.


1

It's certainly possible. A repository you use for installing software is often nothing (much) more than a ftp/http server providing packages as files. In case of Debian-based distributions these are .deb files. You could download these and install them offline. Often the package-manager even provides an option to "download-only". Usually you use the ...


1

bitorrent sync is wierd in a good way. Its self contained - you need to copy over the .sync hidden directory in the same directory you are running btsync from and things should just work. That said, if you're running it from your home folder, backing up and restoring your /home or simply doing a release upgrade should be fine.


1

I have fully understood this issue. What changed is that in the new mysql, query cache is disabled due to default setting of query_cache_type = OFF. When I re-enabled query cache by setting query_cache_type=1, better performance came right back. Since my site uses 100 times more SELECT queries than INSERT/UPDATE queries, using query cache makes sense for me. ...


1

thanks to @andlrc, this has solved the problem using the fstab: hope someone get used of it fstab or file system table is used by the system to get information about partitions to automatically mount when run used: sudo gedit /etc/fstab to open it added the following to make the system automatically mount the /proc /path/to/chroot/proc /proc auto -o,bind ...


1

Use sudo update-grub in Ubuntu, then Windows 7 should be available in grub!


1

Files saved on FAT32 file system can be executed from Linux, Your problem is elsewhere. When attaching FAT32 to Linux permissions are set with the mount and thus only once. Any attempts to change permissions to already connected FAT32 are silently ignored. Because Ubuntu generally connects the flash drive automatically, it explicitly passes 'noexec' ...


1

Yes, there's extundelete, which should be able to recover directory structure and file names, in addition to file content. On ubuntu, install it with sudo apt-get install extundelete, and run it with something like sudo extundelete --restore-directory /home/deletedhomedirectory/ /dev/sda1 (/dev/sda1 is the partition where the deleted data was, note that ...


1

What did you use to make it bootable? I'd suggest LiLi for ease of use. The .iso you downloaded needs to be specially unpacked to the USB and made bootable. After that, you ought to be able to press Del, F11, F8, or F12 to get something to pop up when booting/rebooting. You may need to enter the BIOS and specifically set the boot order or boot device or ...


1

Resolution 𝕎𝔸ℝℕ𝕀ℕ𝔾: The instructions below delete your existing RAID setup and create a new md RAID 1 array with two entire block devices, /dev/sdc and /dev/sdd. Ensure that your kernel has the RAID 1 md module loaded with either of these commands: lsmod | grep 'raid1\s' grep 'Personalities : .*\[raid1\]' /proc/mdstat If you do not get an ...


1

I started seeing this issue after I installed Guest Additions updates to the VirtualBox. I tried setting the LIBGL_ALWAYS_SOFTWARE env var but that didn't seem to fix it for me. Finally, I ending up reinstalling the Guest Additions and that ended up fixing it.


1

Open a terminal and type this command # pkexec visudo Enter the root password Edd the following line to sudoers file after this line root ALL=(ALL) ALL add this line username ALL=(ALL)ALL This worked for me. Then try to log in as root and type this command # sudo -s Enter the root password and go on.



Only top voted, non community-wiki answers of a minimum length are eligible