0
votes
0answers
3 views

While upgrading linux, how to prevent packages from performing certain operations?

I have to update some machines, but I am using a patched version of linux, and don't want packages to modify specific files. To be clearer here is a list of the actions I don't want a package to be ...
0
votes
0answers
5 views

How to know file name of sockets or pipes in /proc/[pid]/fd

In Android, #ls -l 15843/fd gives following output, lrwx------ u0_a179 u0_a179 2015-05-28 11:58 90 -> socket:[193728] lrwx------ u0_a179 u0_a179 2015-05-28 11:58 91 -> ...
1
vote
0answers
7 views

How to recover data after memory module errors

My linux PC has suffered the occasional application crash, desktop crash, and kernal panic over the last few months. I also started noticing error dialogs on login, and some parts of the desktop do ...
0
votes
0answers
6 views

Rsync dry-run statistics- Different statistics after executing 'cp' and 'rsync' commands

In order to generate some random files, I have created a script which is as follows: #!/bin/bash for dir in `seq 1 10` do mkdir /root/mandar/RsyncSrc/$dir cd ...
0
votes
1answer
4 views

How to install a virtual console font on Arch?

I want to change my virtual console font to Inconsolata. I installed it with pacman -S ttf-inconsolata, but when I do ls /usr/share/kbd/consolefonts/ I still don't see it.
0
votes
1answer
17 views

Get all filenames in a directory created before input date

I have a directory containing lots of files. The output of ls command is -rw-r--r-- 1 nobody nogroup 427494 May 26 13:59 14_20150526065238928590_102.txt -rw-r--r-- 1 nobody nogroup 2113592 May ...
0
votes
0answers
7 views

How to boot Sabayon linux with isoboot= and overlayfs parameters?

https://bugs.sabayon.org/show_bug.cgi?id=4941 I don't understand, how sabayon's initrd image is created. (I am just installing that system for the first time!). When I am trying parameters from ...
1
vote
2answers
11 views

how to print field between the double bracket

I have the following file: more conf.txt perl /home/site/gen.pl "GG - W C1 Test - sai1" "15072" && ssh 13.4.93.103 perl /home/site/gen.pl "GG - W C1 Test - sai2" "15072" && ssh ...
1
vote
0answers
9 views

Zombie mysql process ? - linux Mint

I am having the following problem with MySQL and Mint: mysql is set to run at startup: sudo update–rc.d mysql defaults After startup the service is running and I can connect to the database through ...
0
votes
0answers
5 views

“avahi-daemon[1540]: server.c: Packet too short or invalid while reading response record. (Maybe a UTF-8 problem?)”

We are developing an application in Java for our internal project. Apache-Tomcat-7.0.57 is running on a Linux machine (Red Hat 4.4.6-4). But it throws an error avahi-daemon[1540]: server.c: Packet ...
0
votes
0answers
12 views

Why I can not access the windows network shared folder from SUSE

All, Forgive me I am not familiar with the Linux. Currently I just set up a network shared folder in a windows machine. I can access it from another windows system. The path looks like \\10.50.90.18. ...
0
votes
0answers
13 views

Edit samba user password digest

I am maintaining a samba server for an office environment. So far, whenever there had to be a new user, I called the person over and let him type in his samba password on my console, after I typed ...
0
votes
0answers
7 views

Disable grub menu display on LCD and display only on serial console

Currently I have Intel board with CentOS Linux on it. When I switch on board, grub option is displayed on LCD Panel and also serial console(minicom attached to the board). My requirement is: When I ...
0
votes
0answers
6 views

High read/write system call time

I am facing a weird problem with one of process taking more processing time in one system comparing to other systems. Most of the time is spending on read and write system call on problem host. I am ...
0
votes
0answers
7 views

Using a server to run a program that is installed on my laptop

I have a Mac laptop which I have mounted to a linux server using FUSE and sshfs. I would like to be able to run a program on the server that is only installed on my laptop's filesystem. Is this ...
0
votes
0answers
10 views

Im booted into an Debian image supposedly Debian 8 but on the desktop and in applications it says:“install Debian Sid” everywhere

I've downloaded Debian Jessie(8) from the official site, here is the filename: debian-live-8.0.0-amd64-lxde-desktop And I'm currently booted into it on another computer through usb, but it say's ...
0
votes
2answers
14 views

