1
vote
1answer
67 views

How to add additional control key?

I am using xkb to add an additional control key as follows: key <HENK> { [ Control_R ] }; However, it does not work. I even tried xmodmap without success: xmodmap -e "...
2
votes
1answer
531 views

MySql synonym drop and create

I am running into an issue that, when my script is run, the MySql section of it isn't working or is dropping the synonym. Is there something else I need to put into the command to have it log into the ...
0
votes
0answers
108 views

Nvidia Update Problem On Debian 7 Stable

New User Here Guys bear with me! Specs: Debian Stable Weezy Gnome 3 edition 64 bit Video Card: Nvidia GTS 250, CPU: AMD Phenon X4 Quad core History: All was going so well, back-ports was added, ...
0
votes
1answer
87 views

How can I modify route table?

I don't want to delete or add, just want to modify one rule. Is there such a command or do I have to resort to Delete and Add ? Computer is running Debian 6.
2
votes
0answers
3k views

What's missing with my SELinux installation?

According to Introduction to SELinux, section 14.4.2, SELinux support is built into the standard kernels provided by Debian. The core Unix tools support SELinux without any modifications. I have ...
19
votes
1answer
1k views

If chown can change groups, why was chgrp created?

So there's chown which lets you change the owner and group of files and/or directories. But there's also chgrp which only changes the group. Why was chgrp created? Isn't it redundant?
1
vote
1answer
555 views

top/ps/mpstat showing different output

When my top shows a load of 19/20 and my ps shows root@server:/home/nohup# ps -eo pcpu,pid,user,args | sort -k 1 -r | head -5 %CPU PID USER COMMAND 122131 18695 mysql /usr/sbin/mysqld xxxxx 0....
0
votes
1answer
87 views

get cpu by user

Working with monit I need create an alert that get cpu usage of system users, so: top -b -n 1 -u user1 | awk 'NR>7 { sum += $9; } END { print sum; }' seems a good solution but I'm not sure about ...
1
vote
2answers
472 views

Alias from .bash_profile is not reflected across the system

I have few path settings and alias in .bash_profile, and I am exporting those. For example: alias gcc=/abc/def/......./myrtgcc export gcc And I want use myrtgcc to compile C programs either from ...
4
votes
2answers
25k views

Error when unzipping a file

I am getting the following error when unzipping a file unzip user_file_batch1.csv.zip Archive: user_file_batch1.csv End-of-central-directory signature not found. Either this file is not a ...
3
votes
4answers
8k views

Get the latest directory (not the latest file)

My folder parent has the following content: A.Folder B.Folder C.File It has both folders and files inside. B.Folder is newer. Now I just want to get B.Folder, how could I achieve this? I tried this,...
2
votes
1answer
3k views

Can't run yum update

I've been banging my head on the keyboard with this! I'm working on CentOS 6.5 x86_64. Firstly I tried to update php and apache using easy apache. The update failed very quickly so I went on the ...
1
vote
1answer
2k views

script to send e-mail for success or failure

My Oracle backup sends out an e-mail with notification that backup completed and it was successful or failed depending upon it find some pattern. Our backup logs are getting very big - 14mg. Since ...
0
votes
1answer
535 views

“Enabling additional executable binary formats” fails

On ubuntu 14.04, after doing do-release-upgrade -d several systems failed like dbus, network-manager, sound card etc.. I am logged into terminal instead of X. Looking at the /var/log/boot.log I ...
4
votes
3answers
2k views

Can't open shell after changing default shell

I changed my default shell to zsh from bash in Ubuntu. I used the steps explained in http://github.com/sorin-ionescu/prezto and ran chsh -s zsh. After this, I couldn't able to log in to any shell as ...
30
votes
5answers
10k views

Where does uname get its information from?

Where does uname really get its information from? I figure this is something that should be straightforward. Unfortunately, I can't find any header containing just that information. Say someone ...
3
votes
3answers
5k views

Linux Fedora 20:How to use microsoft word, possibly with wine?

I have searched the Internet for answers to this question, and find a lot of confusing answers. I have had Linux Fedora 20 installed on my wife's computer, dual boot with Windows, and suggested ...
1
vote
1answer
362 views

How to read characters from a serial keyboard on /dev/inputs/eventX (Speed?)

