A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

-1
votes
0answers
20 views

Both options in dual boot direct to windows

I have a HP laptop with dual boot (Windows 10 + Ubuntu ) installed on it. I worked on my pc for a year like this by working on any one of the two platforms at a time whichever is required and had no ...
1
vote
1answer
85 views
+100

CentOS SFTP chroot

I've some issues chrooting an SFTP access for a client. I can access the directory, but the problem is I can't read / write, I can just access the directory. Below is what I've done : # cat /etc/...
0
votes
1answer
3k views

Problems getting VMware Server to work on Ubuntu 9.10

I'm trying to get VMware Server 2.0.2 (64-bit version) to work on my Ubuntu workstation. However, the install script ($ sudo ./vmware-install.pl) runs into problems with the kernel modules: [...] ...
0
votes
1answer
425 views

Will VMware Server make my virtual machines use less RAM?

I have many virtual machines on my system (6 at the moment) and many times 2 of them are running in the same time. I have 6GB of RAM but most of time it's on 90% of usage because of the running ...
0
votes
1answer
976 views

VMWare Server inventory directory for ISO images

I'm trying to create a Virtual Machine in VMWare Server for Linux. I'm at the part where it asks for an ISO image. The inventory is empty. I don't know what directory this actually corresponds to on ...
1
vote
1answer
994 views

Shutdown VMware guest applications when UPS kicks in

My situation is that I am running VMware workstation to run a LAMP server for some lightweight data collection. My host OS is Windows XP. I have a APC UPS that is set to shut down the PC via ...
9
votes
1answer
1k views

Renumbering ethernet devices in Linux

I have a VMware machine running Ubuntu 9.10 (Karmic) with three virtual ethernet NICs. For some reason, the kernel has decided that these NICs are: eth3, eth4, and eth5. There is no eth0-eth2. How can ...
0
votes
1answer
308 views

Hardware HDD vs. VMWare Virtual HDD [closed]

I'm working on a kernel 2.4-based OS that normally runs on hardware, but now we're porting it to VMWare. I'm having trouble with access to the hard disk. There are no problems running on hardware, ...
0
votes
0answers
18 views

Interruptable Loop that Does Not Interrupt Piped Processes

I'm trying to write a shell script which performs an operation every fifteen minutes until the user interrupts it, then aggregates all of the results to stdout and exits cleanly. My thought was to ...
1
vote
7answers
2k views
36
votes
7answers
46k views

When to use Bash and when to use Perl/Python/Ruby?

We are doing all our scripting with Bash so far, but I'm starting to feel a bit silly about it. While we can of course do everything we want with Bash (it's quite powerful), I'm starting to wonder if ...
0
votes
1answer
744 views

boot from encrypted filesystem without user interaction?

Is it somehow possible to boot a Linux operating system from an encrypted filesystem/disk without having user interaction? Background: I am preparing a VmWare Image for shipment to a customer. This ...
0
votes
0answers
16 views

Linux turn off laptop screen

Okay. So I've got a second monitor. So my configuration on Linux (Kali) is: Primary - Samsung 23' and Secondary is laptop screen. Sometimes, when I want to, you know, Netflix&chill I used to press ...
0
votes
2answers
382 views

How to recover the ubuntu system?

I installed an Ubuntu virtual machine on Vmware. However, one time the disk was full, the system was installing some updates, it quit without giving any message. Now the system is crashed, I can not ...
7
votes
4answers
1k views

Good Free Ubuntu Server VMWare Image Needed

Can anyone recommend a good, free Ubuntu Server VMWare Image (or Virtual Appliance, as they call them)? I have looked on the VMWare VAM and there are literally hundreds to choose from. I am looking ...
5
votes
4answers
23k views

DD from /dev/zero to /dev/null…what actually happens

What happens in the command sudo dd if=/dev/zero of=/dev/null bs=500M count=1. Where do the zeros actually go and in general what happens? The speed is 905 MB/s If I dd to ramdisk the speed is ...
1
vote
3answers
895 views

Unable to run top command in Linux after a few days of uptime

After 3 days uptime, I can't run top in Linux. This is x86 Linux Fedora Core 8 running under vmWare under Windows XP. [root@fc8 ]# uname -a Linux fc8 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT ...
0
votes
1answer
3k views

