0
votes
0answers
2 views

Opensuse 12.3 icewm-session to gnome

I would like to ask a question because I was not able to find any answer anywhere... I'm actually using icewm session but I would like to install gnome and set it to default desktop environment but I ...
0
votes
0answers
5 views

Manually adding static ip not resolved after a while

Hi Unix/Linux community, I have a small problem with a device I am connecting to my laptop, running debian linux. While connected to a router on my wlan1 interface (using wicd, if that matters), I am ...
0
votes
0answers
9 views

files that do not excist, prevent me from deleting them, corrupted filesystem

Well... It's about on an OS X system (hfs+), but that's unix after all to. :p system has become unbootable, due to a filesystem error... fsck.hfsplus fails because .... ... ** Checking ...
0
votes
0answers
4 views

Linux / Windows 8.1 : Installation on raid0

I need to install a linux distribution on my laptop (an Asus UX302LA). I tried again and again but I couldn't even begin the installation. To explain you my problem, I know that Windows 8 is installed ...
0
votes
0answers
7 views

Error when running autotest

When I run autotest I get this error: loading autotest/rspec2 "/usr/bin/ruby1.9.1" -rrubygems -S "/usr/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/exe/rspec" --tty ...
-2
votes
0answers
17 views

Kali tools on Ubuntu

Okay, So I am new to UBUNTU, and have little experience with Kali and Backtrack! so I wanted to install ALL the Kali Linux tools in UBUNTU, not one by one, or just transform the Kali Linux into Ubuntu ...
0
votes
2answers
36 views

Extract data in linux/unix

I have input data which I want to parse and extract values using awk/grep/sed: group-2 9 10 text color=black,from=ABCB11,fromid=4,order=2,thickness=3,to=ACE,toid=11,use=1,z=1 group-3 0 1 text ...
0
votes
2answers
5 views

How to check debconf selections of a non-installed package?

I'm trying to check the debconf configurations of some non-installed packages, like ufw, but I haven't found a way with debconf* binaries to check them out. Is there something I'm missing?
1
vote
2answers
26 views

Is there an alternative to the `which` command?

If the which command is not available, is there another 'standard' method to find out where a command's executable can be found? If there is no other 'standard' method available, the actual system I ...
1
vote
0answers
12 views

How is it that I can attach strace to a process that isn't in the output of ps?

I'm trying to debug why our integration tests are taking so long and it looks like they're hanging part way through. I logged onto our test service and saw the following behaviour: root@colossus:~# ...
0
votes
1answer
13 views

How to dump bios data to a file

I want to dump the bios data of my laptop to a file. The only solution I found is the following command: dd if=/dev/mem bs=X skip=Y count=1 X and Y are different in suggested solutions by different ...
0
votes
0answers
11 views

How do I confirm if another instance of my package manager is still running?

dpkg is reporting that the database is locked which may imply that another instance of the package manager is still running so how do I check this? I have a Debian based system and this came up while ...
2
votes
1answer
16 views

Omit Certain Entries from Apache Access Log

Is there a simple way to keep noise entries out of the access_log file short of doing piped logging to a script that does a grep -v on matching criteria or something? I have collectd monitoring ...
0
votes
0answers
9 views

Global Keyboard shortcuts in Ubuntu 14.04

I've just upgraded my distribution from 13.10 to 14.04, which seems to have broken global keyboard shortcuts. They are still present in the "Keyboard settings" as before. Although media keys are ...
1
vote
0answers
10 views

Debugging a “brutal” system hang (no longer responds to Alt+SysRq+B)

I've had a series of system hangs where I hoped to get a crash dump to at least get some clues but the normal "magic sysrq" functionality is broken too; not even the immediate reboot key works. The ...
2
votes
0answers
8 views

How to change _NET_WM_NAME (X Library)

I try use http://xkbind.sourceforge.net/ (useful for displaying keyboard state in window title) on my Mint Maya (based on Ubuntu 12.04) But xkbind change only WM_NAME property Here is xkbind.c code ...
1
vote
0answers
7 views

fail2ban permission denied on script

I've just upgraded from RHEL 5 to 6.5 and setup fail2ban anew. I can't seem to get my custom action to work now, supposedly because of a permission issue. I wan't to know what am I doing wrong, and ...
1
vote
0answers
6 views

