Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

0
votes
1answer
36 views

RedHat Glibc - multiple packages

Before I jump into the issue, I am using RedHat 6.5 and have no access to the internet to download yum updates due to environment restrictions. All I have in this case is the CD ROM (RHEL 6.5) to ...
2
votes
3answers
45 views

login shell (bash) - how to we invoke a login shell

I know what is a login shell and the difference between a login shell and a non-login shell. But what puzzles me is how it is invoked. It is said that a login shell is invoked with a - as argument ...
0
votes
0answers
14 views

Error while building Libxcrypt

I am building the libxcrypt package on my OBS and I am getting the following error: [ 37s] crypt_util.c:268:1: error: type defaults to 'int' in type name [-Werror=implicit-int] [ 37s] ...
1
vote
0answers
14 views

mysqld stops right after starting because of corrupted tables (disk full + hardware reboot) - how to fix it?

I'm dumb, I did the stupidest thing I could. On one of my servers, the SSD was full and I wasn't aware of it. The high-traffic website became working really slow, then started displaying errors, ...
0
votes
0answers
23 views

Unable to specify a paper tray with bash script

So we use a bash script that sends control codes before printing to set some things on the printer. At the end of the script it calls a standard lp command. I add the option to print to a specific ...
0
votes
0answers
4 views

Separate web directories of nginx+php-fpm

On my server I run mediawiki, owncloud, roundcube on same hardware, with same nginx and php-fpm process. But I worry about security. Because if hacker get access to filesystem of one of this web ...
1
vote
1answer
25 views

Event handling and networking

The basic use case I have in mind here is network transparent keyboard/mouse/pen/midi events. (Timing latency is not a serious issue yet.) There are two questions. If I plug in a USB keyboard our ...
3
votes
1answer
19 views

Proxify dns queries for bash command

I want to use different dns server (not tor, any dns server i set) for certain terminal command. Say it would looks like $ DNS_SERVER=8.8.8.8 dnsify ping example.com and it uses google dns. I know ...
2
votes
0answers
5 views

Get information about CVMFS transfers and files in cache

I am using CVMFS (CERN Virtual Machine File System), and it works generally pretty good, but sometimes it takes a while to access a certain file, and I would like to know what is going on. Is it ...
1
vote
0answers
28 views

Specific question about “/mnt”: /mnt is not showing the disk space [duplicate]

The disk space showing from "df -h" and "du -sch ./*" seems different for "/mnt". Can somebody help me in finding the probable reason? =============================== #df -h Filesystem ...
1
vote
1answer
5 views

Can not start pulseaudio

I have just installed pulse audio on my laptop, however I can not start it. Here is output when I run command pulseaudio -v ................ E: [pulseaudio] core-util.c: lock: Permission denied E: ...
1
vote
0answers
15 views

Set respawn limit in /etc/inittab

I have a program that is set to run according to /etc/inittab. I'm setting this program to respawn whenever it exit or killed. This is the /etc/inittab file: ac:2345:respawn:/bin/myprogram -n What ...
2
votes
1answer
60 views

Bash - shell vs environment variable [duplicate]

I want to clarify a confusion I am having in shell variable vs environment variable. I did the following test, where I have a shell variable abc and export it to an environment variable. $ $ ...
0
votes
1answer
17 views

How do I pass options to forcefsck?

I am trying to run a one time disk check at bootup by using /forcefsck but I would like to pass some of the FSCK options such as y, c, f, and v. I have tried inserting these in the file but I seems to ...
0
votes
1answer
20 views

install grub but no booting

I'm having trouble installing grub. I used to have a UEFI boot setup but it constantly failed so I decided to use normal boot instead. Unfortunately, the system doesnt boot into grub. What I did ...
1
vote
1answer
35 views

search and increase the values between the second tilde symbol and the 3rd tilde symbol in each line of a txt file

I was wondering is there any way to search and increase the values between the 2nd tilde symbol and the 3rd tilde symbol in each line of a txt file. Maybe vi can do this? For example, i have a ...
-2
votes
0answers
19 views

Linux mint bugs

I have just installed linux mint and i am experiencing a few problems. I am quite a noob linux user and still learning. When linux mint boots up it starts up with a weird theme then changes to the ...
2
votes
0answers
34 views

