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

1
vote
1answer
4k views

while installing a patch I am getting this error: 1 out of 1 hunk FAILED --

We are configuring lighttpd in centOS 6.4. To enable kerberos authentication, we are trying to install this patch. Saving rejects to file /usr/local/sbin/lighttpd.rej patching file ...
0
votes
2answers
162 views

Instructions embedded in Bash script?

Is there a way to make a bash script require a set of parameters when it's loaded, and if not, it will automatically spit out an echo to the screen giving instructions? Looking at this example of a ...
2
votes
0answers
493 views

3rd display on Fedora 18 with ati radeon and intel graphics adapters

Using fedora 18 with latest updates (kernel 3.10.12-100.fc18.x86_64, xorg 1.13.3). Computer m/b has own vga connector, provided by: 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 ...
0
votes
2answers
129 views

Port based NAT-ing with iptables

On eth0 port we have public IP, and eth1 we have IP 10.31.0.1 which provides DHCP and Squid service. Ports 8080,53,67,80,443 are open. Now for an application we have to open 1521,8443 ports so that ...
1
vote
2answers
71 views

How to mirror Dedicated Server

I bought a dedicated server with cent os from 1&1. I want to upgrade the cent os version on dedicated server. Before that, i want to take a mirror of the server for backup. It hosts many ...
0
votes
3answers
9k views

Grub menu not showing after installing Linux Mint 15 on a computer with Windows 8 pre-installed?

I installed Linux Mint 15 on my machine where Windows 8 was pre-installed. After successfully doing so, the grub menu would not show when I would boot the computer. It would boot straight into ...
1
vote
1answer
670 views

Merge two partitions on one disk to a separate partition on another disk

Here is what I'm trying to do. I have a /home (sda1) and swap (sda2) partition on one disk that I want to merge into a larger swap partition and utilize all of the swap space. When I used the fdisk ...
0
votes
1answer
606 views

Can Intel Xeon Phi improve ffmpeg performance?

I'm building a server for video encoding and I'm planning to use the latest Xenon e5-2697 v2. Can Xeon Phi help me improve ffmpeg encoding performance? a bit confused by this new "processor" ...
4
votes
1answer
5k views

Windows equivalent to xargs?

What would be the Windows 7 Equivalent for the following command? find . -type f -print0 | xargs -0 sed -i 's/ url \([^" >][^ >]*\)/ url "\1"/g' I am trying to migrate Django 1.4 to 1.5
1
vote
2answers
493 views

Debian: why are the suggested upgrades from apt-get and synaptic different?

I am running Debian Jessie, and this is the content of my sources.list file: deb http://ftp.debian.org/debian jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib ...
-2
votes
1answer
196 views

Read the contents of a zipped file without extraction just 1 level?

unzip options -t and -l lists entire zip, even sub directories. Is there an option of unzip to read contents just 1 level ? It should list immediate contents of zip. It should not list contents of ...
0
votes
2answers
6k views

Exit sudo in the middle of a shell script

I have a shell script in which most of the commands need to be run under sudo; however, the last few commands need to be run as the current user. Is there a way I can exit sudo and switch to the ...
4
votes
1answer
3k views

How do I use magic sysreq keys on a Mac?

I only recently found out about the magic system request keys. How do I use them from the keyboard on Macs with a Linux-based OS installed, or in other cases where the keyboard doesn't have a SysReq ...
3
votes
2answers
157 views

How to access files in var?

I want to copy var/log/installer to my Windows computer. I can copy from other locations, but not from this one. This is the error I get in Nautilus. Error while opening file: permission denied It ...
3
votes
2answers
2k views

xterm not wrapping text properly

I'm configuring both my gnome-terminal and xterm columns (i still haven't picked which of these I will be using) and I have a couple of issues I would like to fix: the typing area seems to be ...
13
votes
1answer
801 views

increase desktop responsiveness on linux while swapping

All GNU/Linux distributions I tested so far have the problem that whenever the ram gets filled and the system begins swapping, the whole desktop and graphical user interface becomes unresponsive as ...
0
votes
5answers
2k views

What should I expect to see when I 'ping' my IP address?

