Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

0
votes
1answer
17 views

The server Emacs can't recognize the ALT key when link by a Mac

I use Mac's ssh to get access the server. I find the emacs in server can't recognize the ALT key. My server is REHL with emacs23
1
vote
1answer
8 views

How to find out what distros are using particular Linux version?

Given a distribution and its version, I can find which version of kernel it uses, e.g. for Ubuntu they are listed here, and for currently supported versions of Fedora they are here. In general, ...
3
votes
2answers
5k views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
0
votes
0answers
3 views

CentOS 7 and Windows 2012 multiboot from SAN

We would like to create multiboot configuration for our workstations. Workstations are equipped with Qlogic BR-825 HBAs that work in BIOS mode (not EFI). SAN presents to HBAs three LUNs: LUN0 - boot ...
9
votes
2answers
9k views

How can I mount filesystems with > 4KB block sizes?

I have a 3TB hard disk pulled out of a WD Mybook Live NAS. The partition table is as follows: Model: ATA WDC WD30EZRS-11J (scsi) Disk /dev/sdb: 3001GB Sector size (logical/physical): 512B/4096B ...
0
votes
1answer
38 views

No SSH while loged off locally

So, I'm trying to access my laptop while I'm outside my LAN, but I have a problem, at least I think that isn't the normal behavior. I can't access via SSH if my user isn't locally logged in. I'm not ...
4
votes
1answer
1k views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
2
votes
1answer
3k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
1
vote
4answers
46 views

Creating a snapshot of a linux system

