0
votes
0answers
2 views

Which login manager am I using?

I have Debian installed, and am using XFCE. How do I figure out which login manager I have installed?
0
votes
0answers
5 views

Script to do periodic printing

I have a networked inkjet printer (HP all-in-one photosmart 5510), and currently I have a simple script that reminds me periodically to send a small job for printer so that the ink doesn't dry up. I'm ...
0
votes
1answer
26 views

Unix bash Sed command Combination on one file

I have and '<', '>',blank space,pipe '|' at a file , I wanted to remove then by using sed I have tried sed -e 's/< >*| */|//g' filename but giving the following error sed: 0602-404 ...
-1
votes
0answers
12 views

Finding given word in files in remote servers

I would like to write a shell script to find a given word in list of files in all the remote servers which I mention in the shell script. Say for example I have 10 servers (a1,a2,a3....a10) and I ...
0
votes
0answers
4 views

Installing and using Pipelight with Firefox

Did not notice errors in installing Pipelight per Pipelight Installation Page but the system check command ends with Libraries: FAILURE. Attempts to use Silverlight on County of San Diego's online ...
1
vote
1answer
33 views

Bash : Native way to get rid of quotation around each array member

I read an array from another script. This array needs to put " " around all array members since some members are empty. in_file=./data vector=($(./readdata.sh 0 $in_file)) for index in ${!vector[@]} ...
0
votes
2answers
22 views

how to execute commands on remote server as different user

I am trying to connect to server B from server A using ssh and executing commands using some other user. However, when I try searching for a pattern in log file it says "cannot open log file" below is ...
-2
votes
0answers
10 views

Installing Ubuntu Server 14.04.2 in VMware

I'm trying to install Ubuntu Server 14.04.2 in a VMware station on my iMAC, which is running on an Intel core i5. Which kernel should I install? The options are: 1) linux-signed-generic-lts-utopic ...
0
votes
0answers
10 views

which processor will acquire the spinlock?

In a 4 processor system, which of the three processor will acquire the spinlock released by the fourth processor?
0
votes
0answers
10 views

Cygwin and OpenSSH

I am having issues setting up and installing the latest Cygwin with Openssh. Similar to this issue Installing SSH via Cygwin I can get this setup and working fine when the server is not connected ...
0
votes
1answer
8 views

IPv4 broadcast routing in Linux

I have a server with three network interfaces- loopback interface lo and two physical network interfaces eth0 and eth1: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN ...
-1
votes
0answers
12 views

How to install chrome on unregistered redhat

I m unable to install chrome on my redhat6 machine. while trying the commmand"yum -y install google-chrome-stable" It shows me error like this "This system is not registered to Red Hat Subscription ...
0
votes
1answer
6 views

how to disable folders/files under root folder in RHEL?

I want to "disable" listing of folders and files under root folder in RHEL. So when I login to my application nothing should be visible in root folder.
0
votes
1answer
12 views

Is there a way to switch interface only by interface name?

I am currently working on how to switch network interface in Linux environment. And i am experimenting on switching network interface by switching default gateway, for example switch to wlan0 when ...
0
votes
0answers
12 views

how to view failed login attempts?

I tried to view failed user login attempts since a specific time. But all methods I found by searching the internet does not work. I am using openSUSE 13.2. journalctl -a --no-pager ...
1
vote
1answer
12 views

passing tmux variable into shell-command in tmux.conf

I'm trying to edit my bottom left status section of tmux. I would like it to show Session: #{session_name} The current maximum length for this string is set at 20 using this setting ...
0
votes
0answers
8 views

Need to search a minimal hardware with ALSA and Linux [on hold]