More than 255 Linux GRE tunnels

Is it possible to set up more than 255 GRE tunnels in Linux? It seems that 255 is the default maximum, but is there any way to increase the limit?
2
votes
1answer
69 views

SOLVED: Useradd fails: useradd: cannot lock /etc/passwd; try again later

When I attempt to add a user or delete a user, as root, I get the following error: useradd: cannot lock /etc/passwd; try again later. After looking thru many posts I don't have any of the usual ...
1
vote
0answers
38 views

What are some basic indicators that your unit (Unix/Linux system) is hacked? What are specific, basic, preventive measures that need to be made? [closed]

This question is separated for three separate systems (Unix/Linux, Windows, Mac/Apple). A link will be posted to redirect here for other systems if this question/post is deemed valid or ...
0
votes
0answers
18 views

check status of network printer in linux

I need to enable/disable print button in my application based on status of available printers. For USB drivers, I am checking sysfs ( /sys/class/usbmisc/lp0/dev ). But for Network drivers I didn't ...
1
vote
1answer
20 views

Editor for altering the soundtrack to a movie

I have a movie that i'd like to "cuff", ie reverse a few swear words which crop up in it, to make it a bit more family friendly. Can anyone recommend a good free video editor tool for this? I don't ...
1
vote
1answer
23 views

JMagick Unable to Locate Java Directories

I am new to Linux and am working on a VM. I am trying to configure my JMagick installation, however when I run ./configure I receive an error saying that it is 'Unable to locate Java directories:' ...
1
vote
1answer
24 views

Making aufs union mounts read-write

So I've got two systems, lucyvanpelt and schroeder. lucyvanpelt's /home is exported read-write to schroeder via NFS. Its location on schroeder is /mnt/home/lucyvanpelt I want to union-mount it with ...
0
votes
1answer
45 views

Mount with sshfs and write file permissions

I try to sshfs mount a remote dir, but the mounted files are not writable. I have run out of ideas or ways to debug this. Is there anything I should check on the remote server? I am on an Xubuntu ...
0
votes
0answers
18 views

Python Module install Error

I am doing a project to implement Modbus client in the Python. I found the package pymodbus. I installed in Windows it works fine , When I installed the package in raspberry Debian Linux, it was ...
0
votes
0answers
56 views

Putty Login error through SSH (Network error: Connenction timeout)

I am trying to login into one(X) server using putty (port 22), and it is showing Fatal Error in a pop-up with the message Network error: Connection timed out. But when I am in different server(Y) on ...
0
votes
1answer
22 views

Get total size of a list (containing HTTP links)

I have a file containing a list of files on the web, and I would like to know the total files' size (in human-readable format) and check their availability. Is there a command/solution to do so? P.S. ...
11
votes
4answers
560 views

Fast method of splitting string from textfile?

I have a two text files: string.txt and lengths.txt String.txt: abcdefghijklmnopqrstuvwxyz lengths.txt 5 4 10 7 I want to get the file >Entry_1 abcde >Entry_2 fghi >Entry_3 jklmnopqrs ...
5
votes
2answers
78 views

Allow owner to create & read files, but not modify or delete

I would like to give a user permissions to create and read files in a particular directory, but not to modify or delete files. If the user can append to files that is ok, but I'd rather not. This is ...
-1
votes
4answers
69 views

How to get hard disk information from /proc and/or /sys

How can I get hard disk capacity, usage, etc. using the /proc or /sys filesystems? What file(s) do I need to process to get that information? Does any one know, how to find Hard disk size, usage, etc ...
0
votes
1answer
43 views

configure bonding/teaming on Redhat Linux 6.4

I have configured a bonding/teaming for 2 Ethernet cards but the issue is when I hit the service network restart command I got a failed error regarding: /etc/sysconfig/network-scripts/ifcfg-bond0 : ...
1
vote
0answers
22 views

How to chainload from usermode?

Starting from user mode runlevel in linux, is it possible to boot another OS on the system without ever passing through BIOS or GRUB/similar and never turning off?
0
votes
1answer
38 views

IPCS command for Shared memory and semaphore in Solaris, HP-UX and AIX