I am using the linux ping command from a linux machine to test connection to a windows machine: I first find my windows machine IP address using ipconfig and then do this from the linux machine: ...
1
vote
0answers
531 views

How can I call phones from my pc using a mobile phone connected to my pc?

I mean this question in abstract for usb/bluetooth connected featurephones and dumbphones. But also specially for this mobile phone: Motorola RAZR V3i I have computers running debian and ubuntu, can ...
1
vote
3answers
85 views

Terminal Program To Save VI State

For a few years now at work I have been using the GNOME Terminal, and have gotten very used to that. I usually organize my work by categorizing each task on its own virtual desktop, then within each ...
2
votes
1answer
377 views

Reuse Linux SSH-Key with MacOS

I want to use an SSH-Private-Key generated on Debian 7 with my MacOS-Machine. So I copied id_rsa and id_rsa.pub to .ssh/ on my Mac. The Key is recognized, but every time I enter my passphrase the ...
0
votes
1answer
189 views

Any Linux equivalent for the HttpDisk tool?

Is there any Linux equivalent for the HttpDisk tool?
-1
votes
0answers
178 views

how to send email from my linux web server [closed]

I created a PHP program for some purpose and it is working on a server I bought from Godaddy. From that program I can send emails, insert, update, delete information and do whatever I want. Now the ...
2
votes
1answer
1k views

tagged (802.1q) traffic and vmware workstation on linux

I am trying to bridge vmware workstation's VM NIC to tap interface on host that includes 802.1q/tagged (vlan) traffic. Somehow vmware bridging strips 802.1q header and all traffic gets to VM untagged. ...
1
vote
4answers
119 views

Graphical editor with only one important feature - crop [closed]

99% of my Gimp starts is a open the image do the restangular selection crop image to selection save Gimp start slowly, ask 100 questions about "Am I sure" for each step, thats way i want some ...
0
votes
1answer
664 views

GLIBCXX 3.4.14 missing for Garry's Mod on CentOS

When installing Garry's Mod via Steam on my CentOS server I get the following errors: -- ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod" ...
1
vote
1answer
3k views

How can I fix broken apt/perl libraries?

I've got a Raspberry Pi set up as a web server, everything all working well until 5 mins ago, and I seem to have messed up man-db, apt or some perl library. apt-get doesn't seem to be updating and ...
0
votes
1answer
1k views

Use ncftpput to upload the folder content, not the folder itself

I'm trying to upload the content of a folder to ftp server using ncftpput -R -v -u "username" ftp.nixcraft.biz /nixcraft/forum /tmp/phpbb but I don't want to create a phpbb folder I want to upload its ...
3
votes
5answers
1k views

How to insert the last output line into the command line?

Does bash provide a way to insert the last output line of the previous command into the command line? For example, suppose I just ran ls -1 and the output was file1 file2 file3 Is there a key ...
2
votes
2answers
112 views

Why do some Operating systems require reboots for certain tasks? [duplicate]

Windows always requires a reboot after updates or big programs are installed. Linux generally does not require reboots but occasionally does. It seems to me that the OS should be able to ...
1
vote
1answer
653 views

Two partitions on USB drive

I want to have two partitions on my USB drive. First one mainly for all files, I decided to be FAT32 because it works on Linux and Windows. Second one for my Linux Mint backup and private files, ...
0
votes
2answers
585 views

Accessing Webcam Streams Through Shell

I am writing an app (running on ARM Ubuntu) that needs to be able to do image processing on the video stream from a webcam. The easiest way that I can get the data is through the output stream on a ...
0
votes
1answer
32 views

catfish indexer results via pipe or STDOUT?

Is it possible to use catfish indexer via command line to make use of its results in conjunction with other programs or in a script? e.g. catfish --filename='john' --contents=='yoga' | grep -v bak ...
0
votes
2answers
687 views

How can I simulate a USB printer to LPT on Linux?

I have an Intermec printer connected on an USB port to my computer, the computer doesn't have a parallel port. I want to send some raw commands to the printer, the printer interprets the file send as ...
0
votes
2answers
1k views

How to add 232.83GB of unallocated space to a mounted partition using GParted?

I have the following partition layout: I am wanting to move this 232.86GB of unallocated space to an already-mounted partition (/dev/sda1) using GParted. Is this possible?
4
votes
1answer
4k views

