2
votes
1answer
5k views

How do I read the output of `dmesg` to determine how much memory a process is using when oom-killer is invoked?

I asked this question: Running `sudo /sbin/service mysqld start` causes system to crash In the comments of one of the answers, a very helpful individual is asking for more information regarding how ...
5
votes
4answers
498 views

Does Linux use original Unix code or do they share the idea? [duplicate]

Does the Linux kernel use original Unix code or do they share the idea? He mocked me and said it's a stupid question to ask and of course they share the idea not the code. Since both are written in C, ...
5
votes
3answers
4k views

Keyboard shortcut to move window to a side in Gnome

In Windows I can press Windows key + (left/right/up/down) keys to press a window against the upper, right, down, left side. Is there an equivalent in Ubuntu? Distro: Ubuntu 12.04, using Gnome.
1
vote
2answers
936 views

Running `sudo /sbin/service mysqld start` causes system to crash

OS: CentOS 5.10 Service: Amazon Web Services Attempted to remove MySQL 5.0 and install MySQL 5.6 I had a server set up, and was going to use MySQL, but it was was set up with MySQL 5.0. Since ...
5
votes
4answers
6k views

Installing a cross-toolchain to build ARM binaries on Debian

I tried to install a cross toolchain so I could build Linux kernel on amd64 (Debian testing "jessie") for my ARM system. I have this entry in sources.list: deb http://www.emdebian.org/debian sid main ...
3
votes
2answers
654 views

Logic behind Postgres binary installation path on Debian

It appears that the Postgresql installation is split into three folder locations on Debian: Configuration: /etc/postgresql Binaries: /usr/lib/postgresql Data: /var/lib/postgresql I ...
2
votes
1answer
105 views

Is it safe to `emerge -uavDN @world` while working?

In a related question, a few answers ("Yes", "...no problem", "typically... no problem") verify that it is safe to perform emerge -uavDN @world while working. Is it really so (for Funtoo/Gentoo)?
2
votes
1answer
47 views

Why does combining `less` and `script` disrupt line endings?

This bash snippet will print out the numbers 1 to 10: $ for i in $(seq 1 10); do echo $i; done 1 2 3 4 5 6 7 8 9 10 When I try to use this with script and less like so: $ script -q -c 'for i in ...
0
votes
1answer
33 views

Is there any way to see the options for the next directory on a cd command?

When I cd to a/b/c, sometimes I want to see what are the children dirs of c. Normally, I would do it like this cd a/b/c ls child1 child2 cd child1 Is there any way to investigate the children ...
0
votes
0answers
835 views

Two questions about building packages from source on Manjaro

I recently asked this question which was closed for being unclear. I'll ask clear questions now, and I hope to get clear short answers, not a link to Arch Wiki. I'm on Manjaro Openbox, no Internet, ...
1
vote
0answers
220 views

nm-applet openvpn connects only as root

I have a following problem, network-manager doesn't connect to vpn using openvpn, when I run it as a unpriviledged user. when I run sudo nm-applet and the choose to connect to vpn it works fine. ...
6
votes
3answers
4k views

Why won't Linux let me play with /dev/dsp?

I'm working through a Linux textbook, and it's telling me about devices. It says that if I send the appropriate output to /dev/dsp, then it will play a sound. The example is cat file.wav > ...
2
votes
1answer
3k views

How to install Mono v3+ in Ubuntu?

How can I install the latest release of Mono in Ubuntu Saucy? In order to develop in a free OS, I need to setup Mono (that now supports .NET 4.5). This is what I did: Download and uncompress ...
7
votes
3answers
12k views

Find where is a shared library symbol defined on a live system / list all symbols exported on a system

Basically, this is two questions into one - because if I can list all symbols exported within a system, along with their shared library path, then I could simply grep that output. For kernel ...
0
votes
2answers
2k views

Compiling python .py to .pyc doesn't happen

I have read that python will compile the source file .py by itself to produce .pyc, but this doesn't happen in my case. I have the source file inside /opt/osqa folder where I always have to use sudo ...
3
votes
2answers
587 views

Sorting Photos using shell script