Script to Ping an IP and create a log showing date/time of any fails, times over 500ms, and traceroute any fails

Like the title says I am trying to make a script to run constantly that produces a log showing ping stats. I want the log to contain and ping fails, times over 500ms and the traceroute of any ...
1
vote
2answers
61 views

Why does xargs skip first argument when passing to subshell?

Looking for a way to invoke more than one command in a xargs one-liner, I found the recommendation in findutils to invoke the shell from xargs like this: $ find ... | xargs sh -c 'command $@' The ...
0
votes
0answers
3 views

Elementary OS Freya doesn't boot with my flash drive

Okay, so I've been using linux for a while and I am now trying to install Elementary OS Freya for my sister. I got Rufus and the 32-bit iso and burned it to my flash drive. When I go to plug it in to ...
0
votes
0answers
6 views

Should I keep the feature branches or delete them after merge them into release? [migrated]

My git working-flow is like this: 1. make new feature branch from branch release. 2. developing on it, after finish it, merge it into branch testing 3. Do test with code of branch testing 4. If test ...
0
votes
0answers
4 views

Compiling ksymoops tool on Ubuntu 12.04

I need to build ksymoops tool as standalone for kernel panic analyse. ksymoops source code can be downloaded from this link When I compile it on Ubuntu 12.04 it shows error: ...
0
votes
1answer
7 views

Debian, Apache, 403 Forbidden Errors and Encrypted Drives

I have set up Apache on my local Debian Jessie installation but can not get my VirtualHost to work. Accessing http://localhost works just fine and shows me the It works! page. But when trying to ...
1
vote
3answers
34 views

Which program is altering my resolv.conf?

On Debian 8 stable, I add dns server IPs in /etc/resolv.conf but after some time they get overwritten. I don't have gnome installed (I use i3wm) and network-manager is not installed either. On ...
0
votes
0answers
13 views

Is there any way to read files from the virtual /proc directory using smbclient?

Is there any way to read files from the virtual /proc directory using smbclient? No root access. Both server and client are Debian Linux machines. Server is running Samba 3. Smbclient version is ...
0
votes
2answers
12 views

Get the IP for NetBios name [duplicate]

There is a mashine called "BIE" visible in my network surrounding of my dolphin File manager (Ubuntu 14.10). I cannot access that device in dolphin and also don't get an answer pinging it. How can I ...
0
votes
0answers
6 views

Debian Network 2 subnets one interface proxmox

I have a box that runs proxmox with a debian 7 base. It is virtualizing openvz venet VMs. The host node and all VMs are currently inside of the same /24 . I recently got a new subnet and wanted to be ...
3
votes
1answer
29 views

Unix NFS Mounts and Moving Files

Had a question on NFS mounts and how they interact with transferring files on a low level. I'm trying to understand the latency involved with transferring files from within the same mount. Say you ...
0
votes
0answers
7 views

Mounting failed - invalid argument

I've setup a Kali Linux installation on an SD card and created an encrypted LUKS partition with a LVM logical volume inside of it, then created a BTRFS filesystem inside. Almost everything works, but ...
0
votes
0answers
10 views

Mounting Windows 8.1 partition in fstab fails even when FastBoot is turned off

I'm using Arch Linux, and with this in my fstab for mounting my Windows partition: /dev/sda2 /media/windows ntfs-3g josh,exec 0 0 it panics and goes into emergency mode on boot. I turned off ...
2
votes
3answers
60 views

How can I count the number of times a phrase appears in a file, and format it neatly?

I have a log file I am trying to pull data from. It is formatted like so, and lists when certain modules are checked in and out: 19:50:26 (license_manager) OUT: "certain_module" doej@server.domain ...
1
vote
1answer
10 views

Use different filtering criteria with tcpdump packet size

When running tcpdump like this tcpdump -s96 -i eth0 ip -w output_filename is it possible to tell tcpdump to get the entire packet when a packet is a DNS request/response?
0
votes
0answers
6 views

Samba: bin folder in external HD doesn't work

I'm using this configuration for share my home folder with bin folder function: [doc] comment = doc path = /home/doc browseable = yes writable = yes create mask = 0770 directory mask = 0770 vfs ...
0
votes
0answers
14 views

Force group permissions

