1
vote
0answers
12 views

accidentally moved and fixed /bin/ directory, but now can't su

I accidentally moved my /bin directory to /usr/bin/bin, anyway, I managed to move it back to its place with # /usr/bin/bin/mkdir /bin # /usr/bin/bin/mv /usr/bin/bin / Now I can login as root, but ...
0
votes
0answers
22 views

bash scripting and PS1 prompt

Im trying to customize the way the PS1 prompt shows in terminal and CLI on Arch Linux, but it's not printing the proper thing it should be doing. First up is I'm trying to colorize parts of the PS1 ...
0
votes
0answers
8 views

My raspberry pi 2 can't connect to Internet yet it says it's on

So I have checked my rasbian command prompt and it says my network is unreachable but it the top corner of the screen it shows the 3 out of 4blue bars lit up and it says I'm on it. I can get on the pi ...
0
votes
1answer
15 views

sort in unix on a big file

I have a file like this chr1 101466461 101466462 1 chr6 160143888 160143889 1 chr19 19231081 19231082 1 chr18 47008735 47008736 1 chr1 161407811 161407812 1 chr4 ...
0
votes
2answers
8 views

How to find the page size of a usb stick?

I want to understand the page size, sector size, block size (if applicable) of a usb flash drive. Is there a way for me to inspect those with Ubuntu? mount /dev/sda1 /mnt ? umount /dev/sda1
3
votes
4answers
38 views

How to grep-inverse-match and exclude “after” and “before” lines

Consider a text file with the following entries: aaa bbb ccc ddd eee fff ggg hhh iii Given a pattern (e.g. fff), I would like to grep the file to get in the output: RETURN: everything except ...
0
votes
0answers
2 views

security2_module module for apache is causing the “Forbidden You don't have permission to access / on this server” message

I installed the security2 module to my apache server by adding these following lines to my httpd.conf: <IfModule security2_module> Include ...
1
vote
0answers
18 views

command substitution: /dev/stdin: Permission denied

Want to read whole stdin into variable. Don't want to spawn new processes. From bash manual: The command substitution $(cat file) can be replaced by the equivalent but faster $(< file). It ...
0
votes
0answers
5 views

Boot GRUB2 with Degraded RAID5

I am building a custom NAS with Debian Jessie. Has three 4TB hard drives in a software RAID5 configuration. Works perfectly when all three drives are present. I am trying to test what happens when if ...
0
votes
0answers
5 views

aufs root on gentoo/funtoo

I have used an aufs root before on gentoo years ago, but cannot seem to get it going now. I am using genkernel-next, I would imagine I used genkernel before as well. I am using funtoo with ...
1
vote
0answers
8 views

Custom driver for keyboard GNU/Linux 4.1.0-rc8 (Fedora)