I want to do the following - Save the current state of my linux OS(centOS6.5). Do some changes (more specifically inject a fault and test some service to check how it behaves when that particular type ...
0
votes
1answer
19 views

Chroot - copy or mount --bind

In every tutorial I found online about chrooting, there is part involving copying stuff into the chroot, executables, libraries and others. Why is that? Why not just mount --bind the stuff in? ...
0
votes
1answer
7 views

Mirror screen with 2 different resolution displays, -with borders on larger resolution screen?

Help. The TV I'm trying to use as a monitor has overscan issues, it overscans both 1080p and 720p resolutions. For my use, I'd rather have borders compared to a cut off screen. I'm trying to get ...
3
votes
2answers
361 views

Why gcc show `unknown` in Target: x86_64-unknown-linux-gnu in Arch Linux?

I would like to know why when I run gcc -v under Arch Linux, it shows the unknown word in these outputs: Using built-in specs. COLLECT_GCC=gcc ...
1
vote
1answer
15 views

Is there a file search engine with a webserver?

I connected a huge USB HD to my linux server. I installed samba and the files can now be accessed over network. I can search for files over network but the samba search is slow. Do you know of any ...
-2
votes
1answer
24 views

Trying to install openSUSE

I have the openSUSE distro loaded onto a USB stick and am trying to install it on my PC, but when I boot off the the USB I do not get the install menu like on other Linus distros or on Windows, but ...
0
votes
1answer
25 views

iptables and ssh

I'm running Arch Linux and I have a running SSH daemon to access my machine when I'm out side my LAN. I can do the connection, but iptables keeps blocking SSH Daemon, so I can only connect if I turn ...
0
votes
1answer
1k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
0
votes
0answers
7 views

Granular control of rwx permissions on NTFS partition

I am running a Ubuntu-Windows dual boot setup, and I have a third NTFS partition for my shared data (documents, music, downloads, etc). I currently mount the partition using /etc/fstab like so: ...
0
votes
1answer
11 views

Getting cron to include Date IN error log

So I have the following Cron job running: /home/ubuntu/scripts/austria/archive.sh >> /home/ubuntu/logs/austria/archive.log 2>> /home/ubuntu/logs/austria/archive.err Every time the scrip runs, it ...
-2
votes
0answers
34 views

How do I become an expert of C language on Linux? [on hold]

I want to start from the beginning. What are the steps I should take?
2
votes
1answer
19 views

What do systemd “Vacuuming done, freed 0 bytes” messages mean?

I'm seeing messages like the following in my systemd journal: systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming ...
0
votes
1answer
24 views

Continuing an interrupted `wget` session?

Is it possible to continue an interrupted wget session - eg. by parsing the log-file (created with -o or -a ), or after somehow have wget store additional information to disk (like it's list over ...
0
votes
1answer
865 views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
0
votes
0answers
4 views

Sync NAS (OMV) with OneDrive or DropBox

I have installed a NAS to my network, to backup all my files there, with OpenMediaVault. My question is if there is any possible way to sync a shared folder from that server, to an online cloud ...
1
vote
0answers
25 views

What does raw_spinlock mean? [on hold]

I was studying struct raw_spinlock which is in the /usr/src/linux/include/linux/spinlock_types.h was like this: typedef struct raw_spinlock { arch_spinlock_t raw_lock; #ifdef ...
2
votes
2answers
1k views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
41
votes
2answers
20k views

Kernel inotify watch limit reached

I'm currently facing a problem on a linux box where as root I have commands returning error because inotify watch limit has been reached. # tail -f /var/log/messages [...] tail: cannot watch ...
0
votes
0answers
11 views

Having trouble with devices and USB ports

I have been trying to play Xwing vs Tie fighter on Linux Ubuntu Mate in virtualbox with my playstation 3 controller. After a few attempts It worked but I rebooted and it stopped working. If I load ...
0
votes
1answer
29 views

Proxy connection via SSH from one terminal to another

I have a private proxy which can be either HTTP/SOCKS, and i am renting a Linode server that i use for web-hosting. If I use a program like putty to SSH onto the webserver and run who it will display ...
1
vote
3answers
32 views

Select and sort IP address keeping the whole line

So I need to sort the IP Addresses and then sort my line by them. I can sort IP addres in a file by using : sort -n -t . -k1,1 -k2,2 -k 3,3 -k4,4 If my file looks like : add method1 a.b.c.d ...
1
vote
1answer
30 views

Live Linux and FAT32

I'm looking for a Linux distribution that will run (uncompressed) on a FAT16/32/NTFS partition, preferably on an external USB drive. I've come across Slax and Porteus as well as a few others but they ...
26
votes
8answers
104k views

How to determine Linux kernel architecture?

uname -m gives i686 and uname -m gives i686 i386 output in Red Hat Enterprise Linux Server release 5.4 (Tikanga) machine. I need to install Oracle Database 10g Release 2 on that machine. So, how can I ...
0
votes
1answer
15 views

Linux UART IO File

How bytes received on UART device are stored in some serial Linux devices /dev/ttyS? How to read them? What is the procedure? Should that device file be closed, when new data is arriving?
0
votes
5answers
37 views

update the json file

I have a file, actually json file. How I can add a comma to the end of every but the last line ? For example: {"a":1, "b":1, "c":2} {"a":3, "b":3, "c":1} {"a":1, "b":2, "c":3} What I want: {"a":1, ...
0
votes
2answers
31 views

Different behaviour of eval “ command \”$@\“ ”, “$@”, and “$(echo $@)” when used as arguments [duplicate]

I would like to pass multiple arguments to the Tor browser (firefox) programatically through a function arbitrarily entitled tor. This is so as to command tor search terms and voila! My search terms. ...
0
votes
1answer
15 views

Configure internet connectivity in Centos 6.4 through wired LAN

I have a broadband internet connection through Hi-5 service provider in windows 8.1. In windows I connect to the internet after creating a connection and entering user name and password through the ...
1
vote
1answer
745 views

Can I use a parallel port as a CUPS input device?

I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect ...
8
votes
2answers
1k views

How can I change the permissions in /sys to alter the state of a LED/light using `udev`?

I've got a Thinkpad and would like to use the ThinkLight (the white flash light above the screen designed to light up the keyboard) for notifications on incoming Jabber messages. It is easy to ...
0
votes
0answers
4 views

root filesystem on nvme device

I have an Intel 750 nvme drive. Works fine. Well.. sort of. I would like to use this device as my root file system. I have no bios support for nvme devices. I have the nvme driver enabled in the ...
1
vote
0answers
9 views

Is there something like “make localmodconfig” that detects *all* your hardware?

I understand that Linux's "localmodconfig" target looks through all your loaded kernel modules and produces a .config file that enables those modules. This is nice, but what about hardware whose ...
2
votes
2answers
39 views

Use default gateway as ntp server

I have a lot of servers running debian and they all must synchronize clock to NTP server running on their respective default gateway. Since there is many servers on many different network segments, I ...
8
votes
3answers
501 views

Find all animated gif files in a directory and its subdirectories

let's say that i've done a find for .gif files and got a bunch of files back. I now want to test them to see if they are animated gifs. Can i do this via the command line? I have uploaded a couple ...
1
vote
1answer
11 views

Network Monitor Tun Interfaces

I am trying to setup monitoring for my openvpn setup. Everything I have found so far doesn't have good logging for anything but the main network connection. I already have logging of openvpn data ...
0
votes
2answers
1k views

Linux Permissions vsftpd

I have mybb installed and running in /var/www/forums. I have two users part of the www group, logan and www-data. I have the recursive permissions of forums directory set to: chmod -R 755 forums ...
1
vote
0answers
42 views

how to read a nand?

There is a NAND Flash drive embedded into the motherboard I am using. Linux by default does not read NAND Flash, how can I modify my system to allow me to read the NAND flash drive like any other ...
3
votes
2answers
2k views

volume hot keys in Crunchbang don't work

I've spent 2 hours on this and still can't figure this out. It's driving me insane. Please save my sanity. When I press mute, the pnmixer control in the top right shows that I've pressed mute, but ...
73
votes
4answers
75k views

Why do I need a tty to run sudo if I can sudo without a password?

I have configured sudo to run without a password, but when I try to ssh 'sudo Foo", I still get sudo: sorry, you must have a tty to run sudo. Why does this happen and how can I work around it?
4
votes
5answers
171 views

delete folders older than 1 day

I want to delete all the folders that are older than 1 day with following command: find /test -mmin +1440 | xargs rm -rf But the output of find lists /test (and would remove it accordingly). How ...
10
votes
6answers
38k views

How can I monitor serial port traffic?

Is there any port monitoring tool to watch the packets written on the port? I especially want to check if my program written in Java works so I need some kind of tool to see if my little application ...
-3
votes
0answers
40 views

Error in youtube in view of mode theater [on hold]

Here is the problem I've found in Linux: How to fix it? It's in all browsers in my Linux. i from Middle East In the dailymotion website happens it also to Videos. The mode view of cinema is not a ...
0
votes
0answers
13 views

LXC need desktop or server [on hold]

I am linux daily user but still naive to server. I want to install nagios and cecti to monitor my local server and network AP, switches and router. I want to try LXC or LXD. What type of OS (whether ...