Linux refers to the family of Unix-like computer 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
0answers
11 views

Ubuntu 14.04 upgrade broke Apache2

I just upgraded to ubuntu 14.04 and now apache2 won't start, I get the error: root@dennisHome:~# /etc/init.d/apache2 restart * Restarting web server apache2 ...fail! * The apache2 configtest failed. ...
0
votes
0answers
6 views

Unable to start Postfix from Virtualmin

I have a probleblem with starting postfix from Virtualmin, all email functions are disabled on my VPS. What should I do in order to re-enable it?
0
votes
1answer
14 views

Sed is not Interpreting Pipes Correctly

OK, this is hard to explain, so I will give a reproducible example: I have a text file test.txt contains the line: somesetting-parameter /an/old/path I want to replace it with a path I can get via ...
0
votes
0answers
4 views

stop network manager cycling access points

I have a fedora linux dell laptop, and a wifi network which has three access points broadcasting the same ssid on differing (non overlapping) channels. Two of these APs are a long way off, and the ...
0
votes
0answers
13 views

Linux to clone Windows 7 disk with HP recovery partitions to larger drive

I am trying to clone a smaller windows 7 disk to a newer faster SSD Hybrid with more space while retaining the HP Recovery partitions (I'm assuming they offer value). It would be good to know what ...
0
votes
0answers
9 views

restore rpm to default installed version on RHEL

Is there a way to restore one single package back to the original version shipped with the RHEL OS? A YUM downgrade just downgrades the package to the previous version located on the repository and ...
2
votes
0answers
7 views

Restoring file properties but not the complete files, from backup

While copying data from my old storage on a Linux computer to the new (linux-based) NAS, I accidentially failed with getting the properties (most important: the modify dates) along to the new ...
-3
votes
1answer
61 views

Home Row worth it? [on hold]

I was wondering if it would be worth it for me to learn home row? I already type very fast and accurately without it and learning it seems like a hassle, but using Vim it seems like it might be ...
4
votes
1answer
25 views

Fake desktop environment on Debian server?

I want to run a TeamSpeak 3 Client on my server to serve as a local sound bot. TeamSpeak 3 Client needs a GUI. It is based on Qt. Since TeamSpeak can be controlled from command line, it is not really ...
0
votes
0answers
21 views

VPN client for linux machine + support checkpoint gateway

Since Checkpoint Company not have a VPN client for Linux (checkpoint VPN SNX R71 not fit for us because this VPN required changes on the gateway side ) I am trying to find if there is VPN client ...
0
votes
1answer
12 views

Nagios command definition files

Im following the tutorial from this page. Writing Custom Nagios Plugins Everything is working fine my only problem is that the first config file your supposed to edit is the command-plugins.cfg file ...
2
votes
0answers
42 views

Historical: why is the first GUI terminal in linux Ctrl-Alt-F7?

What were the first 6 text terminals for such that the GUI terminal doesn't start until 7? That seems like the kind of design decision that shows some kind of historical accident or interesting ...
1
vote
2answers
23 views

unable to remove file and directory

i'm trying to remove directory from my external hard drive that i mounted to the file system i'm using the rm -r command but i got the the strange error : rm: cannot remove `Lundu ...
0
votes
0answers
7 views

How can I finish the unfinished transaction, so then I can make all the updates?

I try to use yum update and everytime it says me to run yum-complete-transaction first to finish the unfinished transactions remaining. When I try, it loops like forever, and sometimes it ends by ...
2
votes
1answer
16 views

How to hide a program from linux's tab-completion

I have an account on a shared machine, and cannot access /usr/bin, where there are many programs which I never use. I'd like tabbing to ignore many of these programs, for example I'd like ...
0
votes
1answer
18 views

Unrar local files to remote server

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
0
votes
1answer
12 views

Alias in KDE desktop session

Can be set alias for desktop session like it can be set in terminal? In fact I am not sure if desktop sessions work in the same way. Is there some central interpreter which interprets the commands ...
0
votes
0answers
10 views

How can I create pushable remote Mercurial repos that works over SSH?

I have been using git for a while and I use git and ssh. I have couple bare repos on my server which I use to pull and push on multiple computers. Now I want to try Mercurial for some of my projects ...
8
votes
3answers
765 views

Why is Vim adding a newline? Is this a convention?

If I open Vim and type itest<Esc>:wq then I get a file that has no newlines in Vim but does seem to have a newline in the code: $ vim -u NONE test.txt $ cat test.txt | hd 00000000 74 65 73 74 ...
1
vote
2answers
25 views

How to check/adjust SSH server on embedded board

I'm currently having difficulties connecting to an embedded board from my Linux machine through ssh. The embedded board is a FOX G20 V with a Linux OS. I've tried to connect to the board through ...
1
vote
0answers
12 views

Removing/Unlocking a password on an embedded board

I have a bit of a problem with an embedded device that I am using to connect to through ssh from my Linux machine. I'm not sure why, but suddenly, after not connecting to this board for several weeks, ...
1
vote
1answer
21 views

Connect to host port 22 connection refused, but connect to different host on port 22 connection established

I'm working with two embedded boards on my Linux machine. For one of them, I am able to connect to it through ssh on port 22 with no problems. But when I try to connect to another one on port 22, it ...
0
votes
2answers
38 views

Create a new column in the begining of text file with concequtive numbers from 1 to 32 after finding a specific word [on hold]

I have a file with the following format: #pair: 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 ...
7
votes
2answers
643 views

I need sudo without password prompt, for scripts. Where did I go wrong?

I am in sudo group all right: $ id uid=1002(molot) gid=1002(molot) groups=1002(molot),27(sudo),33(www-data) In my sudores I seem to have appropriate setting: sudo ALL=(ALL:ALL) NOPASSWD: ALL ...
0
votes
2answers
18 views

Start Linux process/script via web interface

I have a bunch of Java programs/shellscripts that needs to be manually started every now and then (mostly in the mornings), and stopped every evening (same there). I would like a possibility to start ...
0
votes
2answers
21 views

Using linux commands with “symbol-named” files

How can I use various linux commands such as cat, ls, touch, more, less ... with file named as symbols as - / -- and so on? Thanks!
0
votes
1answer
31 views

Checkpoint VPN client not connecting, Debian Wheezy

Edit: what I'm looking for here is help finding out what's going on at the OS level, so that I can find out for sure whether the problem is on my end or my workplace's end, or in between. I'm not ...
0
votes
1answer
3 views

linux find file modiffied past exact hour

I would like to find files that are modiffied past exact hour. example: File Time Modified test1.log 14.45PM test2.log 15.01PM ...
0
votes
2answers
24 views

Add static IPs (for web devel) when using DHCP on Linux

(This post is in two parts: top part is what I've tried, bottom half is what I'm actually trying to do.) New notebook, Mint 16 (which uses NetworkManager), and I'm trying to just use wifi+DHCP to ...
0
votes
0answers
7 views

TERM=xterm-256color vs xterm+256color

I noticed debian ships with a terminfo xterm+256color while most other distros only have (and is the default in osx) xterm-256color looking at the info on both, i can see that xterm+256color is very ...
0
votes
2answers
20 views

Print or grep lines which start from second column

I want to print lines which start from second column (first column is white space). $ cat test.txt first second third four second five seven Output should be: second second ...
0
votes
0answers
7 views

how do i give apache access to my project root directory without taking away any of my admin user rights

I copied over a php folder from my computer to another and hooked it up to pache. However apache would return page forbidden. After doing some research it turned out it was a matter of giving apache ...
1
vote
1answer
7 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...
0
votes
0answers
23 views

Aftermath of Rooted Server

My Ubuntu Linux server is potentially rooted after the HeartBleed Bug. I'm deleting my old server and creating a new one. I have a feeling that the files on the original server are all plagued. Now, ...
0
votes
1answer
13 views

Redirect output to printer via device file?

Is there a way in Linux to print a file with a modern printer (a Canon MX870 in my case) by redirecting text to a device file? I imagine the command to look something like this: cat my_notes.txt ...
0
votes
0answers
10 views

How to set timeout for svn update?

I have about hundreds of server(all has its own working copy), fabric(python ssh tool for administration) will issue multiple svn update to those machines, many commands (10% machine) return ...
0
votes
0answers
15 views

Sharing an X Display between multiple users?

If I have regular user one signed in to an X session through a display manager, is there anyway for regular user two to open a window of their on on the same display?
0
votes
0answers
20 views

After updating archlinux, the maximum volume is far too low

I booted my Archlinux PC today and opened Mumble, and found that I couldn't hear anyone, so I opened some music and I couldn't hear that. After turning my volume to the maximum possible level in ...
0
votes
0answers
15 views

Amazon EC2 - Node Package Manager fails to install modules

I've installed node and, supposedly, all of its dependencies on an Amazon EC2. I can launch a node app and have it work just fine. However, when I attempt to use npm to install any module, express ...
0
votes
0answers
11 views

Clonezilla image folder lacks disk and parts files

I'm trying to restore an image from an SSD to a new SSD (same make and type). In the image folder I can see there are no disk and parts files. And that's why ocs-sr complains about these. The files on ...
0
votes
0answers
13 views

Virtualbox image from Vbox 4.3.8 freezes on Vbox 4.2.1 host

So, I spun up a Debian guest VM on my Arch host machine using Virtualbox 4.3.8. After running all necessary tests and stabilizing the server environment on the VM, I moved the entire VM to my Debian ...
0
votes
0answers
10 views

Package manager for target file system

I'm developing for an embedded linux application and I need to install some libraries that have a pretty lengthy list of dependencies. Is there a package manager out there that I can point to the ...
1
vote
1answer
21 views

resizing (and moving?) partitions in Linux

I'd like to use GParted (or fdisk) to go from the configuration in picture to one where I have the same ammount of space for swap and /, while /home eats all the remaining space. Is there a simple way ...
1
vote
0answers
10 views

dhcp no lease because of not-DAD mode

My virtual machine does not receive an IP lease anymore. Manually requesting a new ip lease by 'ifdown/ifup eth0' or 'dhclient eth0' or 'service network restart' don't work either. The error is ...
0
votes
1answer
11 views

Run htop over ssh via single command

I want to run htop over ssh - but launch it automatically on a keyboard-less system with a shell script. My first idea was ssh [email protected] 'htop' but: Error opening terminal: unknown. Is ...
0
votes
0answers
21 views

Why might one computer not be able to connect via FTP?

In my office we have ~12 computers on a network, connected via a TP-Link switch to a D-Link router to the local utility's ASDL service. We are a heterogeneous environment of wifi and wired ...
1
vote
1answer
19 views

Checking if VPN is working correctly

How to make sure, that all traffic (e.g. from web browser) is passing through VPN and no data is leaking through normal internet interface? Or how to check, what interface (VPN or other) is used by ...
1
vote
0answers
10 views

How to forward usb port to guest OS using qemu

I have lots of usb devices and I would like to connect them to guest os. Currently I'm forwarding one device at a time. $ qemu-system-x86_64 ... -usbdevice host:xxxx:yyyy I would like to give ...
0
votes
2answers
29 views

Inserting a linebreak in lines starting with a pattern

I have a huge file that has the following format: #pair: 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 ...
1
vote
1answer
18 views

Install Debian To USB With State Saving

I want to install Debian on a flash drive, but have it operate just the same as if I installed it on a HDD/SDD. So far, all the tutorials/write-ups I can find are just how to make a "live" version, ...