Feed aggregator

Just did sudo rm --no-preserve-root -r / on Ubuntu 16.04 in Virtualbox. What happened?

Reddit - Wed, 2016-08-31 20:35

So, I was messing around with Ubuntu and did sudo rm -r /. All on tty1 in full text mode only.

At first it showed a message saying that doing such recursive things on root was dangerous. So I did sudo rm --no-preserve-root -r /. At first messages flied through saying things did not have permission. Then it stopped in between with heavy disk activity - presumably deleting shit. Finally it stopped at something cannot be deleted because resource was busy.

Naturally I pressed Tab twice to see what commands are left. Not too much. Good. :)

Then I tried running the same command again. And it shows /usr/bin/sudo: No such file or directory stating that sudo has been deleted from the system.

At this point I want to ask 5 things:

  1. What all is left behind in the system?

  2. Why did I get permission denied messages when I am running them as the (virtual) superuser?

  3. What super important things have been deleted that severely affects even a barebones system?

  4. What all can I do with the leftover system?

  5. Can I get it back to a normal working system? If so, how? (Since I am behind proxy, bonus internet points for telling how to do that behind proxy.)

submitted by /u/linuxode
[link] [comments]

What are some things you are almost embarrassed to admit you discovered really late but can't do without now?

Reddit - Wed, 2016-08-31 19:55

I was just reminded of my example of this and had to laugh. Was wondering if anyone else has similar things. Mine is screen. I'm a terminal junky. I do almost everything in a text terminal and typically have at least 10-15 terminal windows with 5-10 tabs each. I even read my email in a text terminal using mutt. I'm embarrassed to say that it only took me about 13 years of using Unix/BSD/Linux to discover screen.

Just curious if anyone else has had the same thing and maybe learn a few new tricks.

submitted by /u/ralfwolf
[link] [comments]

Install Ruby on Rails on Ubuntu 16.04

LXer - Wed, 2016-08-31 19:28
Ruby on Rails is a full stack web application framework which provides default structures for databases, web services and web pages. It is used by many developers since it makes the application development very simple. In this tutorial we will show you how to install Ruby on Rails on a Linux VPS running Ubuntu 16.04 as an operating system.

The cars of the future will run Automotive Grade Linux

LinuxToday - Wed, 2016-08-31 19:00

Automotive Grade Linux is about collaborating to build the car of the future, and doing that through rapid innovation.

Jarvis, Please Lock the Front Door

LXer - Wed, 2016-08-31 18:20
Years ago, we put out a request for articles on home automation. Aboutthe time Eureka came out on TV, people wanted to have their very ownSARAH (Self Actuated Residential Automated Habitat), and it seemed likethe perfect time for nerds everywhere to make their houses smart.

EOMA68 an interview

Reddit - Wed, 2016-08-31 18:16

Technical documentation doesn't have to be dull

LinuxToday - Wed, 2016-08-31 18:00

Think about the kind of documentation you like to read, and write that. If people don't like it, you can be sure they'll let you know.

Keeping music synced between linux and android?

Reddit - Wed, 2016-08-31 17:29

What is the best way to keep music synced? I wan t to be able to delete and add music locally and have that change on my phone. Right now I'm removing everything and re-transferring but that takes ages.

Any suggestions?

submitted by /u/davegri
[link] [comments]

How to setup an SFTP server on CentOS

LXer - Wed, 2016-08-31 17:11
This tutorial explains how to setup and use an SFTP server on CentOS. Before I start, let me explain what actually SFTP represents and what it is used for. SFTP stands for SSH File Transfer Protocol or Secure File Transfer Protocol. It uses a separate protocol packaged with SSH to provide a secure connection.

Starting with Linux in the early days

LinuxToday - Wed, 2016-08-31 17:00

ZDnet: Linus Torvalds created Linux, but many others, both developers and executives, helped make it the world's most successful operating system.

Mesa Has Already Seen More Code Changes This Year Than All Of 2015

Phoronix - Wed, 2016-08-31 16:29
With the work on the Intel Vulkan driver, OpenGL 4.x being close to finished off for the main graphics drivers, and AMD doubling down work on performance optimizations, there is already more code changes in Mesa Git this year than all of 2015...

AMD Patches For OpenMAX HEVC/H.265 Decoding

Phoronix - Wed, 2016-08-31 16:12
Gallium3D's VA-API state tracker has already supported H.265/HEVC video decoding as well as the support being in Gallium3D VDPAU too with it being supported by Radeon's open-source UVD code. Rounding out the API video-accelerated decode coverage of H.265 is now OpenMAX support...

What is DevOps? Gene Kim Explains

Linux.com - Wed, 2016-08-31 16:00
Title: What is DevOps? Gene Kim Explains31 AugLearn more

Pages

Subscribe to LinuxInsight aggregator