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
1answer
395 views

How to access computers with different network segment?

I have a computer with CENTOS installed as operating system with 2 NIC. One NIC is connected to the internet while the other is connected to a switch that is connected to 3 other computers. These ...
1
vote
2answers
61 views

How can I tell which user has bound to which ports?

How can I get a list of ports that are being listened on and the name of the user who bound them (on linux)? Ultimately I want to have several users on a system which are assigned 2 ports to use and ...
2
votes
2answers
369 views

#! (shebang) line length limitation

In connection with developing GNU Parallel I seem to have hit a limit in the length of #! (shebang). This shebang-line: #!/bin/echo ...
0
votes
0answers
26 views

Graphics card keeps cache upon reboot

I have a dual monitor system with my computer dualbooting ubuntu and windows 7. Whenever i boot into ubuntu it doesnt remember my resolution setting. For some odd reason when switch resolutions on the ...
0
votes
1answer
1k views

Linux: How can I run multiple wine versions in a multilib enviroment?

I'm running Slackware 64 14.0 with 32 bit multilibs. Numerous sites have explained that it is impossible to run multiple versions of wineserver and that the solution is to kill the old version of ...
0
votes
1answer
613 views

Change owner/group of a subdirectory of an fstab-mounted vfat partition

In all likelihood this is a repeat question, but I seem to be currently experiencing difficulties forming a search query to locate an answer. I have a vfat partition mounted to /data containing all ...
3
votes
3answers
367 views

How to escape files containing special characters like -, or spaces

The contents of a directory: $ ls -l total 122639 -rw-r--r-- 1 125578080 Aug 20 17:47 - Diana Krall, Stan Getz & Oscar Peterson.7z drwxr-xr-x 4 4096 Aug 20 18:02 Java I wish to use the ...
3
votes
1answer
710 views

`ifconfig` isn't showing stats for an alx gigabit card

So I just setup conky on my arch box for monitoring various stats on the desktop, and I'm having a small problem. The relevant text in my conky config: down $alignr ${downspeedf enp9s0} kb/s - ...
1
vote
2answers
3k views

Remove lines matching string in grep

I have some long configuration files to go through, and I would like to see just what is actually active in the .conf file, without any of the # tags. What can I use to output the lines without a # on ...
-1
votes
0answers
394 views

Create an AES encrypted ISO with Linux and open it in Windows [closed]

I need to create an .iso file in a Linux environment. That iso may be created with any CD-burner software. The cd must be supported in a Windows environment, and by people knowing the password, be ...
2
votes
2answers
2k views

Recover deleted files from FAT partition under Linux [duplicate]

I need to recover deleted files from a FAT partition under Linux. I tried to do it with TestDisk and it was ok, but now I need to do it from a partition which has many bad sectors – and I found the ...
0
votes
1answer
930 views

rm -rf does not delete folder contents but instead creates another empty one

I'm currently writing a start script for a minecraft game server. In this script I included a backup script. This backup script works almost perfect but instead of deleting a folders contents it just ...
1
vote
3answers
579 views

Running a script where you append the errors to file and use nohup

The script works! First I type this in my CLI: php worker.php >>/home/xxx/log 2>&1 Then, I want it to run as its own process or whatever, so I add an & at the end, like this: php ...
3
votes
3answers
697 views

Display deflation percentage of tar command (like zip command)

This question may sound weird but I would like to know if there is a possibility to display the deflation percentage of the files processed in the tar command. I use this command tar -cjvf ...
0
votes
2answers
2k views

Finding why a ssh tunnel is not working

I have a remote server that I can SSH into no problem. I have PostgreSQL (ps) set up on the remote server (called 'enc') and local machine, both running on 5432 (the default). The remote server does ...
1
vote
1answer
2k views

How to reset terminator terminal emulator configuration?

I messed up terminator, I tried to use some commands in the preferences and now it doesn't work anymore, it starts and exits immediately, I tried reinstalling it using synaptic manager, but that ...
12
votes
2answers
74k views

need iptables rule to accept all incoming traffic