How to upgrade to g++ 4.7 in SUSE linux

I am new to linux. I am trying to upgrade my g++ to version 4.7 If I type g++ -v it shows currently version gcc version 4.1.2 20070115 (SUSE Linux) I am trying to do the following sudo zypper ...
3
votes
0answers
15 views

Why os Fedora is calling containers on startup?

My fedora distro is messed up with docker containers... Everytime I restart this I need to call "docker ps" and then call "docker kill" for each container that is running... How can I discover who ...
0
votes
0answers
7 views

How to get mplayer's currrent volume value?

I want to know the volume value of mplayer from command line, which is running already. Is there any way?
4
votes
4answers
6k views

How to change the resolution of the TTY on Arch Linux

I followed the Arch beginner's wiki to install on VMWare player (host is Windows 7) Arch without x-server and I would like to know how I can change the resolution of what I think is called the TTY to ...
0
votes
1answer
121 views

Unable to get Debian guest full screen on VMware Player 12

I have installed a Debian 8 guest on VMware Player 12 but I cannot get the Debian screen to fill my whole monitor even in Full Screen mode. When I set it up, I set screen size to be the same as the ...
0
votes
1answer
17 views

OpenWRT - how to convert failsafe mode to normal boot?

I know that sounds strange. Here's some background: OpenWRT - how to do initial login (ssh) if 192.168.1.1 can't be routed? Essentially, I flashed openWRT and the normal boot mode is broken. I ...
0
votes
1answer
101 views

DNF displays error after package install on Fedora

I am having a strange exception each time a package is installed/upgraded with dnf! However, the packages are well installed. It seems like DNF is outputting some malformed JSON that causes thed ...
1
vote
1answer
774 views

Best filesystem choices for NFS storing VMware disk images

Currently we use an iSCSI SAN as storage for several VMware ESXi servers. I am investigating the use of an NFS target on a Linux server for additional virtual machines. I am also open to the idea of ...
-3
votes
0answers
28 views

How to disable and enable internet connection remotely in mobaxterm

I am using a Linux machine with OS Centos 6.6 remotely in mobaxterm. I have root access. I am trying to disable the internet connection on the remote machine. When I used ifconfig eth0 down it ...
0
votes
0answers
5 views

DKMS modules for multiple kernels

