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

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
168 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/...
24
votes
8answers
33k views

Linux “Top” command for Windows Powershell?

I am looking for a PowerShell cmdlet that can provide similar functionality to the Linux Top app. Something that refreshes at some given interval and displays the process list with CPU % util. I have ...
2
votes
2answers
1k views

How can I set a RAM limit for a specific user in Linux?

How can I set a RAM limit for a specific user? I have tried editing the /etc/security/limits.conf file, and the RAM limits there, but I still see a users process exceeding the limit set. I know that ...
0
votes
2answers
5k views

Desktop not starting after Centos upgrade

I upgraded a server from centos 6.5 (with gnome2) to 7 using the update manager. The problem is that I am not able to see the login screen or the desktop. However the mouse pointer is visible. I ...
-1
votes
0answers
25 views

How can I lower my own rights without root access?

I'm the new guy at work and I don't want to mess things up. I write programs, and I have to do this on a machine that is used by lots of other people and that is constantly running measurements and ...
2
votes
1answer
98 views

Linux X260 special keys

I am attempting to make use of my f4, f7-f12 special keys, but am unable to find event/key codes for them. I do have thinkpad_acpi, and am able to use f1-f3, f5-f6. Do people have suggestions no how I ...
0
votes
1answer
22 views

Install of CPAN Perl module on RHEL 7 fails (Amazon EC2)

I am trying to install x2goserver on my RHEL 7 server. I ran into dependency issues exactly like the question here, (I am not familiar with Perl or CPAN, I just want a functioning x2goserver) so when ...
0
votes
0answers
28 views

Windows 10, no Bootloader no Microsoft reserved partition

Let me tell you that I have tried many remedies in this forum and elsewhere but none of them worked for me. The problem is this: I have a Thinkpad x200 (I mention it in case it matters), until ...
0
votes
0answers
7 views

Booting Kali Linux on Mac, it doesn't let me install it

I'm on this issue from one week, and still I can't solve it. I'm on a Macbook Pro running El Capitan. I want to install kali linux on my external hard disk, and I find some guides online. But, when ...
0
votes
0answers
6 views

Puppet Firewall Module and regexp for the interface name

i want to apply an an firewall rule on a linux hosts with the puppet firewall module. (The module is working i have many other rules successfully applied) The interface (outiface) should be defined ...
0
votes
1answer
18 views

Remap cPanel Default Directory for Storing Files

I am looking at Digital Ocean's block storage as a potential way to scale a web server running cPanel's storage of all the public web content uploaded by users. After formatting and mapping the drive ...
0
votes
1answer
20 views

E: Package 'libtool-bin' has no installation candidate

due installing the prerequisites for a software, which is explained step by step here , when I enter this command: sudo apt-get install libtool-bin I get this error: Reading package lists... Done ...
0
votes
0answers
15 views

SSH: correct passwords stopped working, lead to connection termination

I have a VDS under Linux which I used to log in to via SSH for several years. Recently after providing a correct password I've started to get "Server unexpectedly closed network connecton". It ...
0
votes
0answers
11 views

systemd doesn't try to stop (some) processes on session termination

When I try to close a logind session (by logging out), some processes remain running under the session, preventing it from properly terminating, resulting in user@uid.service not terminating either. I'...
-1
votes
2answers
20 views

Linux Mint not detected

I dual-booted Linux Mint and Windows 10 on my computer this morning. It was going fine until I rebooted the computer. Windows 10 booted straight in instead of Linux. I checked the BIOS for an entry ...
0
votes
0answers
113 views

How do I connect to an L2TP IPSec VPN in Ubuntu 16.04?

I have a clean install of Ubuntu 16.04 Linux hp 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Did an apt-get update and apt-get dist-upgrade I also ...
8
votes
1answer
272 views

SSH to Vmware virtual machine with NAT network [duplicate]

right now I am able to ssh to host over internet and ssh from host to the virtual machine. What I want to do is ssh directly to the Guest machine from outside. I tried to do this using iptables: ...
0
votes
1answer
61 views

Cannot ssh to localhost using key