I am writing a driver for a Logitech G110 USB keyboard for Kernel 4.1.0-rc8. My driver is perfectly loadable with insmod (Debugging message prints to dmesg that it get's initialized through ...
0
votes
1answer
20 views

Is there a robust way for a child process to signal readyness to its parent?

I have a (Java) process which is staring a separate process foo. foo takes some number of seconds to start up, then is really running. Control returns back to the parent process as soon as foo is ...
1
vote
4answers
39 views

Delete everything before / on every line

I am trying to delete certain that appears before / on every line. I have something like: testing.db.com/7fad416d-f2b3-4259-b98d-2449957a3123 testing.db.com/8a8589bf-49e3-4cd7-af15-6753067355c6 ...
0
votes
0answers
11 views

How to update my local repo that i am using to serve local machines?

I have created a local repo with 618 packages and made it available for my local servers.So that they dont fetch updates directly from RHEL repo. Here are some info about my local repo: ...
3
votes
2answers
125 views

Where do EDITOR, PAGER, BROWSER environment variables come from?

When I look in man bash none of these are defined. However, random posts online refer to them; where do they come from? Or are they just a convention?
1
vote
1answer
15 views

telnet - “Connection closed by foreign host”

I want to setup an Apache Spark Cluster but I am not able to communicate from the worker machine to the master machine at port 7077 (where the Spark Master is running). So I tried to telnet to the ...
0
votes
1answer
15 views

Multiple questions about mounting multiple partitions (in Ubuntu 14.10)

I've got a question about how the linux mount command works when used multiple times. Through an unfortunate series of events (multiple crashes in Ubuntu), I've decided that I wish to simply back up ...
0
votes
0answers
8 views

Why can't I properly locate Debian 8.1 on my BeagleBone Black?

I was using the BBB (BeagleBone Black) for a while now but with Arch Linux. Now that Debian also supports systemd I decided to give it a try. So I followed this guide and used the eMMC flasher image ...
0
votes
0answers
4 views

samba 3.x.x vulnerabilities patch

We know that samba has few vulnerabilities. How to apply patches for vulnerabilities of samba version 3 ? samba site does not give clear info as to how to apply patches. Also is it possible to apply ...
0
votes
1answer
14 views

Remove Ubuntu strings from Mini install

I have an assignment to remove a string from Ubuntu Mini v. 15.04. How would I remove the Ubuntu String on the top? It says "Ubuntu 15.04 hostname tty1". I just want to remove Ubuntu 15.04 string. ...
1
vote
1answer
11 views

Related to installing simultaneously with apt-get

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? What does these ...
0
votes
1answer
14 views

How do I dual boot Win7 and Mint17 both on /dev/sdb?

Question: In my setup, where do I specify the device for the boot loader installation and how do I fix the issue of not being prompted to select my OS with GRUB? Bonus Question: Is there an easy way ...
0
votes
1answer
22 views

Wrap all lines with character sequence in vim

So basically I copy/pasted some code, and I need to prepend and append some more code to each line. Each line is a function call, and is getting added to a switch statement as it's own case. Right ...
1
vote
3answers
47 views

Remove characters in a specific column before a specific character

I have a file that looks like so: chr22 43089055 43089055 - NM_017436 C 300 903delC chr22 43089715-43089717 43089715-43089717 - NM_017436 CTT 79 I want to remove all the ...
0
votes
1answer
34 views

Binary not accesible from Bash despite being in path

I am learning how to program in Racket. It's binary is in "/Applications/Racket v6.2/bin/racket". Let me show what happens: MacBook:~ enedil$ echo $PATH /Applications/Racket\ ...
0
votes
0answers
5 views

Squid3 reply_body_max_size

I am running Debian 8 with Squid3 installed (transparent). However, I would like to know a little more about the "reply_body_max_size" directive. I have read quite a bit about it but none of the ...
1
vote
1answer
10 views

How to replace generic-release with fedora-release?

Due to some accidental eclecticism in my repository list, the package fedora-release was uninstalled from my machine (a Fedora 21 laptop) and replaced with generic-release. I can't seem to be able to ...
2
votes
1answer
19 views

Why to choose (sd-pam) as a process name?

On my machine (Debian testing), when I do ps aux | grep pam I obtain orto 609 0.0 0.0 58532 2148 ? S 08:06 0:00 (sd-pam) orto 5533 0.0 0.0 12724 1948 pts/1 ...
2
votes
3answers
143 views

View only the new entries in a growing log file

tail -f x.log I use this command to see a growing log file in the command prompt. I am interested only in seeing the log lines that are written to the file after running tail -f and not interested ...
2
votes
0answers
8 views

Cannot use keyboard within Qt app without sudo

I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works Ok, but one thing- It doesnt accept keyboard input if i wont run in directly on BeagleBone Black preceeding with ...
0
votes
1answer
9 views

Configure multiple monitors with a desktop independend gui

Since my upgrade from ubuntu 14.04 to 15.04 gnome-control-center display is broken. It could not get any screen information. According to this bug report: ...
1
vote
0answers
11 views

How to ignore “Unable to connect to target host” error messages

I am using an SSH tunnel. It works fine but it gives me these messages regularly: channel 5: open failed: connect failed: Unable to connect to target host channel 4: open failed: connect failed: ...
0
votes
1answer
28 views

chmod on a directory | apparent permissions disrupt actual permissions

Created a folder "Sample_dir" and analysed its permissions. $ mkdir Sample_dir $ ll Sample_dir/ total 36 drwxrwxr-x 2 user user 4096 Jul 1 19:26 ./ drwx------ 71 user user 28672 Jul 1 19:26 ../ ...
0
votes
0answers
4 views

Turn off slide effect on kde menu

I have a remote computer via a nomachine connection. I use kde on the remote machine. How to turn off slide effect in KDE menu?
3
votes
2answers
39 views

nm program - why such name?

Where does the name of nm come from? The IEEE standard defines nm as: nm - write the name list of an object file Is nm an abbreviated form of word name/names? Or does it have a completely ...
-3
votes
0answers
10 views

How to configure user -> OpenVPN -> Tor -> OpenVPN with Whonix [on hold]

My question is as follows: I have host OS windows 7. What i want to configure such a connection: Host (with OpenVPN connected) - > VirtualBox - > Whonix-Gateway with Whonix-Workstation or with any ...
0
votes
0answers
6 views

How to enter Ge'ez alphabet (Tigrinyan language) in Linux Mint

Ge'ez is an East-African alphabet. Using the powerful Eclipse IDE editor, it is possible to switch "Input Type" to Tigrinya (EZ+). Typing the 5 letters selam will then result in the 3 Ge'ez letters: ...
1
vote
2answers
110 views

How to use logical OR in find?

In bash shell ls can use a logical OR functionality through (of course I could also do ls name1 name2 but my true examples are more complicated): ls @(name1|name2) Is there a way to do this using ...
0
votes
0answers
6 views

Disabling mnemonics in the menu bar while keeping button mnemonics in GTK2

I would like to disable mnemonics in the menu bar because they interfere with keyboard shortcuts in some applications -- the terminal, for example -- but I would like to keep mnemonics for buttons in ...
0
votes
0answers
36 views

Why do I get “duplicate” local IP addresses on different interfaces?

I have two network interfaces(a wireless and an USB dongle) attached to an Ubuntu server and both get the same local IP address. Is there any reason for this or a way to force it assign distinct IP ...
0
votes
1answer
22 views

Build log4cxx [DEBIAN]

Please help me from where to start when building log4cxx package, do I need some other packages for bulding this? I can't find anything significant to help me to solve this problem. I tried with ...
2
votes
1answer
28 views

Kernel panic? After ram increase

We asked our server provider to increase ram (from 4gb to 6gb) on our server. After they increased and restarted server, it started giving these messages: Message from syslogd@www at Jul 1 14:39:04 ...
1
vote
0answers
18 views

Stop emacs from sort-of maximizing in Cinammon

I am running Linux Mint 17.1 with Cinnamon. Every time I launch emacs24, either from a command line or from a launcher, it sizes itself to just less than the full size of the screen. --geometry has no ...
0
votes
1answer
17 views

Effect of limiting tcp connections through iptables to limit ssh sessions

I have limited no. of tcp connections through iptables to limit total number of ssh connections. Now when i am adding a rule with maximum limit of tcp connections lesser than currently opened ssh ...
1
vote
3answers
40 views

Killing the previous instances of a script before running the same unix script

I want to kill the background process of the same shell script that i am going to run again. That means before executing the shell script i want to delete the background process running for the same. ...
0
votes
1answer
19 views

how can I configure Apache so that PHP scripts are run with permissions of the owner of the script?

I have an Apache webserver. I have some PHP scripts on it. Scripts are run as the user www-data - it is as the user that runs Apache. I want to configure Apache so that PHP scripts are run with ...
0
votes
1answer
4 views

How to disable event sounds in KDE5?

I wander how to disable event sounds in kde5 Plasma (the one that is heard when scrolling the volume in systray for example). I use Plasma in Opensuse 13.2 but this is KDE specific methinks.
0
votes
0answers
5 views

KDE 5 Plasma in Opensuse 13.2: Display switches off although the feature is disabled

I have disabled that feature: No screen lock just in case: Following advice from here: the settings are different in Opensuse 13.2, there is no screensaver anyway, and no kscreensaverrc in ...
0
votes
0answers
16 views

nohup not working when called from root folder

When i execute nohup command from the same folder it's working fine (server.php is used to listen to a port 7070) root@servername:/var/www/html/admin# nohup php server.php & [4] 2803 ...
0
votes
0answers
10 views

Install and solve dependencies offline for an old version of a package

I have to install a package (let's call it foobar) on a RHEL 6 server which has some pretty tight constraints: the server cannot access the Internet due to security reasons it lacks quite a lot of ...

15 30 50 per page