I have a problem with my Ubuntu server. I want all files that are created in a directory to have rwx permissions for the group. I set the parent folder UID with the following command: chmod -R ...
1
vote
0answers
10 views

RDP enters command prompt automatically

Why is this? I did remote desktop connection from mac to ubuntu server. I get a command prompt automatically for some reason.
0
votes
0answers
12 views

Why does my program screen dims down?

I wrote a program to run on Linux OS. I noticed whenever I ran the program and clicked on a button to open a window, sometimes the main application screen dims down. This doesn't happen on all the ...
0
votes
0answers
8 views

Fedora 21 wired internet problem

Booted up Fedora on my desktop (previously was running w8.1, with also some network problems on restart/wake but usually a reset of the adapter solved them.) No internet on the Fedora. Here are the ...
0
votes
0answers
15 views

How can I redirect all UDP traffic from one port to another on BSD / OS X?

On Mac OS X 10.9.5 I am running boot2docker and would like to temporarily forward a non-privileged UDP port 69 to port 69 of the boot2docker virtual machine. Virtualbox only supports forwarding ...
0
votes
1answer
17 views

Execution bit not being set [duplicate]

I have just set up an EC2 instance to play around with and am testing file permissions; however, I notice that the execution bit is not being passed down to the lower level (read and write are, just ...
0
votes
1answer
21 views

Wifi is not working on Linux Mint

I have a Dell Latitude E4310 laptop which ran Ubuntu for the last 4 years (with various versions). Recently I have installed Linux Mint (version 17), and afterwards the WiFi is not working. It was ...
3
votes
3answers
20 views

Including process output in tar file

I have a simple bash script to generate a compressed tar file and upload it to an external server for backup purposes. In addition to files on the server, I'd like to include dumps of a few mysql ...
1
vote
0answers
21 views

Remote SSH into raspberry pi [on hold]

I wanna setup Open VPN on my Pi, but first I wanted to check whether I can setup my modem and router to port forward to my Pi and test SSH to it in the first place. So I logged in on my modem (which ...
1
vote
1answer
22 views

Why does bash try to execute strings in a string substitution?

My script is supposed to take input from a pipe and replace newline characters with commas, using the bash's string substitution: #! /bin/bash read -d -r input echo $input $input=${input//\n/,} ...
2
votes
2answers
23 views

Copying a Parent Directory into a Subdirectory Without an Infinite Loop

For application specific reasons, I need to copy an entire parent directory into a subdirectory. E.g., cp -r ../ tmp/ The problem with this is that it gets stuck in an infinite loop, recursively ...
1
vote
0answers
3 views

Old ATI Video Card on Debian 8 - Xpress 200 - model: 1150

At first I would like to say I just came here in the last case, cause I don't know what more I can try, if I'm posting in the wrong place, please move the post. Well, my problem is very complicated, ...
1
vote
1answer
42 views

Is it possible to pass arguments to a sed script?

Consider a simple sed script foo-to-bar.sed: s/foo/bar/ and the simple invocation: sed -f foo-to-bar.sed some-file.txt Now, let's say I want to customize the replacement string (bar in this ...
1
vote
1answer
27 views

what is the default delimiter for sort -k option

What is the default delimiter for sort's -k option? I searched some man page and samples and still feel lost.
5
votes
9answers
424 views

How can I quickly sum all numbers in a file?

Each line contains text and numbers in one column. I need to calculate the sum of the numbers in each row. How can I do that? Thx example.log contains: time=31sec time=192sec time=18sec time=543sec ...
0
votes
0answers
32 views

ssh system calls and path variables [on hold]

I am confused about the behavior of ssh system calls in my C program. I understand according to man pages that a remote command will not be given access to global path variables. I am trying to use ...
-1
votes
0answers
11 views

HTML / PHP Encrypt? [on hold]

I want to encrypt my PHP script that redirects people to my affiliate page. I found http://www.iwebtool.com/html_encrypter but I think HTML encrypt is quite well known. Is there any more advanced ...
0
votes
0answers
9 views

Installing OS on flash drive [on hold]

Im running Kali 1.1.0 and trying to install an OS on a flash drive, the log is below Starting at 2015-05-27 13:39... Using ${PATH}='/usr/sbin:/sbin:...' ./sysgen.sh: line 174: install-mbr: command ...

15 30 50 per page