3
votes
1answer
34 views

`find` multiple -o -name condition AND ! -name

I'd been playing with this snippet and seems like I can't make my desired find work. I tried google but all tutorials does not seem to tackle this scenario suppose i have the following files ...
2
votes
1answer
29 views

Installing Linux with USB on Mac

I am trying to get Ubuntu (version 14 I believe. It's the latest version) installed on my Macbook Pro (Late 2013 edition 13 inch, no disk drive in it) via a USB Flashdrive. I have followed every ...
0
votes
1answer
23 views

What is a UART port

I have a .fex file for Cubietruck. Supposedly, the bluetooth pins are defined in the uart_para2. With the current config, I have uart0 and uart2 enabled, and everything else is disabled. Bluetooth ...
1
vote
1answer
13 views

Openvpn stops responding

I've been trying to set up openvpn with a vps and raspberry pi. The raspi is natted while the vps is public. I've tried connecting to the openvpn from mint laptop as well, but it's no use: Server ...
7
votes
2answers
285 views

What is `/tmp/.X11-unix/`?

I asked Google the same question and didn't like the results I got. What is /tmp/.X11-unix/?
2
votes
2answers
105 views

replace `while` with more suitable function so looping would wait for each process to end

I have a bash script that look out for files recursively under multi-sub folders, then use ffmpeg to each file. at debug, it works great if i use echo ffmpeg but the thing is, at real work where it ...
0
votes
0answers
16 views

quick question about kernel modules [migrated]

I'm very familier with linux (been using it for 2 years, no windows for 1 1/2 years), and i'm finally digging deeper into kernel programming and I'm working a project. So my questions: Will a kernel ...
0
votes
1answer
21 views

How to install the UI-theme in Fedora 21

I want to install the theme (shell style + icons) to Fedora 21. In order to that, I installed the Gnome Tweak Tool. I tried to install themes (Install Shell Extension) from http://gnome-look.org/, but ...
4
votes
1answer
33 views

Ubuntu 14 server edition, how to boot into single-user mode?

I'm new in Linux and just have basic knowledge about it. In the past I've tested to boot into single-user mode in some Linux distribution by just append " single" to the boot command. However, I don't ...
13
votes
3answers
460 views

When I cd through a symlink, why does pwd show the symlink instead of the real path?

I created a soft link (ln -s 1 2) to a directory which is inside the test directory and opened the soft link (cd 2) and displayed the current path using pwd. The displayed path was ~/test/2 and not ...
-4
votes
0answers
19 views

How to use write command for a user in another network in unix

We can use write command for a user in the same N/W using write user. But how we can use write command for a user in the another N/W?
2
votes
0answers
30 views

Cannot connect to OpenVPN server

I'm trying to run an OpenVPN server on a Raspberry Pi. After installation using apt, I wanted to establish just a raw connection to test it, but I can't connect to the server from another computer. ...
5
votes
2answers
65 views

What is brandbot?

What is the "brandbot" service running in Centos 7? What does it do? All I can find (it has no manpage) is "Flexible Branding Service" and that it's part of the "base" repo.
1
vote
0answers
11 views

How to keep displays “set” and not vanishing when screenblanking or turned off?

I have thee screens and am finding it very annoying and distracting to find (1) my X settings have changed to make the leftmost Primary and not aligned right, and (2) all the windows moved onto the ...
3
votes
1answer
19 views

What is udev “urbnum”?

When making a query to the udev system, one attribute that can show up is the urbnum ie: ATTRS{urbnum}=="538" I've looked through the documentation, but cannot find any mention of it. Are the ...
1
vote
0answers
28 views

Linux - iptables - get YouTube streaming bytes usage

How do I get bytes usage using iptables for a particular IP, including YouTube streaming videos? Currently, I am using the following IP tables rules to get data usage by IP address: sudo iptables -I ...
0
votes
1answer
21 views

Installed Arch on my machine and on boot, I only see a blinking horizontal cursor? [on hold]

That's pretty much it, I see nothing but a blinking cursor... any ideas?
0
votes
0answers
10 views

Can I Restore my CentOS Linux server using WHMCS Backups?

We have a CentOS Linux server where the OS has begun to hang up. We can't access it with KVM either due to os freezing. We have daily WHMCS backups sent to our email. Can we restore the server to an ...
0
votes
0answers
22 views

Shared memory in C— Segment doesn't close [on hold]

I have 1 problem and 1 question: Problem is that the code below doesn't want to close memory segment. And my question is how can I write counter into shared memory and then read it when one of two ...
0
votes
1answer
11 views

System-wide desktop file installation for unpackaged software

I want to configure a locally installed unpackaged application to be started via applications menu in Debian. It should be independent of desktop environment and visible to all users. I don't want to ...
4
votes
0answers
19 views

ltracing shared libraries, how?

I would like to trace the function calls to a particular library, call it libfoo. Unfortunately the documentation I have found on it is sparse, so I have a lot of questions. In the documentation of ...
1
vote
0answers
11 views

How to set up XKB to work with 3 modifier keys and 2 switchable layouts?

Consider the following XKB layout: xkb_keymap { xkb_keycodes { <ESC> = 9; <FK01> = 67; <FK02> = 68; <FK03> = 69; <FK04> = 70; <FK05> = 71; ...
5
votes
4answers
220 views

Converting `for file in` to `find` so that my script can apply recursively

I've been working on my first bash script for some time now (I just started UNIX this week). I have this idea of running a bash script to check some conditions and using ffmpeg to convert all the ...
0
votes
1answer
16 views

Where to set Vim colouring when logged into a remote machine

I do most of my development on a desktop, using Eclipse, but occasionally I have to log into the production machine to look at or edit files. Usually I use vi - which is an alias to Vim 7.2. The ...
-2
votes
1answer
35 views

SSH error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

I ran rsync (cygwin) and got this error. I think they changed the Red Hat Linux OS from version 5 to version 6, last night. Would that be the cause of this error message? What do I need to do to fix ...
3
votes
1answer
30 views

Which package contains ddate?

I am using Debian8 (Jessie) and I have discovered a concerning lack of the ddate command. I have very important programs that rely on getting charming date and cometary data from the ddate program. ...
0
votes
0answers
10 views

Screen doesn't lock properly when remote desktop is in use

I am using Debian8 (Jessie) when I use the remote desktop remmina, to connect to an XP box the sleep function doesn't lock out the remote host properly. This is a security bug I think. When I return, ...
3
votes
1answer
35 views

I can't ping my bond interface when simulating 2 WAN connections

I'm actually simulating 2 WANs connexions with Wanem (each one on a different VM), those are connected to my servers. What I need to do here is to create a bonding to improve my bandwidth. I've ...
1
vote
2answers
27 views

Identify out of tree modules?

I'm attempting to upgrade and test kernel 3.12. What is the most efficient way to identify out-of-tree modules that should be removed before testing? There are a few mentioned (vitualbox, nvidia, ...
1
vote
0answers
16 views

Dual Monitors on Cinnamon 2.4.8 - cursor gets stuck on bottom and top right of left screen

Running Mint 17.1 with Cinammon 2.4.8 and I have two 2560 * 1440 monitors, both placed in the display settings as next to each other, not mirrored. The mouse cursor moves as normal between the two ...
0
votes
0answers
18 views

sendmail fail to send HTML e-mail on oracle linux

I'm trying to send html formatted mail through sendmail function in oracle enterprise linux. I'm using following script and HTML format to send the mail. Which is working on ubuntu as expected. But on ...
1
vote
0answers
15 views

finding the icon location of a running X application

For example I want to find the location of bellow icon
1
vote
1answer
25 views

Can't write on recently created EXT4 partition

On a new external hard drive (Intenso 05-1204-18A), I made (with GParted) two partitions : Disk /dev/sdc: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors Units: sectors of 1 * 512 = 512 bytes ...
1
vote
1answer
27 views

Anchors not working with grep

I am trying to do an extended grep on Android logs. However, I am not able to match the anchors for it. Here's my query - grep -A 25 -E 'show\(authenticated = ...
0
votes
0answers
8 views

Unity desktop crash in Crouton for Chrome OS

I tried to install Crouton with the unity desktop on my HP Chromebook 14. The installation worked, the first time. Once I shut down the Linux machine, the unity shell would close and not reopen. ...
1
vote
0answers
10 views

Debian repo mirror or cache

Our company will soon have hundreds of vending machines running a custom Debian 7.x based image made with debootstrap. We want to set up the clients to be automatically updated keep the patch levels ...
2
votes
1answer
36 views

Can someone explain in detail what “set -m” does?

On the man page, it just says: -m Job control is enabled. But what does this actually mean? I came across this command in a SO question, I have the same problem as OP, which is "fabric cannot ...
2
votes
2answers
40 views

cp won't work on current bash script's directory

I'm trying to copy some files from current directory in a bash script but the problem is that the cp command doesn't work with the current directory. I can use the following command without any ...
2
votes
1answer
46 views

Cloning a root partition onto a dm-crypt encrypted one

I have Gentoo Linux installed on a 25.93GB/62.43GB partition /dev/sda4. The other partitions on the disk are 150MB /boot on /dev/sda1 and 56,66GB unused space on other two partitions. I am planning ...
2
votes
1answer
19 views

Quoting: loop over ssh-accounts, call psql on remote server

This works in the human brain, but the shell misses quoting: for h in a b; do ssh $h psql -tAc "select * from mytab where mycol='x'"; done How to quote this one liner without loosing readability?
2
votes
1answer
44 views

Storing one bit of information in user space [on hold]

I'm writing a program that collects network data. I need to store one bit of information, a simple yes/no, somewhere so another process may read it. I have several options: writing a 1 or 0 to a file, ...
3
votes
3answers
158 views

Environment variables. Where are they saved in? [duplicate]

If I do not edit the .bashrc or other config files, the environment variables that I've setted are gone when I logout, or turn off the terminal. What I'm curious is, where are those 'temporary' env ...
1
vote
0answers
26 views

How to diagnose display issues in linux?

I have recently upgraded my system to Debian Jessie (testing) and everything went smoothly, except the occasional distortion when the screen is updating. When a part of the screen needs to update, ...
0
votes
0answers
13 views

How configure properly vncserver in Red Hat Enterprise Linux Server release 6.5

I'm trying to start vncserver in a Red Hat Enterprise Linux Server release 6.5 with an user created for that, and when I type vncserver I got this: WARNING: The first attempt to start Xvnc failed, ...
0
votes
0answers
20 views

Increase Icon/Text Size in Kali Linux

I am running Kali Linux in a virtual box (VMWare Player), and although the resolution fits my screen properly, the icons, windows, text is so small. In example, when I use the terminal or browse using ...
5
votes
2answers
224 views

cannot rename files with `[ ]` on its name?

I'd been trying to use the rename function in my debian, I searched here at unix.stackexchange but it seems the solution is not the same in my scenario which files contains [] ...
0
votes
0answers
12 views

build X11R7.7 from sources - in which order

Is there an automatic way to understand the order in which individual libraries of the X11R7.7 package should be built when I want to build all of util, lib and xcb?
0
votes
3answers
37 views

Creating columns from text output but with multiple word columns

I have the following output: Person 49 Persons Boss 3 HR 21 CEO 93 System Administrator 2 Using column -t produces the following output: Person 49 Persons Boss 3 HR 21 CEO ...
0
votes
1answer
33 views

Color diff output

I am new to unix I wanted to format the unix files conditionally , I am currently working on diff command and wanted to know if it is possible to format the text of the diff command output. Example: ...
-4
votes
1answer
22 views

I would like to copy some files from a usb to a ssd hard drive running CentOS 7 How do I do this? [on hold]

I would like to copy some files from a usb to a ssd hard drive running CentOS 7 How do I do this? is it different then centos 6.5 instructions?

15 30 50 per page