For my test environment i want to accept all incoming traffic, can someone please give me the iptable rule to be added. My current iptables -L -n output looks like this Chain INPUT (policy ...
1
vote
0answers
573 views

yum epel depsolving problems when installing R

I am trying to install R on an old RHEL5 system. sudo yum install R reveals This system is receiving updates from RHN Classic or RHN Satellite. Setting up Install Process Resolving Dependencies ...
1
vote
1answer
77 views

How to know on which socket is a processor core?

I have a dual socket 8 core system, 4 cores on one socket and the other 4 cores on the other socket. How can I find, which core is on which socket through /proc/cpuinfo. For example here, on which ...
2
votes
0answers
428 views

Can not cd into symlink on Debian 7

I want to give user webadmin full access to directory /usr/tomcat/webapps. So, I have created a symlink in webadmin's home directory to the target directory: lrwxrwxrwx 1 webadmin tomcat 28 Aug 19 ...
1
vote
1answer
434 views

How can I change Vim SuperTab plugin highlight color?

The highligthed match is basically invisible. Is there any way I can change the color SuperTab uses to highlight matches? Is this perhaps a compatibility issue with my theme (molokai) or with my ...
1
vote
0answers
181 views

Gnome 3 copy/paste with a Mac keyboard

I want to use a Mac keyboard in Linux with Gnome 3. What I essentially want is to have Cmd/Ctrl keys behave like in Mac: do all copy/cut/paste, window switch and etc. using Cmd key but in Terminal ...
0
votes
2answers
313 views

Linux: Disable Laptop Touchpad Using In-Build Sensor

These days many laptop devices come with a touchpad that have sensor next to them. By double clicking these sensor (or single clicking on some of them) the touch pad is disabled until the sensor is ...
1
vote
1answer
350 views

default user for sudo command

In my sudo command, if I don't mention username, will it take root as the default user? For example, In the following command- sudo mkdir /tmp/computerLinux/ using which target user will it execute ...
0
votes
1answer
610 views

YUM crashed due to library missing

I tried to remove stock Lua and build my own one, so I tried: yum remove lua But too many dependencies on the package and it does not allow me to remove it so I used rpm instead: rpm -r --nodeps ...
4
votes
3answers
5k views

How to change Terminator title terminal title, ZSH on Debian?

I don't know if I should ask it here or on unix.stackexchange.com, I found this question here. My question is similar, I want to change the title of a terminal, I'm using a Debian based distro, ...
0
votes
0answers
80 views

Computer randomly powered off at exactly 3 am

I am running a Zentyal server at home, set up to run as a gateway, file server, etc. It is running on a fairly standard computer with standard hardware (Intel i3, 8GB RAM, 300W power supply). A few ...
0
votes
1answer
595 views

Error with curl

I'm having this error with curl: curl https://www.google.com -v * About to connect() to www.google.com port 443 (#0) * Trying 2607:f8b0:400e:c01::67... * Failed to connect to ...
0
votes
1answer
702 views

Streaming Music Collection from Apache Server [closed]

I've got a raspberry pi as my home server, it's not terribly powerful, but all I use it for is hosting some test projects before they go live. However, I'd really like a way of streaming my vast music ...
0
votes
0answers
37 views

Copy failing drive in order to retrieve files?

I have an NTFS hard drive with a dynamic partition, which I believe is on the verge of failure (multiple spin-up retries, drive disappears from "My Computer" in Windows). I have ordered a 1TB drive to ...
1
vote
1answer
421 views

Turn off single process swap and overcommit

Two questions: Is there some way to turn off swapping for a given process, i.e., is it possible to kill a certain process if it uses all the system's primary memory available? How do I deactivate ...
0
votes
1answer
543 views

Inputting UTF-8 characters into the Bash CLI

I've got a directory listing with files like: drwxr-xr-x 2 nobody nogroup 4096 2011-01-11 21:06 Капкан drwxr-xr-x 3 nobody nogroup 4096 2011-11-17 08:40 СБПЧ When I copy/paste or ...
0
votes
1answer
235 views

NetworkManager and keyfile to connect to WPA2 Entreprise

How can I use NetworkManager with keyfile to configure a Wi-Fi connection in WPA2-Entreprise?
3
votes
2answers
411 views

Is there a large difference in memory usage between Linux File System types?

I'm trying to optimize a severely memory constrained system (DNS-323 NAS, 64MB) and wonder if you know or know how to find out the memory usage for different file systems? Naturally, the memory used ...
1
vote
2answers
420 views

Unable to install debian on Lacie ss4000e Kernel Panic

I am trying to load Debian Linux on my Lacie ss4000e I have been trying to follow this tutorial http://d-i.alioth.debian.org/manual/en.armel/ch05s01.html#boot-firmware-ss4000e I have tried to load it ...
0
votes
1answer
280 views

Emacs org-mode configuration

I'm trying to configure the org-mode in Emacs. I'd like to use the org-capture feature. I don't know whether I misunderstood, but if I try to capture something with C-c c from a non org-file, it ...
0
votes
1answer
405 views

how to use dpkg --set-selections command in linux

I have been running these commands: sudo dpkg --clear-selections sudo dpkg --set-selections < [Path to packages_list ]> sudo apt-get autoremove with the file packages_list which looks like ...
7
votes
2answers
5k views

Permanently disable screensaver Fedora 19

I am creating a bash script that will 'setup' a client machine running Fedora 19 (GNOME). I need to be able to permanently disable the screensaver with no user input. I found some (granted, old) ...
0
votes
1answer
273 views

Permission denied creating dir.. user in group

This seems like it's probably going to be a stupid question. I am trying to create a subdir in a directory which is owned by a different user; but the group is the same that I belong to. What am I ...
12
votes
1answer
16k views

sorry, you must have a tty to run sudo

I had already asked this question in Stack Overflow, but I've been asked to post it here. So doing the same. I ran this command using my java program- sudo -u <username> -S pwd I got this ...
11
votes
3answers
12k views

How to create symbolic links to all files (class of files) in a directory?

I would like to create symbolic links (ln -s) to all files (or a class of files, e.g. ending with .bar) in a certain directory. Say I'm in the cwd and type ls ../source/*.bar gives me foo.bar ...
1
vote
1answer
1k views

What memory statistics does Linux' ps command really display?

Consider the following pmap output of a simple tail process on Linux: $ pmap -x 3974 3974: tail -F /var/log/syslog Address Kbytes RSS Dirty Mode Mapping 0000000000400000 60 ...
0
votes
2answers
123 views

Trying to get example from Awk and Sed book to work on Ubuntu 13.04

I have been developing Windows Software for years. I am trying to branch out and learn Linux. It will really help with my new job. I have picked up the book, "Awk and Sed" 2nd Edition. I am ...
0
votes
2answers
217 views

Advantages / Disadvantages to rolling my own Linux kernel? [closed]

I was thinking about installing a fresh copy of Ubuntu on my main machine. Along with doing so I was thinking about rolling a mainline kernel to get all of the latest support for hardware and such ...
5
votes
1answer
266 views

How to disable / re-map keyboard keys in the kernel?

I would like to remap my Caps Lock key to either nothing or a key code of my choice. To get the same behaviour across different environments (X / Wayland / non-graphical TTYs), and for learning how ...
1
vote
1answer
659 views

trouble compiling linux kernel from source

I am trying to compile a kernel from the source tree found at https://github.com/fio-prf/em, and I am getting the following error when I run make: make[1]: Nothing to be done for `all'. make[1]: ...
2
votes
0answers
155 views

Windows 7 not showing on Grub 2 list

I have Linux Mint and Windows 7 installed on two separate drives. I have bounced between the two all day (initially trying to get mint to show in the windows boot list, and now working on getting ...
0
votes
1answer
2k views

Linux Fedora - how to create DSN of database in MySQL instance running on localhost for use by RODBC?

A few preliminaries - OS: Fedora release 16 (Verne) MySQL server version: 5.5.29 MySQL Community Server R version: 2.15.1 (2012-06-22) -- "Roasted Marshmallows" I am running a MySQL server that ...
0
votes
0answers
333 views

Disabling Windows Boot Manager And Using Grub2

All, I'm in a wierd situation, I would like to use grub2 to boot my Ubuntu, Windows 7 (old) and Windows 7 (new). I purchased an SSD and installed Windows on it. My old Window installation still ...
7
votes
5answers
2k views

How can I make a Bash Script take an input before the script is invoked?

Basically, you call my Bash Script by typing mybashscript in console. Then this starts: Welcome to mybashcript! Choose an option (login|logout|view|erase|quit|): The user then types whichever input ...