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
votes
1answer
27 views

Create live mulitbootable flash drive with linux and windows7

So recently I have been having some trouble with my laptop, been getting bsod... So I thought, instead of carrying my external around with me and risking it becoming damaged, why not create a ...
2
votes
1answer
234 views

Package installed, but with error

CentOS 6.5, Puppet Enterprise 3.1.1. Given this declaration: package { vim: ensure => present } The following error is displayed: Error: Could not find package vim Error: /Stage[main]//...
1
vote
1answer
832 views

Thunderbird on Linux unable to delete or move emails

I'm running Thunderbird 24.2.0 on Kubuntu 13.10. When I first start the app, everything works OK: I can delete individual email items (Delete key, "Delete" button, or right-click context menu option) ...
19
votes
6answers
65k views

ping can't resolve hostname, but nslookup can

ping tells me that it can't resolve some hostname ("ping: unknown host domain.company.local") in a URL but when I use host or nslookup on the same computer on the command line, the resolutions works ...
1
vote
1answer
273 views

How can I manage a tmux session using supervisord?

I want do mirror the data of some 15 different servers that aperiodically but continuously provide files that I need. For this, I created a tmux conf that opens 15 tmux-windows with shells that run ...
0
votes
1answer
106 views

Remote IP on a local device

What I want to achieve is to be able to have one of the IP addresses from a remote server on a local server (raspberry pi). Right now the network map would look like this: RPi (192.168.0.42) ---> ...
4
votes
2answers
2k views

VMware ballooning state from inside guest

There's tools (e.g. extop) to check VMware ballooning state from VMware host. I'm using VMware to run CentOS 6.3 and when ballooning stars consume memory to reclaim it back to ESX host, my system ...
1
vote
0answers
104 views

Razer Anansi doesn't work in GNU GRUB 2

My new Razer Anansi keyboard does not function in the GNU GRUB version 2.00-19ubuntu2 bootloader that's running on my machine. The backlights do not turn on, and the keyboard is unresponsive. This ...
0
votes
2answers
62 views

How do different operators deal with a given string

I want to read two strings as parameters to bash script, these strings are meant to be extensions, then I want to replace the extension of files with the first extension to the second extension. The ...
1
vote
1answer
2k views

Installing LaTeX package