I'm trying to read from a second keyboard whose inputs can be read from /dev/inputs/eventX, but I get rubbish and not the character expected. I'm accessing my target by using Putty. I can connect to ...
2
votes
1answer
126 views

define own time in linux

how to set time in linux in that way: 1 second define as 10 seconds (10 second = 1 secods of own time) I want fool all processes runned there to use 10x faster time. so sleep(1) will last 0.1 real ...
0
votes
4answers
2k views

grep to see if a line ends with a particular string

Hello I have a file that has a lot of lines that end with main.css">, and some of them are repeated. I want to keep only one copy of these lines and delete the repeated line. Could I use grep to ...
2
votes
1answer
62 views

Why does sed not remove my empty lines?

Why does not this sed command remove empty lines? sed -e 's/\r//g' -e '/^{$/d' -e '/^}$/d' -e ':begin;$!N;/^state-text: {[[:space:]]\n/s/\n//;tbegin;P;D' -e "s/'/''/g" -e '/^$/d' <<< $myvar ...
6
votes
2answers
1k views

Is it possible to run a 10.04 or 12.04 or earlier LTS containerized under LXC or Docker on Trusty?

Is it possible to have a vanilla installation of Ubuntu 14.04 (Trusty) and run inside it containerized older Ubuntu versions that originally came with older kernels? For example for 12.04 I'd assume ...
3
votes
1answer
55 views

How to configure my enviorment in such a way that a proper (different from the system one) version of library is used

I guess that this question is a borderline between ServerFault and StackOverflow and this site. But I think that U&L is most relevant. I have some C++ code that depends on a library in version X ...
3
votes
1answer
844 views

Protecting data against bit rot

I have realized that I need to protect all of my photographs against bit rot (file corruption occurring at random due to errors in hard drives or network transfer). I recently discovered par2 which ...
2
votes
0answers
219 views

Drive disappears from dev during ddrescue copy or testdisk recovery

