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

0
votes
2answers
18 views

How do I use top (or equivalent) to determine if a process is behaving badly?

Are there indicators for when a process has "gone over to the dark side"? I feel that just using MEM% and CPU% are poor indicators for detecting things such as memory leaks (or other problems, ...
0
votes
0answers
22 views
+50

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 ...
0
votes
1answer
16 views

Live Migration without shared storage

I am new to Ubuntu and virtualization and I have been working on live migration of KVM machines without a shared storage. I have followed all the steps as described in the following link everything ...
0
votes
1answer
29 views

Linux Laptop shutting down on battery level bellow 8%

I've written a crontab entry that runs a script in my home directory as user. That notifies me if I forgot to switch the power brick on. This works fine. BATTERY=$(upower -e | grep 'BAT') ...
6
votes
10answers
17k views

How do I search for a string in a PHP file using `grep`?

I am searching for a class declaration on a site with hundreds of PHP files. How can I do this in the current folder and subfolders using grep? I tested cding to the folder and then something like ...
10
votes
1answer
564 views

Why doesn't this softlink work as expected?

bash4.3 # pwd /bin bash4.3 # ll sh lrwxrwxrwx. 1 root root 4 May 17 22:22 sh -> bash bash4.3 # ll bash -rwxr-xr-x. 1 root root 1072056 May 17 22:22 bash bash4.3 # bash bash4.3 # ...
1
vote
1answer
4k views

Wrong newline character over serial port (CR instead of LF)

I'm trying to talk to a device using a usb-to-serial converter on linux. Drivers are working, the device exists at /dev/ttyUSB0. There is a strange problem (checked with a null-modem cable to another ...
3
votes
1answer
55 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/...
0
votes
0answers
9 views

New Libre user needs assistance

I get the feeling this is going to be a little long winded so, please bare with me... I have a column which has hours in it, which are totalled at the bottom, for anything that has more than 2:29 ...
0
votes
0answers
7 views

Running mdadm raid 6 with bcache layer on top. The raid had 6 drives in it and then an ssd for bcache

Output of /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : inactive sdd1[1] sde1[2] sdi1[5] sdb1[0] sdc1[6] sdh1[4] sdg1[3] 13673677416 blocks super 1.2 unused devices: This raid ...
0
votes
2answers
944 views

How to switch between command-line and GUI in VM on a Mac?

I have installed CentOS 7.1 in VMware Fusion of my Mac. I logged into the terminal (default runlevel 3) and started the GUI using the command "startx". I want to switch back to the terminal. Ctrl+Alt+...
1
vote
0answers
372 views

Linux and Nvidia Hybrid Graphics card

My specs: Intel i7 (along with Intel on-die graphics) Nvidia 840M 8GB RAM, 1TB HDD It's a laptop with hybrid Nvidia and Intel Graphics. It's a HP laptop and there is no option in the BIOS to turn ...
0
votes
1answer
17 views

How to browse bash history between certain line numbers

Everytime I need this I google it like 10 minutes. I don't know how to express this better so that Google finds it right away but I need to retrieve bash history between certain lines like: $ history ...
0
votes
1answer
22 views

Automatically shorten paths over a character count limit in bash

Windows and tools running on windows servers (eg. OneDrive) have a limit on path lengths. I am looking for a command line tool in OSX/Linux/Unix to, within a directory, shorten all paths above a path ...
1
vote
2answers
38 views

Cloned old SSD to new, larger SSD - can't align partitions

I went from a 120GB SSD to a 480GB SSD, but because I dual-boot between Windows and Linux, I can't seem to get the new, unallocated space beside either of the partitions for an extension to happen. I ...
140
votes
10answers
153k views

Is it possible to ping an address:port?

I am not into networking, and I have the following question related to the Linux ping command. Can I only ping an address? For example: miner@raspberrypi ~ $ ping onofri.org PING onofri.org (67.222....
1
vote
2answers
33 views

Passing environment variables to remote server as a different user

I'm trying to set environmental variables while I SSH into a remote server on a CentOS server. I am running the command as root but need it to run a command as the Oracle user. I found a few things on ...
0
votes
1answer
22 views

Apache leading to system lock/freeze

The conclusion in the title may be wrong given that the problem is close to a year old and just now was I able to get some info on the issue. This is on a centos 5, running on an old PIII with 384 MB ...
0
votes
1answer
1k views

how to get information from HDD from DLINK DNS-323

Problem: After restarting DNS decided that on of 2 existing HDD (in Standard, not in RAID, etc.) is new and asked to format it. DNS indicated problem HDD by Purple LED instead of Blue LED. What I ...
1
vote
1answer
250 views

Slow hotkey response in GNOME 3.12

I run Arch, and I recently grabbed the 3.12 upgrade for GNOME. I've had F12 bound to terminator for a while, since I often have to summon new terminals. Ever since the upgrade, using a hotkey for a ...
11
votes
1answer
567 views

Multiple Installations and Understanding $PATH

I have an older version of Git installed at: /usr/bin/ I recently downloaded a newer version to: /usr/local/bin When I type: which git I get the location of the old version. I believe that ...
3
votes
1answer
25 views

KDE system monitor vs GNOME system monitor

I have both the system monitors of KDE and GNOME. When I compare the CPU usage of a CPU intensive program, that of KDE reports a 30% usage and 3GB of memory while that of GNOME reports 300% of CPU and ...
2
votes
6answers
1k views

How are certain Linux distros substantively different? [on hold]

Context: I keep trying Linux every couple of years or so, to see how it compares with Windows. I would use it to work on Mono and Java, both of which I can do. I've looked at a number of distros: ...
0
votes
0answers
15 views

How can I benchmark Internet connection uptime (to run for hours and log results)? [on hold]

I have reason to suspect that my Internet connection is unstable. How can I monitor (with logging) Internet uptime and length of outages? Is there a tool or built-in command that can provide ...
0
votes
1answer
12 views

Rescue data using udev

I have a device (Smartphone: BQ Aquaris E4.5 Ubuntu) which contains data, but I cannot reach it directly, i.e. mounting or opening a shell or alike. All I managed to do was to see it (in fastboot ...
1
vote
1answer
2k views

Update single kernel module / driver

I needed a newer version of a Kernel module in an quite old kernel. How can I replace a single kernel module of the mainstream linux kernel and compile only this module?
2
votes
3answers
7k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
1
vote
2answers
30 views

Verifying linux mint iso image

I wanted to try linux mint on my computer so I downloaded the iso file from the official website https://www.linuxmint.com/edition.php?id=217 via torrent. The computer I used to download it runs ...
0
votes
0answers
14 views

How to specify default Ubuntu 16.04 installation language in isolinux/lang?

I previously used this command to select english as the default language for my unattended Ubuntu installation in 14.04 and it worked perfectly: echo en >> isolinux/lang For Ubuntu 16.04 this ...
0
votes
1answer
16 views

Ubuntu unable to boot from clean install

Here's some background in case it will help: I've recently been having trouble booting my computer, as you might have guessed. For some background, it started when I tried to re-install some NVIDIA ...
0
votes
1answer
21 views

logrotate files older than x hours

What's wrong with this rotate.conf? Goal is to delete only files older than four hours path/to/tokens/*.tkn { nosharedscripts prerotate if test `stat --format=%Y $1` -le $(( `date +%s`...
3
votes
2answers
6k views

HDPARM Keeps giving Input/Output Error

I've been trying to set the password on my Seagate drive: sudo hdparm --user-master m --security-set-pass pwd /dev/sda I get Issuing SECURITY_SET_Pass command, password="pwd", user=master, mode=...
0
votes
1answer
1k views

HFS partition mounting read-only

I have an external Western Digital Hard drive with two HFS partitions with journaling disabled. When I connect it to a computer running Linux (Debian or Ubuntu), frequently both partitions are ...
18
votes
8answers
10k views

Replace Symbolic Links with Files

Is there an easy way to replace all symbolic links with the file they link to?
6
votes
2answers
7k views

Is there a Linux command to find out if a file is UTF-8?

The Joomla .ini files require to be saved as UTF-8. After editing I'm not sure if the files are UTF-8 or not. Is there a Linux command like file or a few commands that would tell if a file is ...
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
0answers
23 views

Ubuntu and web server permissions

I, I am going to ask a question that has already been posted many times but even though I have read many guides and posts, I still have doubts. I have a server with ubuntu 14.04 on which I have a ...
2
votes
3answers
16k views

Linux Mint Wifi keeps disconnecting at random times and asks for wifi password

I have a fresh install of linux mint 16 cinnamon edition. I have a Netgear wireless dongle model: WNA1000M. Is there any command i should run to get more details? Wifi drops about: 15min to 1hr.
1
vote
0answers
29 views

Getting BAD Signature when verifying Linux Mint .iso image

I've been attempting to install Linux Mint 18 on a hard drive for a while now, but I continuously run into an error when I try to use gpg --verify. The exact error is as follows: $ sudo gpg --verify ...
3
votes
1answer
1k views

How should I automatically change my .zshrc for different OS'?

I am currently storing most of my dotfiles in a git repository to make keeping them in sync across all my computers easier. I've just recently acquired a Macbook so now have to have all my dotfiles ...
1
vote
1answer
1k views

How do I create a “here document” within a shell function?

I'm working my way through William Shotts Jr.'s great The Linux Command Line on my Mac OSX 10.7.5 system. 90% of the linux that Shotts covers is close enough to Darwin that I can figure out or GTEM to ...
0
votes
1answer
92 views

USB Filesystem that can run executables and can mount on Linux and OS X

I'm looking for a filesystem that I can format a USB drive with that can run C++ executables. Tried FAT32: $ ./main bash: ./main: Permission denied Tried NTFS: $ ./main bash: ./main: Permission ...
-5
votes
4answers
10k views

Linux-based “Darwin OS” as possible Hackintosh alternative? [closed]

I stumbled across a website on the internet for an Operating System named "Darwin OS". I know that Darwin was an open source project made by Apple and is still included in modern day OS X operating ...
0
votes
1answer
20 views

Hyper V Linux website hosting & opening in network windows systems

I have just started learning Linux on my own. I have installed Ubuntu 15.10 desktop version & installed lamp server also... I have installed apache GUI & created virtual hosts example.com &...
3
votes
5answers
32k views

How to get Alfa awus036nha to work with Kali Linux?

Im running Kali linux 64bit 1.07 as a guest os through virtualbox 4.3.12 r93733. Ive also installed the VirtualBox 4.3.12 Oracle VM VirtualBox Extension Pack. I have bridged my hosts network ...
-1
votes
1answer
25 views

what happen on bash while builtin command executed as background process

Updated: The internal command was not done as separated process in normal execution because it done with shell. but what steps are done by bash,if the builtin process was executed to background. ...
1
vote
1answer
32 views

dd to drive that isn't there [duplicate]

I've been developing a make target that uses dd (actually dcfldd) to write a Raspbian Jessie image to an SD card. The target is just flash: sudo dcfldd bs=4M if=$(IMGPATH) of=$(SDX) sync ...
2
votes
0answers
17 views

dd always fails to write one partition on first try; succeeds on second

For a robotics project, I've assembled a make target that uses dd (actually dcfldd) to write a Raspbian Jessie image to SD card. This way, I can be assured that my environment is reproducible from ...
3
votes
2answers
49 views

Expand a Linux MD RAID 10 array to use larger disks

From what I understand this is possible, but I can't find a straight answer anywhere about how exactly to go about it, and I don't want to risk losing data experimenting with it myself so I'm asking ...
0
votes
0answers
19 views

Find Text File Data from Raspberry Pi SD Card

The SD card on my Raspberry Pi has become unusable. When the Raspberry Pi was running correctly, it was storing data to a text file. I'm able to read the contents on the SD card via the SD card reader ...