Mode_switch + Shift not the same as Shift + Mode_Switch?

I've this in my ~/.Xmodmap: keycode 47 = Mode_switch NoSymbol Mode_switch keycode 25 = w W backslash bar Shift+Mode_switch+W produces bar, which is what's intended. However Mode_switch+Shift+W ...
0
votes
0answers
10 views

Mutt - sent and drafts in the INBOX

I'm using offlineimap + mutt + msmtp to handle my email. I would like to have an unorthodox configuration, where all of my current mail (received, sent, and drafts) reside in the INBOX (or at least a ...
2
votes
0answers
9 views

Catch a console shutdown signal on Fedora 19

I need to catch any OS shut down and execute some actions before letting the OS be shutted down. I'm using Fedora 19 and C++. I'm able to catch a shutdown signal given by the console with the ...
0
votes
1answer
42 views

Check that only root can edit a script before executing it

I have a script that needs to run as root. It also has a configuration file which is read using source: source conf.sh I would like to check that normal user can't edit conf.sh and therefore get ...
2
votes
1answer
30 views

Lose network connectivity when bringing up second NIC

I currently have a CentOS 6.5 box with 4 NICs. eth0, eth2 and eth3 all come up fine, however when I bring eth1 up with an IP address, even on it's own, it causes complete network loss. If I remove ...
0
votes
1answer
21 views

Can't make links after make install successful

After install a package successfully, the tutorial says I have to make links if I want create links in /usr/local/bin. But: ooker@ooker-Aspire-4741:~/gromacs-4.6.5/build$ sudo make links make: *** No ...
2
votes
1answer
51 views