integrated intel graphics 3D acceleration probem with Linux on ThinkPad S531

I have a Lenovo ThinkPad S531 running OpenSuse 12.3 64bit. This notebook has the following graphics cards: - integrated Intel HD 4000 - discrete (muxless) AMD Radeon HD 8670M After the standard ...
0
votes
2answers
564 views

Disk clone: Is it possible to speed up entire process?

I have two identical USB 3.0 hard disks (750GB). One of them is empty and i want to use it as mirror of first disk (as a backup). Both disks are connected to USB 3.0 ports and in tests read and ...
1
vote
1answer
644 views

Weird start-stop-daemon behaviour?

I have the following script: #!/usr/bin/python3 import sys for s in sys.argv: print(s) Now I execute: sudo start-stop-daemon --start --pidfile /var/run/test.pid --make-pidfile ...
0
votes
1answer
3k views

How do I use wget to download a list of files from different URLs on the same site and store the files in the same folder structure as the URL?

I have a list of files I need to download at different URLs on the same site. Using the command: wget --http-user:user@domain.name --http-password:password -i download.txt The files download to ...
13
votes
3answers
21k views

Force spin-down of external hard-drive on linux (raspberry pi)

I'm currently setting up a home-server using a Raspberry Pi with an external hard-disk connected via usb. However, my hard-drive will never spin down when being idle. I tried already the hints ...
0
votes
1answer
1k views

Print feature in nano?

Is there a way to print a document from the nano text editor, i.e. send it to a printer to be physically printed out? I see that vim and emacs have this feature but I like the simplicity of nano. If ...
1
vote
1answer
357 views

Does mounting a btrfs subvolume work recursively?

With the following subvolumes on a btrfs filesystem on /dev/sda3: root root/home and the following mount: /dev/sda3 on / Is the /home folder on the root subvolume, or on the root/home subvolume? ...
0
votes
0answers
667 views

How to use 1TB HDD as main drive when mint is installed on 24GB SSD

I have linuxmint installed on a 24GB SSD on my laptop. The laptop also has a 1TB HDD installed internally. I need help getting permission to write to the HDD, and use it as the main drive for file ...
0
votes
1answer
965 views

can't find qtcreator in linux mint repository

I am brand new to linux, so pardon the ignorance. I recently installed Linux Mint 15 KDE edition, and i'm trying to install qtcreator. From what little i know of linux, i am to obtain software ...
0
votes
1answer
297 views

Too many levels of symbol links and as result console programs cannot be executed

I've got a problem. Something bad happened with my filesystem. Git denies to push files, but I could do with it init, commit and add remote. GNU g++ compiler doesn't compile. QtCreator can ...
1
vote
2answers
769 views

How do I determine if my power supply is dying?

I've asked a few questions (which you can view in my profile) regarding an old Gateway GM5474 (mostly) stock PC, It has been throwing kernel panics and just general non-responsiveness at random. ...
0
votes
1answer
238 views

Use all processor cores, 1 core/per 1 thread in *nix

According to xz documentation the "-T 4" means I should be using 4 threads, each compressing a different part of the file simultaneously. Before using nice -19 I would only get %50 usage of 1 core, ...
0
votes
1answer
92 views

Create window-specific rule in KDE4

KDE 4 has a feature 'ElectricBorders' which maximizes a window when it's dragged towards the upper edge of the screen. I can disable it globally by editing ~/.kde4/share/config/kwinrc [Windows] ...
0
votes
2answers
929 views

How to organize files in accordingly named directories from command line under Linux

I have a directory filled with various files, differently named (i.e. not named with a specific pattern) and with different extensions, and I want to put each file in a newly created subdirectory ...
2
votes
3answers
757 views

Check external IP from a Linux headless server

I have access to a headless Debian server which I would like to learn the external IP address. How can I do that? The server is connected to the Internet.
0
votes
1answer
411 views

How to move the remote x-window over SSH X tunnel, back to the remote linux host

Am connecting from my Linux (Mint) desktop to the Fedora (rpfr18) Raspberry Pi using SSH X tunneling. When the Pi comes up, I connect to it from the desktop xterminal using: SSH -X ...