I am very new to this forum as well as new to hardware related stuff but i have a good idea about ALSA and Linux, and i need to work on a project that needs a hardware with minimal memory(again i am ...
0
votes
2answers
34 views

Find and replace values with counters [on hold]

I have a file that has values like: location 100 Number location 101 Number location 102 Number ... I want to replace this like : location 100 Number1 location 101 Number2 location 102 Number3 ... ...
0
votes
0answers
5 views

I need help booting in to GRUB. 13.04 [duplicate]

I need help booting in to grub in 13.10. I cant get to grub. I didn't exactly install Ubuntu. It was preinstalled for my specific pc (its a smart book from Taiwan) and I copied it to my SD card ...
2
votes
1answer
8 views

Resize MDADM/Software RAID underlying partition and filesystem

I am running out of space on my root partition and would like to steal some from a different partition. The drives are 2x120GB with mdadm software RAID. I am using CentOS 6.5 64-bit. I used the centos ...
1
vote
1answer
40 views

Why is this simple bash script throwing an error on if/then/else? [on hold]

If I try to run this script: clear echo -n "please enter a value" read num if [ "$num" -eq 8 ] then echo "you entered 8" else echo "the number you entered was not 8" I get the ...
1
vote
0answers
22 views

What is the difference between “systemctl restart” and “systemctl start”?

I have two services A and B where B is dependent on A which means in the A's service unit i have After and Requires set to B After=B.service Requires=B.service Now when i stop the service B the ...
0
votes
1answer
15 views

What does the “-y” do in “yum -y groupinstall gnome”?

I've been googling and reading tutorials, but while the authors go into detail with all the things you can do with yum, no one ever mentions what the -y flag is for. I'm trying to automate this with ...
5
votes
1answer
89 views

Is it possible to create a non-empty file without write_close and rename event?

The reason why I am asking is because I'm using iwatch (not to confuse with a gadget device) to watch for filesystem events (in my case - file creation/renaming). What I cannot explain is this log: ...
1
vote
0answers
2 views

Gnome tracker not indexing all music

In Fedora 21 the gnome-tracker stops indexing music files after couple of minutes. My music-library is about 60GB, but mostly due to a lot of flac-files converted from my CDs. I tried ...
1
vote
1answer
21 views

lsof: no pwd entry for UID

I'm trying to run command lsof |grep services on my Solaris 10 to find any processes that have big files which are using up the disk space but i got a bunch of lines saying: lsof: no pwd entry for ...
4
votes
2answers
62 views

How to copy files from local datacenter to local datacenter and have some failover cases?

I have a script which knows about on which HOSTNAME it will be running as it has the HOSTNAME variable which tells about this and it is being passed from outside. I want to check which datacenter that ...
1
vote
0answers
5 views

How can I allow IGMP-traffic in Firewalld?

Following a guide, the author allow IGMP-traffic with IPtables with the following line: sudo iptables -I INPUT -p igmp -j ACCEPT But my boss wants me to do it with Firewalld. I've looked everywhere ...
0
votes
1answer
14 views

DDOS defence with iptables

I have server with Debian 6 with a many games servers and sadly, I'm getting ddosed. So, there is my ask for help. I want make solid firewall, where my server will safe.
2
votes
1answer
32 views

Change the parent process of a process?

Is it possible to change the parent process of a process? If yes, how? For example, how does screen manage to attach a screen session and the processes running inside it to different shell ...
0
votes
1answer
21 views

How can I redirect a HTTP host to a local file?

Is it possible to have an entry in my hosts file that will redirect web access to a particular hostname or URL to a local file? Some thing like this: file:///home/user/test.html google.com The ...
2
votes
1answer
25 views

Add a static text layer/bar in terminal

I have a script that I use to automatically generate port forwards for SSH, since I am working in several terminal windows across different servers all day, and this checks whether or not the port has ...
0
votes
1answer
18 views

Mysql exited with status 1 and restarted every 24 hours? How to debug?

After upgrade, MySQL on Ubuntu 14.04 keeps crashing and is restarted every 24 hours according to the dmesg. I would expect to some reason for the failure in MySQL logs, but all are empty. Any ideas ...
1
vote
1answer
33 views

I'd like to run a few terminal commands from inside vim

There are two common things I do when I code something. I either open that file in the browser or run it in node. So I'd like to create a couple of shortcuts inside vim to that effect. I'd like F5 to ...
2
votes
1answer
16 views

Dynamic conky variable argument

I'm trying to use conky's image variable in a way that it read the image file path from a file or a pipe. Something like ${image ${execp cat /home/r1y4n/.conky/imagepath.txt} -p 30,0 -s 150x150 } But ...
1
vote
0answers
18 views

afuse with sshfs: where do fuse tuning options go?

I'm using afuse to mount some remote directories via sshfs. This works well, but I'm interested in exploring some options like -o kernel_cache and -o large_read. Afuse works by specifying a ...
0
votes
1answer
10 views

Submit a form without a submit button in Lynx?

There's a form on a website that looks like this: <form action="/some_action"> <input type="radio" name="opt" value="1"> Option 1 <input type="radio" name="opt" value="2"> Option 2 ...
1
vote
2answers
34 views

Bash script strange behavior with echo - printf in a file

I want to print part of the content of a .csv file in another file if there is a match with some condition: The csv content is like this abc test;ABCtest.it xyz test;XYZtest.com I read the content ...
0
votes
1answer
17 views

“warning: database file for 'custom' does not exist”

I write this in console: sudo pacman -S kate but for any package, I get this error: warning: database file for 'custom' does not exist error: failed to prepare transaction (could not find ...
2
votes
1answer
16 views

Simulating Signal Strength Changes to wpa_supplicant

I am working on a research project whose goal is to make testing alternative fast WiFi handoff (akin to 802.11r) protocols/algorithms easier. The way I plan to accomplish this at a high level is to ...
3
votes
3answers
32 views

Use for loop in find exec

-> find .. -name bin -exec for file in {}/* ; do echo $file ; done \; -bash: syntax error near unexpected token `do' What is the proper syntax for this command ?
1
vote
0answers
13 views

How to fix “skipping incompatible /usr/lib/libc.a”

I get the following error when I try to build an embedded Linux target on a 64 bit Fedora 16 (Verne): gcc -O -static -o mfsrv64-static md5_x86_64.o mfsrv_x86_64.o /usr/bin/ld: skipping incompatible ...
4
votes
6answers
228 views

Turn list into single line with delimiter

I have to take a list (loads) of IP addresses in this format: 134.27.128.0 111.245.48.0 109.21.244.0 and turn them into this format with a pipe in-between (IPs made up) 134.27.128.0 | ...
0
votes
1answer
14 views

How to set up gdb to scan through heap memory?

I want to print out and analyze the contents of the system heap. Obviously, this should be a privileged operation, and might go against the grain of what GDB was intended to do. Specifically, I want ...
0
votes
0answers
20 views

What does disown do? [duplicate]

$ help disown disown: disown [-h] [-ar] [jobspec ...] Remove jobs from current shell. Does disown on a process change the parent process of the process? I.e. make the parent shell process ...
1
vote
0answers
9 views

How can a package's license be determined using OPKG package manager?

OPKG is used as the package manager in an embedded Linux system. I would like to be able to determine the license of a package prior to installing the package. Is there a simple way to achieve this ...
1
vote
0answers
22 views

Python embedded in bash not working [migrated]

I want to embed a small python script inside a bash script so that I can send a json object to a socket. I have tried the following code: python -c "$(cat << 'EOF' import socket import json ...
0
votes
1answer
15 views

How to reduce the size of an mpeg file using the command line ?

I have a file, the output of the file command displays: jeff_western2.mp4: ISO Media, MPEG v4 system, version 1 I do not know how to lookup the resolution but it looks quiet high, the file itself ...
0
votes
1answer
24 views

Why is freeBSD rebooting during installation ?

I have a samsung laptop which is around 1.5 years old. I am currently running arch linux and have run various linux distributions succesfully in the past. T The hardware is not obsolete and the ...
1
vote
0answers
35 views

How to determine interface RUNNING state without ifconfig?

Some background: sometimes my wi-fi connection suddenly goes down so I type sudo ifconfig wlan0 and check for the word RUNNING. The corresponding line looks like: UP BROADCAST RUNNING MULTICAST ...

15 30 50 per page