0
votes
0answers
2 views

tcpreplay output to STDOUT?

$ tcpreplay tcpdump-2015-01-02-18h-13m.pcap ERROR: The intf1 option is required tcpreplay (tcpreplay) - Replay network traffic stored in pcap files USAGE: tcpreplay [ -<flag> ...
2
votes
3answers
7k views

Can not get a VNC Remote session to Gnome 3.6.2 with Fedora 18

I have installed Fedora 18 with Gnome desktop and installed tigervnc-server. This same setup has worked fine with several other computers with Fedora 17, allowing me to do remote connections with ...
2
votes
2answers
317 views

Remove only unused dependencies using Synaptic

As all distros, install much unused software, so does PCLinuxOS. But when I am trying to remove this software using Synaptic, it marks the dependencies as "to be removed" too. The problem is that ...
0
votes
0answers
3 views

Gentoo: No package `glib-2.0` found

I have a strange problem when trying to install dev-lib/gobject-introspection: >>> Emerging (1 of 9) dev-libs/gobject-introspection-1.42.0 ...... configure: error: Package requirements ...
0
votes
5answers
28 views

setuid (and other) permissions lost when copying / elsewhere - what to do?

I sort-of-cloned an existing Debian 7.x distro by copying the contents of the root filesystem (not the special dirs of course) to another HDD. I booted, things seem to run, but - I get some weird ...
0
votes
1answer
867 views

Using alias in another script (ksh)

I'm writing a ksh script, and I'd like to use a command define by an alias in my .profile file, in my script. I tried this command in the folder containing my script, and it works. However, in my ...
37
votes
7answers
71k views

How to overwrite target files with mv?

I have a ton of files and dirs in a subdirectory I want to move to the parent directory. There are already some files and dirs in the target directory which need to be overwritten. Files that are only ...
3
votes
1answer
369 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
-1
votes
2answers
7 views

how to install the virtual-box on Linux Mint 17?

I need to install the virtual-box on my Linux Mint 17 machine, so please help me out. Also tell me if any prerequisites to install in the machine. Thanks in advance.
2
votes
1answer
14 views

sed: read whole file into pattern space without failing on single-line input

Reading a whole file into pattern space is useful for substituting newlines, &c. and there are many instances suggesting the following: sed ':a;N;$!ba; [commands...]' However, it fails if the ...
0
votes
0answers
4 views

How do I install htmldoc via cygwin?

I've installed all packages with gcc in their title via cygwin on my PC along with FLTK and I ran ./configure and ./configure ENTER with no errors but now after running make I received the error: ...
0
votes
1answer
2k views

What caused my CentOS 6.4 box to reboot itself?

I noticed that the MySQL daemon running on my CentOS 6.4 machine was suddenly not running anymore. I checked the MySQL log, but didn't see anything relevant: 121229 22:17:45 mysqld_safe mysqld from ...
0
votes
0answers
17 views

Permission of file keeps changing back

I have an Asus G75VX laptop running Fedora 20. The laptop has a keyboard backlight that is turned on by default every time I log in, which is undesirable behavior. I tried to solve the problem by ...
0
votes
1answer
43 views

Help Installing Linux on Chromebook C720

I'm a bit of a newbie but I've exhausted everything to try to install linux on my Chromebook. I've installed ChrUbuntu and crouton successfully but crouton doesn't offer a way to repartition the ...
1
vote
0answers
22 views

C-u eating prompt characters

I set up my PS1 as follows: PS1='\[\e[2;32m\]\u@\h \[\e[0;33m\]\w \[\e[0;32m\]\$\[\e[0m\] ' And now sometimes when I type something and erase it with C-u part of my prompt gets erased, if I keep ...
0
votes
0answers
41 views

Seems that my router accessed one of my Linux systems, what does it mean?

I just ran the last command on two of my systems and there are weird entries: user pts/2 dsldevice.lan Sun Dec 28 22:59:35 2014 - Tue Dec 30 00:40:41 2014 (1+01:41) Notice: dsldevice.lan ...
1
vote
1answer
23 views

Crontabbed shell script not able to create/write to a file

I have written a simple shell script to backup the tables in my DB using the mysqldump command. The command simply dumps the DB into a dbName.sql file. However, if the dbName.sql file doesn't already ...
1
vote
1answer
53 views

Is there any media player that can browse Shoutcast streams?

I read that exaile, banshee (banshee-extension-liveradio), and VLC previously had tools allowing users to browse from a vast selection of Shoutcast streams for listening. I found some articles ...
0
votes
2answers
784 views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
1
vote
1answer
503 views

Unable to install Linux Mint 17 on hardware that uses AMD APU (A5800k) with MSI motherboard

I and many other users of Linux Mint are not able to install Mint 17 on hardware that uses AMD APU (A5800k) with MSI mobo. I understand that the issue has been noted but I cannot find a fix to this ...
0
votes
0answers
12 views

Laptop doesn't detect my wifi signal

I have recently installed Linux Mint on my laptop and have updated the wireless drivers. My laptop detects all wireless signals around but not mine. How can I resolve this issue?
21
votes
8answers
38k views

Quickly calculate date differences

I often want to make some quick date calculations, such as: What is the difference between these two dates? What is the date n weeks after this other date? I usually open a calendar and count the ...
0
votes
1answer
19 views

Find unique files between two directories (recursively)

I am backing up files, and I have a lot of files duplicated in multiple locations. I've used fdupes to find duplicates, but i'm actually looking for some sort of inverse of this tool. I want to see ...
7
votes
3answers
4k views

Some M4 macros don't seem to be defined

I am trying reinstall pacman on my Arch Linux distribution. When I run the configure script "configure.ac", I get a bunch of undefined macros: error: possibly undefined macro: AM_INIT_AUTOMAKE. If ...
4
votes
1answer
3k views

Arch Linux and xfce4 working strange after system upgrade

I'm having a hard time trying to figure this out. I've been running Arch Linux and Xfce4 smoothly for several months but suddenly after a full system upgrade in which the system asked me to replace ...
1
vote
1answer
14 views

Why Linux inside KVM gets busy after I put the host to suspend-to-ram?

I run another Linux instance inside KVM on my laptop. When I suspend-to-ram the laptop and wake it up again, the guest Linux starts consuming 100% CPU for some time (maybe proportional to the sleep ...
0
votes
1answer
11 views

If I install linux to a USB thumb drive, would it become a live USB?

I need a live USB that functions like normal install, with the ability like install app, add/remove user account etc... the guide on the internet which I have found require me a Live CD, but the linux ...
0
votes
1answer
15 views

computer freezes [on hold]

I'm running mint 13 mate,computer started freezing recently,I thought it might have been due to running old version of firefox(12.0)however I have discovered that the freeze happens even without a ...
0
votes
0answers
4 views

Restart one service each time another restarts

What is the correct way of specifying that one rc script is reliant on another, such that each time the service it depends on is restarted, the dependent service is then restarted also? For example, ...
5
votes
1answer
1k views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed ...
1
vote
1answer
17 views

Open UDP Ports; Can I Close Them?

I'm trying to secure my internet browsing. I just reinstalled Xubuntu 14.04 and GUFW firewall. I have 8 UDP ports open. I don't understand why. The software I currently have open are Firefox, GUFW, ...
4
votes
4answers
493 views

How create a temporary file in shell script?

While running a script, I want to create a temporary file in /tmp directory. After execution of that script, that will be cleaned by that script. How to do that in shell script?
0
votes
1answer
1k views

Why FreeRADIUS service won't work on Centos?

I have installed FreeRADIUS server on centos via yum successfully, but I couldn't start radiusd service. when I run as root user and exec the following radiusd -X an error is occurred. [root@userAAA ...
0
votes
0answers
5 views

Lost Win7 boot after installing UBUNTU Vivid

I have a dual boot system (Win7 for my company) and (UBUNTU 14.10) .. My company is using Encryption for the image of Win7. After Win7 installation i installed UBUNTU 14.10 and i was able to boot ...
2
votes
2answers
934 views

Customize wingpanel under Elemantry OS

Recently I have installed Elemantry OS luna, which is based on Ubuntu. I want to customize the wingpanel to display the menu toolbar of the selected application. This is my wingpanel: But I want ...
0
votes
2answers
35 views

SSH banner not showing

I have a fresh installation of OpenSSH. In the /etc/ssh/sshd_config I have the following entry: Banner /etc/issue.net I have restarted the SSH deamon using: sudo /etc/init.d/ssh restart. Now, ...
2
votes
0answers
11 views

problems running brew

I have a macbook pro running OS X 10.10.1 with home-brew installed, but it is giving me some problems. When I tried to run brew doctor after having installed it I got the message. ...
0
votes
1answer
31 views

who controls a linux service?

How do I quickly find out who controls some linux service? I'm tired of poking around /etc to find out if initd, upstart, systemd or supervisord is controlling some service.
5
votes
4answers
418 views

What are the root permissions for a file?

If I type: ls -l file.txt I see that the rights for that file are equivalent to "456": 4 = owner (r--) 5 = group (r-x) 6 = others (rw-) Which the rights for root in this case? Does it have 777? ...
3
votes
2answers
81 views

Capture in shell variables the arguments after a command (between brackets)

Suppose I have a file that contains, among many other things, \command{arg1,arg2,arg3} (arguments been paths, expressed with /, ., characters and numbers) But that a user can as well call it ...
0
votes
1answer
544 views

CRON job to check if PHP script is running

I am having trouble regarding CRON jobs, I've basically got two php scripts that I want to keep running continuously on my server. Currently I am using an infinte loop to keep them going but they seem ...
3
votes
2answers
118 views

Find the line number which contains the pattern with custom delimiter

As in example I'm trying to get line numbers which contains the pattern. My pattern contains slashes so I wanted to add custom delimiter. This simple one works: sed -n '/file/=' temp.txt Using ...
0
votes
1answer
15 views

apt-get failed to find any updates

# ls -F /etc/apt/ apt.conf.d/ preferences.old sources.list trustdb.gpg trusted.gpg~ preferences.d/ secring.gpg sources.list.d/ trusted.gpg trusted.gpg.d/ # cat ...
40
votes
4answers
55k views

ssh-add complains: Could not open a connection to your authentication agent

I've been trying to get ssh-add working on a RaspberryPi running Raspbian. I can start ssh-agent, when I do it gives the following output into the terminal: ...
3
votes
3answers
472 views

How to install openssh in Crux Linux

In Crux Linux I already have installed SSH but when I use ssh-keygen, and try to use the command: ssh localhost to test SSH I get this error: # ssh localhost ssh: connect to host localhost port ...
1
vote
0answers
8 views

How to make MTP work

I'm experiencing many problems trying to properly connect and access the memory of my phone from my Linux system. I'm running openSUSE 13.1, with KDE, and my phone is a Samsung Galaxy S3 Neo equipped ...
12
votes
1answer
333 views

Command to retrieve the list of characters in a given character class in the current locale

What could be way to retrieve a list of all the characters in a given character class (like blank, alpha, digit...) in the current locale. For instance, LC_ALL=en_GB.UTF-8 that-command blank ...
0
votes
1answer
13 views

Can I update eglibc to a non-vulnerable version using Debian Squeeze 6 on x86_64 architecture?

I'm currently attempting to update eglibc on Debian Squeeze 6 on x86_64 architecture from version 2.11.3-4, which is vulnerable to the GHOST exploit, to version 2.11.3-4+deb6u4, which isn't vulnerable ...
4
votes
1answer
598 views

File name encoding wrong in KDE, but correct in GTK/tty1/

I'm on a new Linux (installed yesterday). When I access files from old partitions their file names have incorrect encoding (ä instead of ä, same for other umlauts) inside KDE apps like dolphin and ...
3
votes
1answer
1k views

MySQL server won't install to a new os (Debian, Ubuntu)

Today I wanted to install (on a new VPS with new OS) a MySQL server. I used this command: apt-get install mysql-server mysql-common mysql-client-5.5 I tried with Debian 7 (x64 and x86) and Ubuntu ...

15 30 50 per page