The majority of my photo files have the following naming convention / format IMG_20131204_120000.JPG, showing date and time the photo was taken (iPhone/Apple naming convention). However, not all my ...
-1
votes
2answers
1k views

Make my own basic shell [closed]

I know there are a hundred ways of doing this, but I'm just asking what is the most common way: How do I make my own terminal prompt? In other words, I want something like the shell where I type a ...
49
votes
7answers
161k views

Run a command without making me wait

On the CLI, sometimes a command I type takes a while to complete, and sometimes I know when that's about to happen. I'm a bit confused on "backgrounding" and such in Linux. What is the most common ...
2
votes
2answers
67 views

How to display size of each file next to it after executing the “locate” command?

Is there anyway to display the size of each file next to it after executing the "locate" command?
1
vote
1answer
129 views

Help understanding an egrep expression

I stumbled across the following egrep expression: egrep '^([^aieou]*[aieou]){5,7}[^aieou]*$' /usr/share/dict/words on this page: http://matt.might.net/articles/sculpting-text The expression is ...
0
votes
2answers
2k views

Can GNOME/KDE be turned off?

I have installed Debian Wheezy on an old laptop I want to use as a server. However, sometimes I want to use that computer to read webpages and write some code on it. So I want to have a GUI where I ...
3
votes
1answer
201 views

Does any OS support ZFS on MIPS?

Does there exist an operating system supporting ZFS under the MIPS architecture? If so, which operating system(s)? I am especially interested in: Support for ZFS on Loongson. OSes free from binary ...
1
vote
1answer
658 views

more than 8 outputs detected — how to solve?

I have installed Ubuntu 12.04.3 LTS on the notebook Lenovo IdeaPad z510. Setup was successful. But when I tried to load Ubuntu it gets an error: "more than 8 outputs detected". When I googled about ...
1
vote
3answers
3k views

How to install easy_install using non-default Python Interpreter on CentOS?

I have downloaded, compiled and installed Python 2.7 on CentOS. I would like to download and install easy_install (and pip) for it but I am a little bit confused as to how to do that. How can I ...
2
votes
1answer
630 views

Changing network config during CentOS netinstall

I cannot find a way to change the networking information during a CentOS netinstall, when using the URL installation method. I always use a netinstall, and occasionally fat-finger the network ...
1
vote
1answer
594 views

SVN failing to create SASL context

Trying to execute the command svn log svn://[my server address]/path/to/repository nets me the following: svn: E170001: Unable to connect to a repository at URL 'svn://[my server ...
1
vote
1answer
1k views

Parse all column elements from a linux bash command output

I would like to parse the column elements of the output from the command lsscsi. Here is a sample output, # lsscsi [0:0:0:0] disk ATA VBOX HARDDISK 1.0 /dev/sda [0:0:1:0] disk ATA ...
0
votes
1answer
167 views

Upgraded from CentOS 6.4 -> 6.5 and now permissions do not seem to work properly?

I allow my non-root user the ability to view my nginx access.log. I upgraded from CentOS 6.4 to 6.5 and now my user cannot view this file but the permissions still look correct. I removed and ...
5
votes
1answer
882 views

Display hostname in GDM3 on Fedora 19 at login screen [closed]

I'm managing almost 100 lab PC's running Fedora 19. It's difficult to manage because it seems like no where that I can display the hostname at the login screen. GDM version: gdm-3.8-3.2
2
votes
1answer
7k views

Configure wpa_supplicant.conf to Hidden SSID using WPA2 / PEAP / MS-CHAPv2

Here the specifics, I have also the CA certificate chain installed on the machine 1 - hidden SSID (non-broadcast) 2 - The authentication protocol used is PEAP, which is a username and password ...
11
votes
3answers
6k views

Kill process spawned by ssh when ssh dies