I have set up an ssh key and want to connect to localhost using key only, without password (note: this is just a test; ultimately I want to connect to an internal git server, where the same problem ...
0
votes
0answers
11 views

How to launch Java app on certain monitor?

I have laptop with external monitor connected, so actually I have two displays (with different resolutions, but I guess resolution does not matters). When I launch Java app (Supermicro IPMIView in my ...
-4
votes
1answer
32 views

How can tp, ps and kill be used by an administrator be used to deal with a “misbehaving” process? [closed]

As part of a controlled assessment I need primary research. So if anyone who is knowledgeable in the subject please give an answer. I already know how much people dislike this but I need usable ...
0
votes
1answer
24 views

Compressor detection issue when running curl command from bash script in Docker container

I want to execute curl using bash script inside the Docker container. This is my script file script.sh that I added to the container: curl -X POST http://localhost:9200/tests/test -d usr/share/...
30
votes
9answers
11k views

How to whois new TLDs?

How can I look up new TLDs, such as .email, .guru, etc., using the whois command in linux? Running whois on a new TLD only gives the response: No whois server is known for this kind of object.
0
votes
1answer
15 views

Restarting mysqld on CentOS 6.6

I'm trying to restart my mysqld process on CentOS 6.6. I have root access to the server and when I run top, this is the first line: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
1
vote
2answers
47 views

Mounting raid5 disks without one of raid's member

I have to read data from disks, which are raid5 members. I'm wondering if there is posibility to read data from those disks somehow, but one of those disks is just broken. I was trying to mount some ...
1
vote
3answers
101 views

How can I maximize free blocks at end of disk on XP?

I would like to know how to take an XP machine, defragment and (I'm not sure what is the right term here--compress, maybe?) move things around so as much of the end of the partition can be partitioned....
0
votes
2answers
34 views

RHEL 7.2 and SoapUI 5.2.1

Has anyone successfully installed and run SoapUI 5.2.1 64 bit on a RHEL 7.2 VM? If so what's the magic recipe? I tried both the "Linux installer (64-bit)" and "Linux tarball (Java not included)" ...
3
votes
5answers
9k views

How to repair an SD card which shows incorrect size?

I've a Transcend SD card for 16 GB and am using it in my smartphone. One day I've discovered that the smartphone recognize it as 6 GB only. I've tried to find the solution to set the correct ...
0
votes
1answer
11 views

Recommended file extension for Linux 'lftp' scripts?

lftp allows to execute commands from the script file by using -f option (as described on man page), e.g. lftp -f my-lftp-script-file Is there any file extension that is recommended (or just widely ...
0
votes
1answer
17 views

Systemd: hyphens in mount point

By default udisks2 mounts removable drives under /run/media/$USER/[UUID]. The UUID contains hyphens. I wanted to use this mount point in a systemd service. But systemd uses hyphens instead of forward ...
0
votes
0answers
24 views

Page not found on webserver in my raspberry pi

I wrote a simple rest api few weeks ago, this api working good into my webserver (bitnami - localhost), and also to my pay hosting. Now I setup a webserver with the raspberry, I'm a linux newbie and I ...
0
votes
1answer
51 views

Why would a 3TB disk show as being 746GiB

I have a 3TB HDD and ubuntu 14.04 live dvd is showing it as being 746.5GiB. I've seen this sort of problem with other disks in other situations before and never found a solution. I've even had Seagate ...
13
votes
3answers
15k views

How long does badblocks take on a 1TB drive?

I'm running badblocks (or rather "e2fsck -c") on a 1TB drive and if the progress indicator is any indication (no pun intended), it's going to take almost forever to complete. Right now it says 0.01% ...
0
votes
1answer
170 views

Apple portuguese keyboard and compatibility with various Linux distributions

Certain Linux distributions, Ubuntu and Mandriva that I know of, have the proper keyboard mapping for me run them inside VMWare Fusion without having to do any special keyboard configuration with my ...
4
votes
2answers
3k views

Getting UEFI shell when trying to boot OS X in Virtual Box

I am using the latest test build of Virtual Box (normal versions don't work on El Capitan). When trying to boot a Virtual Machine with an El Capitan cdr file (created from the command line) I end up ...
2
votes
2answers
32 views

How to tell an instance of firefox to use eth0 instead of tun0 while OpenVPN is running and connected to a VPN server?

sometimes I need to connect to websites without passing through VPN, is it possible to open an instance of Firefox and tell it to use the plain eth0 interface instead of the tun0 ?
1
vote
0answers
11 views

How can I correct two-finger scrolling on a Linux VM under OSX?

An earlier poster posted some of my concern at http://apple.stackexchange.com/questions/235029/in-terminal-how-to-exit-the-two-fingers-history-scrolling-mode, and I am grateful; I now know how to get ...
0
votes
1answer
8 views

Plesk failed to upgrade on centos 6

I am unable to upgrade existing Plesk 12.4 update 23 on centos 6.7. The log shows that the upgrade script is trying to fetch data from a non-existing folder in opensuse repository. Have some faced ...