These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
19 views

cURL hanging on connection

I am using cURL from bash script. I have this code in a loop to download multiple files from remote server curl --fail --silent ${url} -o ${local_filename} Most of the time, this works as supposed. ...
26
votes
2answers
32k views

What is meant by mounting a device in Linux?

I've heard the term "mounting" when referring to devices in Linux. What is its actual meaning? How it handling now unlike older versions? I haven't done that manually via the command-line. Can you ...
0
votes
0answers
66 views

Problem installing nvidia driver 920M on ubuntu 14.04

I am a Linux beginner. I installed ubuntu 14.04 alongside win10, on my new asus laptop. My system is powered by a geforce 920M. The problem is that after I install the nvidia driver (The system ...
1
vote
1answer
56 views

Changing Xvfb frame buffer resolution while it's running

I run Xvfb with command: Xvfb :1 -screen 0 100x100x16 -fbdir /tmp And it's working fine. I can connect via VNC, and now under /tmp directory I have Xvfb_screen0 binary file. I thought it will act ...
0
votes
0answers
61 views

Curl gets 200 OK, while browser shows 503

I have a bash script: code=$(curl -I -s -S --resolve $host:$port:$ip $link | grep 'HTTP/1.' | awk '{ print $2 }') if [ $code -eq 502 -o $code -eq 503 -o $code -eq 504 ]; then /usr/sbin/service ...
1
vote
1answer
43 views

How to explain this? Superblock corrupt in SSD

I got a file system corruption from a sudden power loss. During boot, it reported following error. error: unknown filesystem. Entering rescue mode... grub rescue> _" The board is an Intel ...
0
votes
0answers
40 views

Impossible to send mail with Oracle Linux

I just installed sendmail on Oracle Linux and with mutt I would like to send an e-mail. In the local system I have the username user1; in the ISP mail account I have the address mailaddress@domain.com....
0
votes
1answer
553 views

Check if Apache is Installed in Amazon Linux AMI

How can I check if Apache is installed in my Amazon Linux AMI, which is based on RHEL 6? In Ubuntu, I use: dpkg --get-selections | grep apache But that doesn't work in this case. Note, I need to be ...
1
vote
1answer
42 views

List *all* IP routes to a destination in the Linux routing table

ip route get 2607:f8b0:4005:804::200e will show me the best (longest prefix) route to google.com, but it does not show all routes that can take me there. Right now I am using ip -6 route show | grep ...
0
votes
0answers
47 views

How to permanently close port from terminal? [duplicate]

I tried to close my printer port 631 using command fuser -kn tcp 631. It works but only about half an hour. After this time port 631 is again busy by my printer. How can I close it permanentnly?
2
votes
2answers
167 views

Need special validation for shell script

I want to create a bash script which will have lot of options while executing. # script.sh --dry-run --user <parameter1> --pass <parameter2> I heard about getopt option but looks like ...
0
votes
1answer
16 views

Manual emerge package zlib

How can I install/emerge a package manual in gentoo? I cannot download this package (ZLIB), because it gets blocked by our IT-Firewall (invalid decompression table). They scan each http/ftp request ...
3
votes
0answers
28 views

Why does the OOM-killer not log details to be visible through dmesg?

I want to make kernel oom_killer run and provide the related log entries in dmesg. I set the following settings echo 1 > /proc/sys/vm/overcommit_memory and tried to fill up the RAM to it's max, ...
1
vote
1answer
40 views

LOCALHOST Display

I need to export my display on two oracle database RAC nodes as this DISPLAY=localhost:10.0 However for me localhost:10.0 works on node 1 but on node 2 i have to export display as DISPLAY=localhost:11....
0
votes
1answer
32 views

Processor affinity not respected by iperf threads

I'm running iperf in server mode on a Ubuntu box (14.04 LTS). The hardware is quad core with hyper-threading, so I have cores 0-7 available (0 is paired with 4, 1 with 5 and so on). I've set the ...
1
vote
0answers
11 views

After restart ibus, can't use it in wine application

When working on linux (mint mate 17.2), need kill ibus daemon and restart it for some reason. After that one of the editor which is a wine application can't use the ibus input anymore, while other ...
1
vote
2answers
1k views

tkdiff error on Linux Redhat 5.5

I installed tkdiff as root, and it runs fine under that user, but when I switch to a local user I get the error: Application initialization failed: Can't find a usable init.tcl in the following ...
2
votes
1answer
28 views

Can I tell whether a block device is in use?

Let's assume this is based on device-mapper. How can I tell if a given block device is already in use? (For example, a PV of a currently in use VG, or a encrypted LUKS device that is currently ...
0
votes
0answers
33 views

Is there a more efficient way of defragmenting Linux memory other than rebooting?

I am running Gentoo Linux with kernel 4.4.8-hardened-r1, QEMU-KVM version 2.5.1 and 3227 MB of system-visible RAM (without considering RAM taken by BIOS and my AMD APU's graphics). I have a VM that ...
6
votes
2answers
3k views

How can I tell what memory RAM address range is being used by uboot?

I am in uboot and was wondering, how could I tell what RAM address range is being used by uboot. uboot needs memory to run so it might be using some of the RAM. I want to avoid modifying those RAM ...
0
votes
1answer
1k views

Is not a valid path to the kernel headers?

Host - Windows 10 VMware - 11.1.2 Guest - CentOS 7 I installed kernel-headers using yum since during the installation of vmware-tools I get a message "Searching for a valid kernel header path... ...
0
votes
1answer
27 views

Bonding on centos

I have host that running OpenStack. For public access, there bonding (mode active/passive) on nic1 and nic2. Right now both connect at the same switch. Is it possible to connect different switch and ...
0
votes
2answers
1k views

gnome-classic as default session for all users?

How to set gnome-classic as default session for all users in gdm3 (system-wide setting)? I'm using Debian Jessie with GNOME 3.12. I've tried creating fake gnome.session in /etc/xdg/gnome-session/...
1
vote
2answers
17k views

Why is my file system mounted as read-only?

I've put together a small system with busybox, a Linux kernel, and a small file system, putting stuff in as it seemed necessary -- I don't know if I've been learning much from this, but I started out ...
0
votes
0answers
86 views

How good is the support in Intel Skylake Core M processors?

I've been starting to think about upgrading my 2-in-1 tablet/laptop. My eyes caught the new Asus UX360CA which sports a nice Core M 6Y30 processor (it seems that the specification is very close to the ...
0
votes
0answers
22 views

Querying soft links to a file - non-bruteforce method [duplicate]

Is there a way, workaround to find out how many symlinks are pointing to a file? I know the find method, but this will look up all the files. Is there a more lightweight solution? Is it possible to ...
4
votes
3answers
31k views

mount Linux NFS. rpc.statd is not running

I have Ubuntu 12.04 as the NFS server. The clients are Linux. My /etc/exports file has 1 line, /folderToExport *(rw,async,no_subtree_check) /etc/init.d/nfs-kernel-server status shows that the ...
7
votes
5answers
19k views

How do I kill all a user's processes using their UID

I want to kill all running processes of a particular user from either a shell script or native code on a linux system. Do I have to read the /proc directory and look for these? Any ideas? Is there a ...
1
vote
0answers
45 views

Install torrent CLI on montaVista 6

I have been trying to figure this out for a while now but I have never made any progress with it. How can I install a torrent client on my NAS (Seagate Central) box which runs MontaVista 6. I have ...
0
votes
0answers
46 views

TIMEZONE set for specific country but we get UTC Time - how it can be?

I have Linux red-hat 6.6 version This machine was set for Israel time zone as the following # more /etc/sysconfig/clock ZONE="Israel" ls -ltr /etc/localtime lrwxrwxrwx 1 root root 23 Jul ...
0
votes
2answers
585 views

Can Linux Desktop OS's Work on Baytrail Tablet Devices that Ship with Windows

I have seen this question asked on many forums across the internet and have created this question as a place for people to explain their success or failure at creating this set-up.
0
votes
0answers
48 views

Cannot boot; “failure reading sector 0x802 on hd0”

I recently installed Peppermint 7 on my pc. Everything was working as it should. I've been using it now for over a month. I turned it on today to find that it couldn't boot. It says "failure reading ...
1
vote
0answers
29 views

How to test new user login?

I've done some searching on Google and SE and have not found what I need using my search terms. Accessing RHEL 5.10 (Tikanga) from Windows 7. I am making a new user and need to make sure their ...
2
votes
2answers
2k views

`ERROR: Failed to build gem native extension` while trying to install compass

I am using Ubuntu 14.04 I tried this command sudo gem install compass and it gave me this error: Fetching: multi_json-1.11.2.gem (100%) Fetching: compass-core-1.0.3.gem (100%) Fetching: compass-...
0
votes
1answer
50 views

After installing Manjaro, windows is not showing in boot menu

I was dual booting windows 10 and Linux Mint 17.3 Mate. Everythig was fine, I was able to dual boot. Last night I decided to install Manjaro Linux and I did so. After installing Manjaro, all I get in ...
0
votes
1answer
861 views

Installation of Linux mint from cd makes it stuck on splash screen.

I am installing Linux mint Rebecca cinnamon onto a Windows XP Professional computer. I burned the ISO file using windows burner (Windows XP Professional) The menu loads correctly. Let it boot ...
0
votes
1answer
31 views

How to run a perl script inside another perl script

I have two Perl scripts and want to use one script from another. The scripts are called script1.pl and script2.pl. I want to run the below command inside script1.pl : /home/user/script2.pl /var/log/...
0
votes
0answers
23 views

ssh: permission denied (publickey) after restoring to a backup that was known to work at the time of backup [duplicate]

So I have a few servers set up behind a bastion. I usually hop from bastion -> server A -> server B using agent forwarding. One day I try to log into server B and for no reason apparent to me I gives ...
9
votes
1answer
1k views

Can capabilities be used in scripts without setcap'ing the interpreter binary?

Right now I'm using cap_net_bind_service MY_USERNAME in /etc/security/capability.conf. Now I just need to set cap_net_bind_service+i on the interpreter of my favouite scripting language to be able to ...
24
votes
3answers
39k views

Linux network troubleshooting and debugging

From time to time Linux and Unix users faced with various network problems. Many of these problems are presented here and at some others troubleshooting forums, but the are very concrete and contains ...
30
votes
5answers
1k views

Execution of possibly harmful program on Linux

I'm writing a program that will test programs written by students. I'm afraid that I can't trust them and I need to make sure that it won't end up badly for the computer running it. I was thinking ...
1
vote
1answer
140 views

view history of opened programs Manjaro Linux

Is there a way to view a log, or history of all programs opened in Manjaro Linux?
7
votes
2answers
3k views

Making udev ignore certain devices during boot

I'm trying to make udev stop mounting one of my devices at boot time, and I've created a rule in /etc/udev/rules.d/ called 1-myblacklist.rules. All the rule does is matches the device by kernel ...
9
votes
4answers
9k views

Error compiling drivers for Ralink RT2870

Im trying to install drivers for a rosewill RNX-N600UBE wireless card (Ralink RT2870 chipset) on Kali Linux. I downloaded the drivers form their website and unpacked/unzipped them, but now when i try ...
0
votes
1answer
33 views

Installing custom packages on Linux

I am currently using Kali, sometimes clean Debian, and sometimes I want to install a package, which is not on my sources list. And you can't find those, and add to sources file. I mean f.e I download ...
1
vote
1answer
467 views

HP SmartArray RAID5 recovery on linux

This is a long time in the making, and I've finally got it working so I thought I'd share this with as many people as I can in case they're in a similar situation. Long story short - HP SmartArray ...
4
votes
1answer
1k views

network manager not listing wifi

When I use NetworkManager command tool to scan for wireless networks the output is empty. root@radxa:~# nmcli dev wifi list SSID BSSID MODE FREQ RATE SIGNAL SECURITY ACTIVE root@...
3
votes
6answers
5k views

GNU/Linux: how to detect hard disk mappings?

Let's suppose you have two hard-disks: one internal (boots GNU/Linux (Debian)); one external (USB). fdisk -l detects both, but will not tell you which is /dev/sda and which is /dev/sdb. lsusb will ...
0
votes
1answer
775 views

How to make /dev/sdf?

On a server I have 5 disks (boot-disks + 4 disks in RAID, sda-sde). Now I need to connect a new disk using a PATA/USB-adapter. I do not have a /dev/sdf, so the USB-device is not found at all and ...
2
votes
2answers
224 views

What is a Linux command that lists only USB storage devices?

I would like to list only the USB storage devices connected to my computer. Since these are SCSI disks, I used the command lsscsi, which lists the USB drives as well as my computer's hard drive and CD ...