I am trying to install the amsmath package for LaTeX on Linux Mint 16. I am using the tlmgr amsmath or sudo tlmgr amsmath commands, but both of them are giving me this error: (running on Debian, ...
3
votes
1answer
2k views

Rsync very slow

I have just setup a Debian server for backup of Windows PCs. I am currently testing various methods including: rsync (using Deltacopy on Windows), SMB via Samba and scp. Currently rsync (without SSH ...
2
votes
1answer
5k views

Can I disable SSH last-login and MOTD on a per-user basis?

I'm aware you can disable last-login and message-of-the-day messages when starting SSH sessions by having PrintLastLog no and PrintMotd no in /etc/ssh/sshd_config. However, I don't have permission to ...
0
votes
1answer
915 views

Best way to create TCP Reverse Tunnel

So, here is the network setup: + +--------+ +--------+ +--------+ | +--------+ +--------+ +--------+ | Client | ...
0
votes
1answer
27 views

Domains and custom DNS server

I recently purchased a VPS plan and a domain. I have a webserver configured on my vps and I've created the necessary directories and configuration for the new domain. I have no idea how to link the ...
4
votes
2answers
3k views

What does Unix “lunch” command do?

man lunch and lunch --help both return nothing Googling for unix lunch command, I also find nothing I am assuming it is custom. How do I go about finding its location and what it does?
1
vote
1answer
3k views

Can't boot into Windows with Grub | Debian install

I have Windows 7 installed on a second harddrive, and I just installed Debian on my first hard drive. Sadly, the bootloader (grub2) is not picking up my existing Windows installation, and I can't ...
2
votes
3answers
2k views

How do you use PIPESTATUS, tee and /bin/sh together?

When I run curl | tee test.txt; echo ${PIPESTATUS[0]} I correctly see curl: try 'curl --help' or 'curl --manual' for more information 2 But when I try to run exactly same command using '/...
1
vote
2answers
463 views

How to figure out what device (if any) my DVD drive is assigned to in Debian GNU/Linux

I am running stock Debian Jessie and I would like to burn a DVD with xfburn. Problem is that xfburn can't see my DVD drive. e.g. it does not show up under as /dev/scd0 or any other (as far as I can ...
0
votes
1answer
503 views

How to change permission of a vmdk disk image mounted on Ubuntu/Linux?

I created a disk image from a Linux/Ubuntu physical machine using dd and converted it to vmdk using qemu. Now on Ubuntu (running in VMWare Fusion/Mac) I can inspect all files from that drive once it ...
2
votes
2answers
156 views

Who is the best user to be the owner of shared files?

I installed Debian on a home computer which will be used as a NAS. The server will share a folder with computers using Ubuntu or Windows 7 (I use a dual-boot). Should I chown all the shared folder and ...
0
votes
2answers
99 views

How to input text in a file in a specific line?

what am trying to do is to input the command sudo in a file with echo or something similar but not in the first line but in another line after a text ie. I have this text line[4]command=sh -c "...
2
votes
1answer
174 views

Execute wmctrl commands in xinitrc

I'm using XMonad configured to accept commands through wmctrl and would like to start up a few applications through xinitrc and move them to a certain workspace. Those commands work, when I use the ...
1
vote
2answers
5k views

Ubuntu: Write to serial port: permission denied

I've connected a USB to Serial bridge dongle, and running dmesg | grep tty outputted the following: [ 0.000000] console [tty0] enabled [603199.380677] usb 2-2: cp210x converter now attached to ...
0
votes
1answer
1k views

DVD not found error while kickstart installation on RHEL 6.5/6.4

I want ks.cfg on dvd itself to keep everything at same place. Content of isolinux/isolinux.cfg label ks menu label ^Kickstart kernel vmlinuz append initrd=initrd.img ks=cdrom:/ks.cfg And ks....
0
votes
0answers
454 views

Why does iptables restart cause connectivity timeout for about a minute?

I have a centos 6.5 64bit router with 3 nics. The box is configured to route 2 networks. netA - eth1 [ about 10 clients ] netB - eth2 [ about 100 clients ] provider - eth0 [ fiber to isp ] I have a ...
0
votes
3answers
160 views

How to upgrade an old Linux box with this hardware configuration?

I have an old Linux box that needs to be upgraded without touching the processor or motherboard. It contains software that was licensed specifically to this physical unit and I have no option other ...
0
votes
1answer
2k views

7-zip backup folders, exclude some of folders but keep excluded folder's name

By using 7-zip in Linux I need to save zip file to absolute path: /var/www/vhosts/mysite.com/httpdocs/app/webroot/myfiles.7z backup all files and subfolders inside this: /var/www/vhosts/mysite.com/...
0
votes
1answer
481 views

DHCP fallback based on /etc/hosts lookup of your hostname

I have a Kubuntu box (12.04) which usually gets its IP via DHCP. However, it also has a hosts file with some entries in case the DHCP+DNS server fails. Now, if there is no DHCP available, I want the ...
0
votes
1answer
78 views

Automatically restart a program or keep it running

I have a program that should run all the time (it collects some statistics) after Xorg start. However, there can occur some exceptions in this program, or it can be unintentionally closed, and what I ...
5
votes
3answers
5k views

USB drive keeps disconnecting and reconnecting

I'm running Debian 7.2 on an old late 2006 Macbook Pro. I've got two 4 TB Seagate Backup Plus hard drives connected to it that I've got in a mirrored ZFS pool. Recently one of the drives died, and I ...
0
votes
1answer
386 views

Use the ascii code of a character as an input to sort

I'd like to sort a file with a specific delimiter (ascii 0xff) and the records are zero-terminated. I cannot use the following command though: $ sort -z -t \xff -o data data The error message is: ...
5
votes
2answers
8k views

Change default text editor to Sublime Text in Linux Mint

I've installed Sublime Text 3 from the .deb found here: http://www.sublimetext.com/3 Now, how to set it as the default text editor in place of gedit in Mint 16?
9
votes
1answer
13k views

How to exit SSH of vagrant in terminal

Following the README in this repository, I am supposed to secure shell my way into a virtual machine I've created, but once I've done so, how do I get out? Here are the instructions: $ git clone git:...
1
vote
1answer
247 views

Bash script fails when putting command into variable

I try to use ghostscript in a bash script on my linux ubuntu 13.04. I have a problem to write ghostscript command in variable when the same command written directly, in console or into a script works ...
0
votes
2answers
3k views

How to replace the driver of realtek 8111/8169 NIC to 8111/8168

I have a Scientific Linux 6.2 with a kernel version 2.6.32-220.4.1 installed and I got a problem with a realtek r8111/8168 NIC. I found that this card does not work properly with the driver r8169, so ...
0
votes
1answer
607 views

Tmux: Start a window as root?

I currently have a shellscript which creates a session for me that has 3 windows: Zsh - Empty Vim - Runs Vim, started by tmux-sendkeys) Diff - Empty However, I would like to introduce a 4th window ...
0
votes
2answers
586 views

What is the difference between Linux's root privilege system vs Windows' administrator privilege system? [closed]

People say Linux is safe because system changes can only be made having root access and therefore blocks viruses or other malware from being executed. But doesn't windows administrator user system (...
0
votes
0answers
36 views

sudo: Who am I really? [duplicate]

I am experiencing some weird inconsistencies using sudo. Users: carl, root Command: MakeHotdog root@laptop$ MakeHotdog Hotdog has been made! carl@laptop$ MakeHotdog Hotdog has been made! However, ...
2
votes
1answer
2k views

PHP won't run on command line Linux

I think I may just be missing something simple, but I can not get PHP to run anything on the command line. I'm using Linux Ubuntu. All the exact same files run as expected via the web. I have tried ...
0
votes
0answers
24 views

Optimal config for VM host

I'm facing a big issue when I start my windows virtual machine. I noticed that there are a heavy disk usage, and in consequence the host desktop os is freezing and I'm not able to get back "commands". ...
1
vote
1answer
3k views

Virtual host error with Apache internal server error

I rented this server recently and I'm trying to set it up as a webserver. Apache is working and I tested phpmyadmin and a test.php file using the ip address directly on the web browser gives a message ...
5
votes
1answer
2k views

bash vi mode: What does # -*- mode: ruby -*- # vi: set ft=ruby : mean?

I'm looking through some random code, and at the top of it, it says this: # -*- mode: ruby -*- # vi: set ft=ruby : What does this mean? I know it's a simple question, but I couldn't find it out ...
0
votes
1answer
1k views

How to add Openvpn clients without the original rsa folder?

I have a working openvpn server, however I need to add a new client to my pool. The problem is that I do not seem to have the original rsa folder that was created when I was setting it up the first ...
4
votes
2answers
3k views

Is there really no way in Linux to get creation time for files on cifs/smb share?

I am embarrassingly far along in a bash backup script and have missed something major. I know that ext3 filesystems don't track creation date, but copying files within ext3 updates the changed time as ...
0
votes
1answer
467 views

Can an USB TV receiver by Pace Micro Technology work in Linux?

A friend got hold of a USB device that seems to be a Sky TV receiver. It has a USB cable on one side and an antenna F connector on the other. The model number is S-IM25-700 and it shows up in lsusb as:...
3
votes
2answers
607 views

Default gateway “dissapears” from the routing table

I use NetworkManager (Arch Linux) in my laptop in order to connect to wireless networks. I use the official GNOME GUI. Everything works fine, but after an half an hour or so the network is still ...
1
vote
0answers
215 views

Delete Hung TCP Sessions with SNMP

What I am trying to do, and failing horribly, is to close a TCP connection... I am trying to do this via SNMP and the functionality that is provided in the TCP MIB. First, I look at all the ...
1
vote
1answer
261 views

Can't copy files with accents to Mac OS

I have server which is sharing files through SMB. Server is using Ext4 to store files. Today I tried to copy the following file from server to Mac OS: 1-10 Bizet_ Carmen - Habañera.wav First time ...
9
votes
1answer
2k views

Which files are cached by linux?

I understand that linux uses unused RAM to keep some files cached. But I wonder, which files it actually caches! If you take a look at free : Gesamt Belegt Frei Gemeinsam Puffer Cached Speicher: ...
1
vote
1answer
2k views

Internet Connection frequently dropping on Ethernet

My internet connection is frequently dropping on Wired Lan (Ethernet) but the wireless works fine without any problem. It's not an issue of Internet Speed as Internet works fine in Windows. ifconfig ...