This is a question that has been addressed several times, not only here, but also in other sites of the stack exchange network (e.g. ...
2
votes
1answer
204 views

tar.bz2 7zip selective extract prformance

We use tar.bz2 as our archive of server logs. We also write tools that selectively parse these archived logs. Many times I must regex-search one file’s lines in the archive to determine if other ...
3
votes
1answer
1k views

tslib: mouse cursor moves in the opposite direction to selection box

I'm using tslib/xf86-input-tslib on an ARM box with Debian 7. ts_calibrate and ts_test are working properly. The problems occur in Xfce. When I touch the screen and move the finger, I see, that mouse ...
0
votes
1answer
1k views

Why does CentOS even with its latest release ship older versions of apps such as Python 2.6?

Why does CentOS even with its latest release ship older versions of apps such as Python 2.6? What is the reason and logic behind it?
3
votes
0answers
257 views

SSH server is not disconnecting session when I shutdown the machine

I have a Arch Linux virtual machine, if I shutdown the machine while a ssh connection is alive. The SSH session would stuck (and the machine shuts down correctly) So the server is not disconnecting ...
4
votes
1answer
4k views

How to make wpa_supplicant automatically log into file

I am trying to troubleshoot a wireless connection on FreeBSD. I am manually editing the /etc/wpa_supplicant.conf file So far the wpa_cli status only tells me that it's Unauthorized. I'd like to get ...
2
votes
2answers
689 views

Choose other timezone when install Debian?

Why can't I select English and choose timezone outside US?
0
votes
0answers
219 views

Screen caption custom colors

I am having trouble customizing the color of my caption in screen. I can use the 8 standard colors supported (as well as their brighter versions), but I am unable to define a custom color. The docs ...
1
vote
2answers
1k views

Nameservers setup in CentOS 6

I have a domain registered externally from where I have my VPS, but I need to connect these two in order to have the domain forward to my host. I know that I have to take my host's nameservers and ...
2
votes
3answers
1k views

How to execute applications in existing X window from virtual console?

I run Debian Wheezy and have Xfce as my X-Window Manager on virtual console 7, which starts up automatically. Once I've logged on and I'm using the xfce interface, is it possible for me to press ...
2
votes
2answers
236 views

Convert numeric string from file to exit code in shell

I'd like to grep /etc/password for a username and return the last two digits of a user-id number as the return code. This is because I have an application whose main way of interacting with other ...
0
votes
1answer
83 views

Programs installed with depothelper dump core

Anything I install via depothelper on HP-UX 11.23 (ia64) seems to crash. I installed the packages using the following command: /depothelper -a ia64 -c /var/tmp/mydir -o 11.23 vim And here is what I ...
0
votes
3answers
990 views

Software RAID 1 with dissimilar size and performance drives

Background I was experimenting with a home server setup in a small box I had that was supposed to be a media centre but never found much use. I installed CentOS 6.5 in a software RAID1 configuration ...
11
votes
2answers
3k views

Is it possible to redefine the tilde ('~', home directory)?

Is it possible to redefine the home directory? e.g. to /ext1/username instead of /home/username, i.e. expanding the ~ to another directory (as opposed to changing the actual home directory where ...
0
votes
2answers
158 views

compiling bash 4.2 with patches

I want to compile bash 4.2 from source. but http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz is more 2 years old. Should i apply all the patches from http://ftp.gnu.org/gnu/bash/bash-4.2-patches?
3
votes
1answer
168 views

How to get colours on man pages with w3m as a PAGER?

Is it possible, and if so how, to have colour/bold/italic characters in man pages while using w3m? Another pager (most) does have some limited colour support but is not as versatile as w3m. I know ...
6
votes
2answers
797 views

Adding custom Compose key sequences

How can one add custom Compose-key sequences? I have googled quite a bit, but could not find an explanation. In particular, I would like to have: <Compose> + <Z> + <Z> = ℤ # ...
33
votes
4answers
2k views

Why can't I execute shutdown when the permission is rwxr-xr-x?

I'm in /sbin and I see that shutdown has permissions rwxr-xr-x. Doesn't this mean that anyone can execute it?
2
votes
1answer
1k views

convert pdf to png with resize and adding black border

I try to convert the first page of a book to a png, scale the png to a certain size and add a black border. This is what I tried: convert tmp.pdf\[0\] -background white -alpha remove -border 8 ...
3
votes
2answers
3k views

USB memory stick failing to mount - Not Authorized

One of my customers uses a machine running CentOS 6.4 with Gnome 2.28.2. Whenever he plugs a USB memory stick or external hard drive into the machine he gets an error pop-up that simply states Unable ...

15 30 50 per page