5
votes
2answers
122 views

Suppress 'file truncated' messages when using tail

I'm tailing a log file using tail -f messages.log and this is part of the output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eget tellus sit amet odio porttitor rhoncus. Donec ...
0
votes
1answer
24 views

screen command cannot find java executable

I'm trying to execute java from screen: screen -S my-java-app -d -m 'java -jar -Xms512m -Xmx2048m my-java-app.jar' but seems that screen does not know the java command. Running java without screen ...
0
votes
1answer
29 views

How to Trim below highlighted lines from Shell output

How to Trim below highlighted lines from Shell output. Source shell program is below the output. $ ./checkhome.sh The Oracle base remains unchanged with value /opt/oracle Connecting ...
0
votes
0answers
38 views

ssh with rsa key asks for password

I have a server with Ubuntu 14.04 x64 operation system. Part of my sshd_config file (entire file): Port 2202 Protocol 2 PermitRootLogin without-password StrictModes yes RSAAuthentication yes ...
1
vote
1answer
21 views

Missing shell module in perl 5.18

I'm running Perl script under SLES 12 which has Perl 5.18 installed. When trying to run my Perl script I get an error: Can't locate Shell.pm in @INC (you may need to install the Shell module) (@INC ...
1
vote
0answers
16 views

Unmount nested mounts not working after unmounted root of nest

I have a XEN Server, which I can't reboot. My boss has filesystems mounted as such strange way: /mnt/hda1/hda2 Then he unmounted them as such umount /mnt/hda1/ Now he can't unmount hda2 anymore. ...
0
votes
0answers
39 views

problem with nvidia driver [on hold]

I am trying to configure a double monitor on my new laptop, whithout any fortune up to now. I tried to install nvidia-settings and nvidia-xconfig packages, but there seems to be an issue with my ...
1
vote
2answers
12 views

Create a Software RAID 1 on a Linux server (openSUSE server)

I have a server with openSUSE 13.1 on a single HDD (500 GB WD). The server has information on it and its working properly. Can i create a software RAID1 inserting a second 500 GB WD HDD? How can this ...
1
vote
1answer
11 views

Problem with locale: “Setting locale failed.”

I have a problem with locale and I can't found any solution that work ! Every tutorial are similar like this: http://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian So, ...
0
votes
1answer
8 views

xfs maintenance mode in redhat 7

In my desktop I installed redhat 7 and after reboot it went to maintenance mode, After entering the password it is not allowing to do a file system scan for root and every time it boots enters to ...
1
vote
1answer
86 views

curl: (35) error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error

I am using curl 7.26.0-1+wheezy11 on Debian Wheezy, and whenever I try to access the URL https://www.basebit.com.br, it fails with the message: $ curl https://www.basebit.com.br curl: (35) ...
-1
votes
0answers
29 views

how to download and install Assasin's Creed 3 on linux Mint 15 with playonlinux?

How to download and install Assasin's Creed 3 on Linux mint 15 using PlayOnLinux? If anybody knows please explain step by step. Is there another way to install windows games on Linux?
2
votes
2answers
25 views

How do I display a dependency chain from one package to another?

For example, I want to find out why monodevelop does depend on systemd. apt-rdepends -r systemd shows all packages that that directly or indirectly depend on systemd: $ apt-rdepends --dotty -r ...
0
votes
0answers
10 views

od: Put offset n to n of a hexdump to a file in proper hexdump -C (hex+ASCII) format

I have a 155GB canonical hex+ASCII hexdump hexdump -C blah > dump.dp Then ran: strings dump.dp | grep -bo 'XXXX' > found.txt So now, that file contains the string's hex offset in the ...
1
vote
0answers
17 views

Where do the frame overruns come from?

I have a network setup like this: +------------------------+ | Switch | | | +---------+-----+----+---+ | | | | ...
1
vote
1answer
17 views

What starts syslog and logrotate?

I was looking under /etc/rc?.d and I didn't see many scripts compared to the number of scripts in /etc/init.d. I see syslog running on my machine but who started it ? No script in /etc/rc?.d point to ...
1
vote
1answer
21 views

How to handle repetitive download of some specific large files that come from the internet

We are going to offer an App which will allow our customers to download some sort of audio guide for the castle I work for. I would really like to not have every user who downloads the App (through ...
2
votes
3answers
207 views

Bash File existence test is always true

I have the following lines of bash script to test whether a file exists: MYAPPPATH=$(find $APPDIR -iname myapp* -print) if [ -e $MYAPPPATH ] then echo "File exists" fi However when file ...
1
vote
0answers
26 views

Why are USB partitions & disk capacity not coherent between fdisk, parted, dmesg & /dev/sdXy

Disclaimer: I initially posted this on SF : http://serverfault.com/q/645670, but I think it better fits here First, a word of context: I'm trying to burn an ISO on a 16 Gb USB key, but I'm having ...
0
votes
0answers
15 views

Optimal mount options for Windows Server 2012 R2

1. Linux Side What mount.cifs options should I use to mount a Windows Server 2012 R2 Share in Linux (via fstab)? E.g., what about the optimal values for vers, sec, iocharset, etc? Should I use ...
0
votes
1answer
16 views

apt-get purge complains about unmet dependencies

I am trying to strip out all my IME packages, to do a fresh install of a different IME (fcitx). I tried this: apt-get purge ibus-anthy anthy anthy-common libanthy0 \ ibus-mozc mozc-data mozc-server ...
0
votes
1answer
41 views

Vi editor, search and replace complex string

I want to search and replace particular string in file. Example, the string: ***BNS S&P/TSX60 ROC,SERIES will become: ***BNS S&P/TSX60 ROC SERIES How can I do this?
3
votes
2answers
44 views

How can I send different audio to my left and right speakers?

I've found that I can use pavucontrol to control the volume in my left and right speakers independently, by un-clicking the "lock channels together" button. However, I can't find a setting to let me ...
2
votes
1answer
23 views

number of open files configuration not operational

Addressing an error of Too many open files I was attempting to follow the suggestions here Although /etc/sysctl.conf fs.file-max = 70000 vm.swappiness = 10 and /etc/security/limits.conf nginx ...
-2
votes
0answers
32 views

Names of the terminal have changed [on hold]

We are at school at this moment. We are using MacBooks. To some of our classmates, the name present as prompt in the terminal has changed, what could be the problem?
1
vote
1answer
29 views

Update notification upon login

How do I configure Debian Wheezy to show available updates upon login on a virtual console? When I used Ubuntu it was setup by default.
0
votes
0answers
20 views

Zooming in gedit in CentOS, on Putty Xming

I'm using gedit 2.28.4 on CentOS 6.6, with Xming and Putty. The text is really small and I haven't found a way to zoom in or increase text size. ...
1
vote
1answer
43 views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
1
vote
0answers
15 views

Login kickout every time in Ubuntu Server 14.04 LTS

We have installed Ubuntu 14.04 LTS in our production servers. Our dedicated server disk was filled, due to that issue, one of the production servers stopped. While troubleshooting I found that disk ...
3
votes
2answers
52 views

How to remove specific keys from a wordlist?

I have generated a wordlist of keys starting from 03000000000 and ends at 03999999999 through crunch. So what I want is to delete a specific number of keys from it, for example, I want to delete keys ...
3
votes
3answers
118 views

Split in awk not not printing array values

I have a string tstArr2 which has the following content '3 5 8' Now in awk I want to parse a flat file test my array which array is better array INDIA USA SA NZ AUS ARG GER BRA US AUS INDIA ENG ...
-3
votes
0answers
23 views

Touch -am command [on hold]

I am not getting the proper output by using the following command touch -am filename. Anyone help me to understand the concept. Have created 3 files, and also modified one of the files.
0
votes
1answer
37 views

proftpd conf on debian

Iam new to linux / debian Im trying to configure an ftp server in debian using proftpd. I installed the package A user is created when it is installed I put a password to this user and it is working ...
3
votes
2answers
27 views

How to print a range of IP addresses with Linux seq command

How can I print a range of ip addresses on linux command line using the "seq" command? For eg: I need seq to print a range of ip from 10.0.0.1 to 10.0.0.23 . Seems like the period in between the ...
3
votes
1answer
19 views

Limit maximum number of concurrent scp processes running on a host

I am facing a problem where I have a fleet of servers which contain a lot of data. Each of the host runs many instances of a specific process p1, which makes several scp connections to other hosts in ...
5
votes
3answers
535 views

Shorter command for deleting files

Our web server was originally maintained by a different company. They wrote a short script to clean out cache files. Their file has several lines that read like this: /usr/bin/find ...
0
votes
0answers
11 views

Why isn't this “external” harddrive showing up?

I have an "External harddrive to USB adapter" that's giving me trouble. It shows up if I run lsusb (unrelated devices ignored): Bus 002 Device 013: ID 152d:2338 JMicron Technology Corp. / JMicron USA ...
1
vote
0answers
12 views

After switching to the nvidia video card driver, the whole xfce setup messed up

I recently installed Linux lite. I went to change from the nouveau driver to the Nvidia legacy updates driver, restarted my pc. I remember being prompted to have default Xfce or something else and I ...
0
votes
0answers
11 views

Adding QEMU/KVM option to virsh VM starting script

I use libvirt to manage a QEMU/KVM system. Starting a VM only by using virsh start vmname What I want to know is how to add an option to virsh starting script, in my case I want to add QEMU ...
1
vote
2answers
20 views

Unzip error, is recovery possible?

I compressed 4 separate folders with some wedding videos (!!) a few months ago. Today I tried to unzip them, and had no problem with the last 2, but the first 2 of them show an error: ...
3
votes
0answers
70 views

Bash Script - Wget Graphical Download Progress

I'm trying to port this code from wget + zenity to wget + kdialog. The code with zenity: #!/bin/bash # Start wget | zenity # Note the & at the end of the pipe, this allows the script to continue ...
1
vote
1answer
35 views

GRUB: Adding entry for OS on different hard drive

I've got two hard drives in my computer after I replaced one for windows. Since I love linux so much, I put a copy of Xubuntu on the one that I had initially replaced, and I now have two separate ...
3
votes
3answers
103 views

Why is my script calling multiple functions? [duplicate]

I am new to writing scripts in bash. My script is simple, I have a few sets of scripts that I've written to make setting up linux very simple. So I have made those scripts into separate functions ...
0
votes
1answer
33 views

Where can I download the software RPM for Redhat?

I try to download some software RPMs(such as gcc, gdb, etc.) for Redhat enterprise version. But after googling, I only find this website:https://access.redhat.com/downloads. This site doesn't seem to ...
0
votes
0answers
12 views

I have kali iso burned to a CD, what is my next step towards getting kali started? [on hold]

I am a beginner with linux and I would like to get started with Kali can anyone help me ?
2
votes
0answers
23 views

VPN tunnel to two services on two servers?

I've got 2 CentOS 6.5 servers, each running one service: server A: 10.140.54.1/27 running service MySQL port 3306 server B: 10.140.54.2/27 running service httpd port 443 Server B's httpd service ...
0
votes
0answers
25 views

active vs passive mode

I have a vsftp server with passive mode enabled. But I'm unable to switch to active mode. Please advise. This is ftp to localhost and no SELinux or iptables running. % ftp x.x.x.x Connected to ...
3
votes
1answer
15 views

How to change my file/url association across all my DM/WM without using the GUI?

I have installed several Desktop Managers and Window Managers, and changing the file association can become a mess. I need some foolproof method which can allow me to change my user or system file ...
1
vote
1answer
46 views

How can a user be prevented from changing a file that has write permissions for other users?

An odd situation came up recently. User1 needed to be able to change files in a directory were the files and the directory were owned by User2 and in group User2. In order to facilitate this ...
2
votes
0answers
27 views

How does ldap work on a client?

This is on CentOS I read the various openldap howto's, they mention /etc/openldap/ldap.conf and editing /etc/nsswitch.conf for example: ...

15 30 50 per page