I know ipcs command for linux system, but now I'm looking for ipcs command for solaris, hp-ux and aix system, I have searched lot in websites, almost everyone suggest ipcs -am, ipcs -as or ipcs -a. ...
2
votes
2answers
44 views

File contents created when opened

Basically what I want is this: Having a file called file somewhere in the filesystem whose contents are something like: #!/bin/whatever-interpreter-you-want echo 'line1' echo 'line2' So, when ANY ...
0
votes
0answers
25 views

Internet connection proflem on CentOS and Redhat linux

I am new on CentOS and installed dual boot with windows 7. I am using a local isp internet on my windows7 system but can't access through centos. On centOS system, using the same IP, DNS, and Server ...
-1
votes
1answer
1k views

How to install AMD Catalyst 15.7 (fglrx 15.20.1046) on Kali 2.0 (Sana)?

I need your help urgently. Today, I downloaded "Kali 2.0" and try to install "Catalyst 15.7" using the following guide: How to install AMD Catalyst 15.7 (fglrx 15.20.1046) on Debian 8 (Jessie)? ...
0
votes
1answer
13 views

CentOS Apache Configuration

In the last couple days I have been setting up a Rackspace CentOS-based webserver which I took over from another developer. Amongst other things, I noticed that in the httpd directory, there were two ...
1
vote
1answer
27 views

Have cron check if the bash script is executing

I have a bash script that users while do along with sleep to constantly monitor the connection state and take measures in case something goes wrong. The only thing that is not guarded is the execution ...
0
votes
2answers
55 views

Transform row of integer into multi-column output

I am trying to get the input of a file to generate me a list with rows and columns of that numbers in sorted order. This will be use to generate a printable document later, so i am able to replace the ...
6
votes
1answer
132 views

How were these Linux TCP default settings decided?

I spent quite some time tracking down a problem in production recently, where a database server disappearing would cause a hang of up to 2 hours (long wait for a poll() call in the libpq client ...
0
votes
1answer
29 views

How can I mount /home in a usb drive and keep the files?

I need to write a script that can mount /home in an USB drive at the boot and keep all the files in the USB drive after ejecting it. At every boot, if there is an USB drive plugged in, the script ...
0
votes
0answers
27 views

Alternatives for Bumblebee?

Last commit to Bumblebee was in 2013 and since then the project appears to be dead. Has an better alternative to Bumblebee (a fork perhaps) emerged? Have NVidia started supporting Optimus for Linux in ...
0
votes
1answer
87 views

Can't detect wireless access points on Kali Linux

So i have Kali linux installed on my Lenovo g500 laptop. Wired connections work just fine but i cannot connect to wireless access points or detect them. I am literaly out of ideas, so here is data ...
0
votes
1answer
12 views

Cropping a yuv444_8bit and yuv_420_10bit input using ffmpeg

I have 3 input files to crop: 1. yuv_420 10 bit 2. yuv_444 8 bit 3. yuv_444 10 bit I am unsure about which pix_fmt option to use for these. This is the command line I am using: ffmpeg -s:v 3840x2160 ...
0
votes
1answer
21 views

How to pull one day old data from remote server to local server?

From what I have searched till now I only found command to PUSH one day old data from local server to remoteServer but what I want is to PULL one day old data from remoteServer to localServer. I ...
2
votes
1answer
36 views

Linux screen: Clearing Screen List

Though I have the feeling the answer might be already out there, after reading several questions I did not manage to solve my problem. Apologies in advance in case of duplication. Current Situation: ...
0
votes
0answers
13 views

Lftp include command

Question: How can I download a folder that begins with certain text in LFTP? I am trying to download certain folders with that all begin with "ABD". Assuming I'm already logged into my server/set a ...
1
vote
1answer
30 views

Rotating catalina.out with timestamp format using logrotate. like catalina.$date.out

I am using logrotate to rotate catalina.out, but after rotation the filename is like catalina.out.1.gz. I want it to rotate the file with a timestamp in its name, like: ...
0
votes
0answers
15 views

logdump -i<Inode#> gives partial information

I am using Ubuntu 14.04.2 (x64). While running the logdump -i<> command, i only get three lines of output. It stays the same even if I use the terminal as a root user. The file system is ext4.