Shellscript! Syntax error: unexpected “(”

Update: After the changes from the first answer I got some more error codes. : not found: line 23: { esxidown.sh: line 24: redir error Insufficient arguments. : not found: line 26: esxidown.sh: ...
0
votes
0answers
6 views

Remap input keys in /dev/input level

I want to remap input keys from keyboard and mouse, but I need it to be in low level, so that reading /dev/input* shows remapped functions. Example: I have regular keyboard and I want ENTER key to ...
0
votes
0answers
4 views

MySQL 5.1.73 in Oracle LINUX : Which is the correct mysql configuration file?

I have installed MySQL 5.1.73 manually by RPM on Oracle LINUX 5. When I searched configuration file - my.cnf I run below command and get list of multiple configuration files. $ locate *.cnf ...
0
votes
1answer
26 views

Different forms of executing a shell script

There are a few similar questions around that I've already seen, but I've come up with something different. I'm reading this http://www.tldp.org/LDP/abs/html/invoking.html and I got confused when I ...
2
votes
0answers
18 views

how to get user's last login including the year in C

I'm trying to write a program that can get the user's last login time. Then i want to do something with the data. eg. check which user havent login for 90 days. So I tried using last command. This ...
6
votes
0answers
46 views

Possible to see dead proccesses?

In man ps, it clearly states the different states a process can have on Linux. D Uninterruptible sleep (usually IO) R Running or runnable (on run queue) S Interruptible sleep (waiting for an ...
0
votes
0answers
13 views

unix process showing unusual cpu usage and timing in ps aux

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 684 186912060 0.0 17140 988 ? Ss Feb24 54195432:44 root 7319 288895842 0.0 4096 668 ? S 04:30 ...
0
votes
0answers
9 views

IPv6 issue setting up Ad-hoc network

I am running Ubuntu 12.04 and have the following network interface: description: Wireless interface product: Centrino Advanced-N 6235 vendor: Intel Corporation ...
0
votes
0answers
4 views

Can't print from a remote laptop. The printer connected to the desktop computer is missing and randomly appears

I've got a desktop and a laptop, both of them with Linux Mint 13 'Maya' as OS. The desktop is cable-connected to a router and the laptop has a wi-fi connection to it. The desktop computer is also ...
0
votes
0answers
16 views

why daily cron isn't running on CentOS 6?

I have a daily cronjob set up on CentOS 6 OS which should look after the log rotation job. The file is /etc/cron.daily/logrotate and it's contents are #!/bin/sh /usr/sbin/logrotate ...
2
votes
1answer
29 views

How to query EFI signature

It appears that Grub-EFI will only boot a "signed" Linux kernel. Is there some command that will allow me to query a given kernel image to find out what signatures (if any) are present on it?
0
votes
0answers
9 views

How to enter LVM GUI from CentOS live CD?

I'm trying to reduce in size one of my logical volumes in CentOS. I booted from the CentOS 5.10 installation CD into linux rescue and tried running: lvreduce --resizefs --size 450g ...
3
votes
1answer
168 views

What does the hash in ${parameter/#pattern/string} do?

I saw the following substitution in this article: ${PWD/#$HOME/~} How does it compare to this? ${PWD/$HOME/~} Both seem to be the same. I don't know why the hash was included.
1
vote
1answer
31 views

How to make a bash script wait till a pendrive is mounted?

I have a bash script which has a line cd /run/media/Username/121C-E137/ this script is triggered as soon as the pen-drive is recognized by the CPU but this line should be executed only after the ...
0
votes
0answers
5 views

Subtle WM in Full Stacking Style

I am using Subtle and I am happy with it. But I want to change it to serve all windows in stacking style like all stacking windows manager. Is it possible and how?
0
votes
1answer
11 views

MC and MCedit take long time to start

I recently discovered that my MidnightCommander takes around 40 seconds for every startup and the same goes for McEdit. I access my machine only via ssh and of course I'm not logging in as root, only ...
0
votes
0answers
15 views

Automatic login for mysql used in CGI script

I have written a CGI script using bash which executes a MySQL query. For MySQL authentication , automatic login is used by supplying the credentials in .my.cnf file as shown below . # the following ...
2
votes
1answer
20 views

script that calls a third party script that calls screen - how to start screen detached?

I have a script 'myscript.sh', that calls a vendor script 'vendorscript.sh'. The vendor script runs screen in the foreground. I would like to run the vendor script with screen detached. If possible ...
1
vote
2answers
30 views

Getting 256 colors to work in terminal multiplexer

tmux I followed Getting 256 colors to work in tmux: I have alias tmux='TERM=xterm-256color tmux' in ~/.bashrc and also set-option -g default-terminal "screen-256color" in ~/.tmux.conf In konsole: ...
0
votes
1answer
18 views

Is memory in user space always low to high

I mean that if its true always that first lower addresses are used and then increment the address to access higher address. Can it be in reverse order?
1
vote
2answers
37 views

Do I compile Ubuntu Source code on Red Hat System?

If we install the Red Hat Syatem then do we able to compile the other distros of linux on the Red Hat server system, If yes then please provide the tutorials and links.
0
votes
0answers
5 views

Red Hat/CentOS Cluster HA Web Server Issue “rgmanager[30244]: [script] Executing /etc/rc.d/init.d/httpd stop”

I'm trying out to deploy a red hat cluster to setup a HA Web Server. I followed the documentation below at page 81 ...
1
vote
1answer
23 views

How to know my server's time offset? [duplicate]

I have a few guest machines on VMware. Up until now I was keeping my time sync with ntpd inside guests. Now our VMware admins decided to setup VM hosts to keep time, so VMs don't have to. I disabled ...
0
votes
0answers
11 views

Awesome WM buggy rc.lua

I'm new to awesome, and I'm having trouble configuring a theme from the following repository: here I just moved the themes to my awesome directory, so the tree looks like this: ~/.config/awesome/ -- ...
0
votes
2answers
22 views

How to update CentOS 6.5 to kernel 2.6.32-431?

I need to update my CentOS 6.5 kernel to 2.6.32-431. Running yum clean all && yum update doesn't do it for me. How do I update? And what could be the issue? [root@centos64 ~]# uname -r ...
2
votes
1answer
26 views

speed up linux server [on hold]

On my VPS, I have centOS 6.5 installed with 2 virtual cpu 2048 MB memory, 60 GB disk and 300 GB monthly data. Doing a speed test today resulted in 168.62 Mbit/s dload and 37.39 Mbit/s upload. Then my ...
1
vote
0answers
12 views

How can I configure avahi to resolve host name on adhoc network?

I have a linux machine (raspberry pi) running Debian and I have configured it to create an ad-hoc network. The machine hosts a web app which allows a person to scan for infrastructure networks and ...

15 30 50 per page