I have a Ubuntu Studio 16.04 installation with both generic and lowlatency kernels installed that I can choose when I boot (I generally use generic but I may use lowlatency in case I want to do ...
0
votes
1answer
3k views

Network problems with Ubuntu on VMware

I'm running Ubuntu 10.04 inside VMware Player running under Windows Vista and I can't connect to the internet or the host computer from the Ubuntu. I have set all the VMware services to “manual”...
19
votes
3answers
13k views

Keeping the fancy sudo warning forever

The first time I do sudo on openSUSE I'm always warned with a someway fancy message We trust you have received the usual lecture from the local System Administrator. It usually boils down to these ...
1
vote
0answers
648 views

Why does i3 Window Manager make a blank section?

Once in a while, my i3 Window Manager makes a blank tile that only shows the desktop background. I don't know what causes this. Maybe it's a keystroke I am inadvertently making. It ruins the whole ...
0
votes
0answers
15 views

Why does gnome-open-terminal not work as expected on MacBook?

I have fedora installed on MacBook Pro, and also installed gnome-open-terminal on it. On fodora 23 and before, when I right-click in the file explorer window, I can choose a menu item named "Open ...
0
votes
1answer
20 views

How can I make an open LibreOffice save a file, without using the GUI?

I've gone abroad, leaving LibreOffice Writer open with some file I edited. Unfortunately - I forgot to press Save! Now, I have SSH access to that machine, but - how can I make LibreOffice save the ...
3
votes
2answers
3k views

Ubuntu - Save terminal tabs with directories and titles

In the terminal I always have the same 3 tabs open, plus other random ones. It would be nice if I could have the terminal open with these three tabs open and their titles set. I tried gnome-...
10
votes
3answers
5k views

interactive/visual merge tool for console?

I'm a big fan of meld - a visual diff and merge tool for Gnome. It shows two files (or directories) side by side with their differences highlighted and I can easily select which parts I want to move ...
1
vote
1answer
3k views

OpenVPN on Debian 6 failed to start

I configured openvpn on my Deabian 6 VPS (using OpenVZ) several times but always stuck on "Starting virtual private network daemon: client server failed!" The syslog indicates, that there seems to be ...
14
votes
4answers
30k views

Ubuntu and Linux Mint only run in Software Rendering Mode on Virtualbox

I am trying to figure out why Ubuntu and Linux Mint only run in Software Rendering Mode on Virtualbox. My motherboard supports hardware virtualization and it is turned on, and I have installed the ...
73
votes
6answers
203k views

How do I exit an SSH connection?

I’m connecting to a server via SSH to send a message to a socket server using a command like: ssh 181.169.1.2 -p 5566 After the connection is established and I write the message and send it I ...
0
votes
1answer
26 views

Wifi adapter not working Kali linux

I have searched alot and everywhere the issues are with the kali os ran through virtual machines. I have installed Kali linux latest version 2016.1 on my laptop. And its the single os on my laptop, ...
2
votes
3answers
3k views

Ubuntu can't mount windows share

I want to access by termin a Windows share so on my Ubuntu 14.04 system I executed the following command: sudo mount.cifs -o username=dana //192.168.1.4/Users /mnt/ After entering the sudo ...
2
votes
2answers
166 views

Android / linux ignores setuid flag

I am trying to get root access to my chinese x86 tablet. With adb I have root. I copied a "sh" binary and set setuid bit, and from adb it works as expected: 1|shell@x98air3g_c5j8:/ $ which su.sh /...
0
votes
1answer
26 views

HDD IO errors, is this definitely a HDD failure or could it be something else? kernel.log

This HDD's history The hard drive is 1.5TB, 6 years old. IIRC it's 7200RPM with a ATA133 interface, using the motherboard's onboard controller. It gave perfect service in a big desktop PC, then 1 ...
2
votes
1answer
19 views

How do I play audio though jackd from console?

OSS | play ALSA | aplay PulseAudio | paplay JACK | ? What tool can I use to test if jackd is properly configured and make it play something?
2
votes
3answers
4k views

Make Live USB with dd

The last time I booted from USB was back in 2006. Ever since, I keep failing at making live USB bootables. I tried getting Fedora 17 and 18, Ubuntu, and tons of other distros to boot from USB and ...
1
vote
0answers
20 views

Is it possible to catch the instruction that wrote an invalid value into the pc register?

After an instruction, for example, pop {pc} writes an invalid value, say 0, into the pc register, CPU will try to fetch the instruction located at 0, which will usually trigger a segment fault. ...
0
votes
1answer
3k views

Significance of priority in “ip rule” command

What is the significance of the prio option in ip rule add/del command? Does a higher priority for a rule give it preference over other rules in the table? I saw this piece of code online, without ...
13
votes
10answers
14k views

Is there a Bash command to convert \r\n to \n?

Is there a Bash command to convert \r\n to \n? When I upload my scripts from Windows to Linux, I need a utility like this to make things work.
3
votes
0answers
50 views

How to set default grub configuration file

I am booting four operating systems: Windows 7, Ubuntu, Kali Linux, and Linux Mint. They were installed in that order, with Linux Mint most recently and Windows 7 first. I am able to edit the /etc/...
3
votes
1answer
3k views

RW mounted usb drive regarded read-only by cp

Context Can any of you help me with the following, I've got a micro sd card inserted via a usb stick into my Compaq 8510w laptop running the latest Arch Linux (x86_64) release. I have a udev rule ...
0
votes
0answers
21 views

BeEF Won't Give Results

I'm new to using the BeEF xss framework.I've been playing around with the "browser" folder in beef and well, nothing really interesting works. It won't "play sound", and when I execute the Webcam ...
4
votes
1answer
9k views

wifi p2p between ubuntu 14.04 and android

I attempted to make a wifi p2p connection between Ubuntu 14.04(kernel 3.13) and Android 4.4 Kitkat(Samsung Galaxy Note 2) In Ubuntu I use wpa_supplicant v2.1 which is built in to Ubuntu 14.04(/sbin/...