I have been trying to recover data from a Seagate 7200.11 1.5TB drive (2 ext4 partitions_ for 3 days now, predominantly with ddrescue and testdisk, but because of some critical error on the disk (...
8
votes
1answer
4k views

Why am I having ghosting and tearing with the i3 window manager paired with xcompgmr when tiling terminals vertically?

I'm using the i3 tiling window manager. As it doesn't do compositing, I've enabled the xcompmgr compositor in my ~/.i3/config file as well as feh to display a wallpaper: exec --no-startup-id xcompmgr ...
2
votes
1answer
3k views

A distro that supports intel/nvidia hybrid graphics out of the box [closed]

I've spent so much time trying to get various flavours of Linux to run on my Dell XPS LS02 laptop which only has a HDMI output. I've tried all sorts of solutions and methods including http://...
2
votes
3answers
672 views

Run script without ./ before the name

I am running a quite complicated script which changes directories and runs many other commands. All these commands are run using 'scriptname', which works fine when I execute the main script from my ...
1
vote
1answer
2k views

configure error when trying to build OpenSSL on CentOS

I have a Centos 5.7 operating system box and I have installed OpenSSL 1.0.1h successfully. but when I am upgrading OpenSSH I am getting the below error message while running ./configure. Kindly help ...
3
votes
3answers
581 views

Job server with web/email interface to run remote commands

I'm looking for a solution to run remote commands for my Linux server. Unfortunately I cannot use SSH just only HTTPS (corporate firewall blocks everything different from HTTP/HTTPS on 80/443 ports). ...
9
votes
1answer
1k views

Set custom locales in Gnome3 (on Fedora 20)

I've created my own custom locales and placed them in /etc/locale.conf which successfully takes effect if I log in on a virtual console (Ctrl+Alt+F2). In my Gnome3 session those variables are not set, ...
1
vote
1answer
511 views

Ubuntu home folder issue

I am quite a newbie to Ubuntu and Linux world. I dual booted windows 8.1 and Ubuntu 14.04. I followed a tutorial and mounted a 38GB partition at /home. Now that my /home folder is almost full (2MB ...
5
votes
1answer
8k views

Why does my firewall (iptables) interfere in my bridge (brctl)?

I set up a bridge br0 "attached" to two interfaces: eth0, my physical interface connected to the real LAN, vnet0, a KVM virtual interface (connected to a Windows VM). And I have this single ...
3
votes
2answers
401 views

Linux distribution for old laptop [closed]

I want to install a new Linux distribution on my old ThinkPad 600x laptop: Pentium 3 500MHz processor 448MB RAM 4MB graphics memory around 20GB HDD CD-ROM drive WiFi card on PCMCIA I want a fast, ...
2
votes
1answer
1k views

Why is my tar in a script behaving different than using tar manually

I'm writing a backup script for my email and cloud service. For simplicity, I only posted the mail-backup part here. Basically, I have a Host-Machine with some Virtual Boxes running in it. These ...
3
votes
2answers
1k views

Install pandas for python3 on Fedora 20

The Fedora project lists a package called python3-pandas. When I enter sudo yum install python3-pandas I get the message No package python3-pandas available.. How can I install this package? I am ...
3
votes
1answer
6k views

[RESOLVED]Various programs not working after yum install some packages [closed]

[RESOLVED] I found out that the Memory chip caused the problems. I changed it and the system works fine now! I'm using RHEL6.0 and encountered the problem that gdb, yum, rpm don't work any more. ...
0
votes
0answers
320 views

USB Ports stopped working

After I locked my screen with CtrlAltL (KDE keyboard shortcut that locks the screen) and went away for 5 minutes all the USB devices stopped working (mouse, keyboard & headset). The devices are ...
1
vote
2answers
245 views

Where is the cron information stored on my gentoo system?

I have a Linux gentoo system, which performs a cronjob every day at 3:10 in the morning. However, no file in /etc contains any related information to this particular cronjob, and the result of crontab ...
9
votes
3answers
4k views

command line method or programmatically add ssh key to github.com user account

Is there a way to identify with a username and password to github.com servers for the purpose of adding an ssh key to the github user account? So far everything I've read suggests that a user's ssh ...
2
votes
0answers
201 views

Matterhorn dead but PID file exists

Installed opencast-matterhorn14 in a Centos 6.5 Machine and after Installation steps while I try to run the Matterhorn using service matterhorn start I keep on getting the same error: [root@...
1
vote
1answer
912 views

Command to change Konsole title

I would like to have the Konsole's title to change every time I run a loop, like this: while read line; do echo $line $i/$numline echo -ne "\033]0;$line $i/$numline\007" commands let i=i+1 ...
12
votes
6answers
53k views

How to use a shell command to only show the first column and last column in a text file?

I need some help to figure out how to use the sed command to only show the first column and last column in a text file. Here is what I have so far for column 1: cat logfile | sed 's/\|/ /'|awk '{...
2
votes
1answer
4k views

How can I manually decrypt the hard drive?

I've just switched to Ubuntu 12.04 one year ago and moved all my photos, documents, etc to the 1TB main hard drive that has been encrypted during the installation process - not LVM but only the home ...
2
votes
1answer
3k views

SELinux preventing ssh via public key

I have user $USER which is a system user account with an authorized users file. When I have SELinux enabled I am unable to ssh into the server using the public key. If I setenabled 0, $USER can now ...
9
votes
2answers
3k views

Adding “random number entropy” for GPG keys?

In the following video: Linux HOWTO: Secure Your Data with PGP, Part 2, you are shown how to create a key pair with gpg. At about 1:50, the instructor says the following: While the key is being ...
0
votes
1answer
339 views

scan and connect to wifi from linux terminal on virtual machine

I am trying to scan wifi networks via Linux terminal running on a virtual machine. I am running virtual machine on Mac OS. On MAC terminal, I can see all Wi-Fi networks using (airport) command and can ...
12
votes
0answers
653 views

How can I get Mumble's overlay working?

Mumble and Team Fortress 2 (TF2) both work fine for me individually, but I cannot get mumble-overlay working, either independently or within TF2. I've tried putting the following launch options into ...
2
votes
1answer
1k views

Value assigned inside a function variable is always empty

I have the following simple script. In this script, I am assigning a value to a global variable inside a function. I can clearly see that the value is being assigned to the variable via a debug ...
0
votes
1answer
1k views

unable to chown a directory recursiverly “unknown user id”

I trying to chown the directory for changing the permissions of the directory. But it shows some error as unknown user id I tried to chown using the command : chown -R www-data [directory name] it ...

15 30 50 per page