3
votes
1answer
81 views
init: is it a user thread or a kernel thread?
init is the first task executed after kernel is loaded, right?
Then who is its owner.
also I can see [swapper/0] [swapper/1] ..... [swapper/7] having pid 0
PID PPID CPU TASK ST %MEM ...
-3
votes
1answer
50 views
“not a valid identifier” when I do “export $PATH”
When I run export $PATH in bash, I get the error not a valid identifier. Why?
Here's my ~/.bashrc file
# ~/.bashrc: executed by bash(1) for non-login shells.
# see ...
1
vote
1answer
29 views
installing apache httpd server on RHEL-6
I have 5 systems running Apache tomcat server, for load balancing i need to install Apache httpd server, how should I do this, please provide me some useful links and your opinions on this.
I am ...
1
vote
0answers
24 views
How can I view foreign languages in Chromium?
I just installed the minimal version of Ubuntu. (To be specific, I installed Ubuntu 12.04 "Precise Pangolin" 32-bit.) This version does not have all the tools that are usually avaialble in normal ...
3
votes
1answer
73 views
How to trigger error using Trap command
I am using Ubuntu 12.04.2. I am trying to use "trap" command to capture abnormal or error in my shell script but I am also trying to manually trigger "Error" exit.
I have tried exit 1, but it won't ...
0
votes
0answers
10 views
Pam Modules in eclipse [migrated]
I wanted to create a Pam module. I am using Eclipse as my IDE, and making the pam module in C/C++.
When I tried to include the 2 pam modules needed
#include <security/pam_modules.h>
#include ...
1
vote
1answer
31 views
Splitting display among computers
If i have 17 system units (computers with monitors) that connected using network, is it possible to display image or video splitted into those computers without having split it manually?
1 2 3 4 ...
3
votes
3answers
73 views
Transposing rows and columns
I have a file with the lines like below.
title1:A1
title2:A2
title3:A3
title4:A4
title5:A5
title1:B1
title2:B2
title3:B3
title4:B4
title5:B5
title1:C1
title2:C2
title3:C3
title4:C4
title5:C5
...
0
votes
1answer
27 views
how to display I/O file on shell [closed]
I am writing shell script and I need to display my output at the same time however it doesn't work with 2> somefile.txt and if I do | tee -a somefilel it will not overwrite which I need to . <>
...
4
votes
2answers
20 views
Getting wmctrl to work with multiple Emacs windows
I'm trying to write a script that switches focus to Emacs. This is what I have:
#!/bin/bash
wmctrl -a 'emacs@pat-ubuntu-desktop'
It works fine when there is only one Emacs window (or "frame," in ...
2
votes
1answer
30 views
IM program to support yahoo video calls
I have been trying to migrate to Linux from Windows during the past one year. Until I completely deleted my windows and I have been using Linux mint 15 for the last 30 days. I am really satisfied.
I ...
0
votes
1answer
58 views
wc - setting a terminating character
I've got that far: wc --files0-from=FILE lets one get the word count of a list of files. Each entry in this list mus be terminated with an ASCII NUL character.
Question: A way to set a terminating ...
2
votes
1answer
23 views
Creating partition from a start point till the end of the disk using parted
This is my partition table :
Model: ATA Hitachi HTS54757 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File ...
-1
votes
1answer
37 views
Confusion in creating a partition [closed]
Please somebody help, as i'm newbie to linux i don't know how to make a partition and also which has been already partitioned.
I got the following when i type fdisk -l. Can you guys please explain ...
1
vote
3answers
72 views
Is Firefox for Linux generally unstable? [closed]
Started using Firefox in the early days and have used it as main browser for a long time. Under Windows, where I used it a lot until approximately 2011, I generally seldom had problems with it. ...
0
votes
0answers
31 views
find duplicate files by size and MDF [closed]
I am writing script to search for dups files and group them by size and then by their MD5 check sum.
here is my script:
find . -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type ...
2
votes
3answers
70 views
Shell: How do I get the last argument the previous command when it was detached?
Within the shell, typing ALT+. or using !$ recalls the last passed argument of the previous command. I use this all the time, but how do you do that when you detached the previous command?
$ ...
2
votes
1answer
39 views
Is there a PAM Standard?
Related to a StackOverflow question I have. Since it's more or less really a SO question through and through, I won't go into the whole spiel. My platform question is this: Is there an industry ...
0
votes
1answer
49 views
SSH tunneling: connect_to localhost port 22: failed
I want to connect from my computer to a remote computer using a middle server(u port forwarding). I run this command on remote computer:
ssh -R 9300:localhost:22 user@middleserver
and this one on ...
2
votes
1answer
22 views
How can I reproduce solarized theme colors with xcalib for reading pdf's
How can I reproduce solarized theme colors with xcalib for reading pdf's? I want to use xcalib such that I can read (black and white) pdf's with evince such that the background is like that one I am ...
2
votes
2answers
39 views
Is there any pattern to specify target triples in GCC?
The gcc compiler use target-triplets for cross-compilation. I see some of these target triples like "x86_64-pc-linux-gnu" (the most common). I understand what means but I don't know how specify ...
1
vote
1answer
35 views
Chat client with a web interface
I'm trying to set up a chat client on my Ubuntu server that I'll be able to access via a browser with my other local computers. Specifically, it would need to support XMPP and IRC.
My first thoughts ...
-1
votes
0answers
14 views
Can not figure out the X11 for using it for GUI locally [closed]
I understand that when I do ssh to a remote linux server in order to use a GUI locally I need to have X11. Also that this X11 is some kind of client/server architecture to be able to display a ...
4
votes
3answers
53 views
bash history - ok to use file from old machine when setting up new machine?
I love my bash history. Sometimes I've issued really long commands and I really depend on my bash history to get them back quickly. I've increased my history size with:
HISTSIZE=100000
...
3
votes
0answers
31 views
Mint 15 High temps on e-450, fan seemingly not reacting
I'm running a 64-bit Mint 15 on a Lenovo x121e with AMD E-450 and Radeon HD graphics.
I'm worried about the high temperatures (I had Ubuntu before and never even noticed anything, so I never checked ...
0
votes
0answers
8 views
D-Link DWM-156 HSPA USB Modem doesn't work with SIM Card inserted
I have a D-Link DWM-156 HSPA Modem, that I bought just a few days ago. The modem has drivers in its internal storage. There are Debian Software Packages for both i386 and amd64, so obviously I ...
1
vote
0answers
45 views
Bacula: Stalled disk backup job doesn't resume when disk is remounted
I'm using Bacula to backup to a disk file. The thing is, I'm backing up to an external USB disk and I want the backup to be robust to accidental unmounts of the external disk. Ideally, I would like to ...
0
votes
1answer
29 views
cw and . does not work as expected in vim on character deletion
If I have the following non-sense text:
Hi woman! What is your name? I know what you mean...
Yeap.
Yeap. Again :)
Hi woman! What i s your name? I know what you mean...
Yeap.
Yeap. Again ...
1
vote
2answers
54 views
Running external commands in vim
It seems that if I run the following inside the vim:
:w !wc -w
I get the word count of the file. But I don't understand the syntax. How does this work and how would I specify that I want the ...
0
votes
1answer
49 views
How to control desktop applications over SSH
Assuming that the wife is right now using our desktop Kubuntu machine, probably surfing the web in Firefox or using Digikam. After logging into the machine via SSH, what can I do to 'pop up' little ...
2
votes
1answer
33 views
How can I make multiple copies of one folder without merging?
When two or more identically named folders are to be copied into or moved to the same location, the default option either in the GUI file manager, or using in a terminal cp -r --backup=numbered or ...
1
vote
0answers
8 views
krusader - single queue instead of multiple queues
I need to copy a whole bunch of files from various directories onto an external drive.
I thought Krusader might be the best tool for this job.
As I select and copy different files, a new queue ...
-1
votes
0answers
38 views
How to reinstall open ssh via rpm?
If I do
rpm -qa | grep -i ssh
openssh-server-5.3p1-84.1.el6.x86_64
cpanel-perl-514-Net-OpenSSH-0.57-1.cp1136.x86_64
libssh2-1.4.2-1.el6.x86_64
openssh-clients-5.3p1-84.1.el6.x86_64
...
0
votes
0answers
21 views
connection of tata photon plus with ubuntu biolinux [closed]
I tried number of posts on Internet about connecting Tata Photon plus with Ubuntu (Ubuntu - BioLinux 12) but I'm not able to get it working.
It say registered on network and then it disconnects.
2
votes
3answers
55 views
When installing linux on USB Drive, which filesystem should I use to format for best performance?
I'm planning on installing Linux on a USB drive, and I was wondering which filesystem I should use to format the drive for best performance (overall responsiveness), and life of the drive?
11
votes
2answers
207 views
Symbolic link recursion - what makes it “reset”?
I wrote a little bash script to see what happens when I keep following a symbolic link that points to the same directory. I was expecting it to either make a very long working directory, or to crash. ...
2
votes
3answers
44 views
Do I need to stop processes like mysql or apache before “reboot”?
I have been wondering if issuing a reboot command safely stops running LAMP processes like MySQL or Apache?
1
vote
0answers
33 views
Problem running “Software update” on Debian 7
I'm running Debian 7 on vmware workstation.
When I run Applications - System Tool - Software Update I just get a blank window, nothing happends.
Updating the system works fine with "apt-get update ...
0
votes
1answer
29 views
About Ingo Molnar's Realtime Preemption patch
Does Ingo Molnar's Realtime Preemption patch support ARM cortex-A8?
-2
votes
0answers
51 views
Copy directory onto multiple servers using a bash script
I have a local directory I need to deploy to 300 servers. What's the easiest way to write a shell script that mass-copies it to all of them?
0
votes
0answers
31 views
Easy way to push data into MongoDB from Bash shell script?
I know you can create a Javascript file that the MongoDB shell will execute upon startup. But I'm hoping for something more "lightweight" than that. I am using a Linux program that has a scripting ...
1
vote
2answers
58 views
Can not edit .vimrc file
I have just installed spf13 plugin for vim and I want to customize .vimrc file.
When ever I try to save the edits it says: ".vimrc" E166: Can't open linked file for writing
syntastic: info: no ...
0
votes
2answers
30 views
How can I solve the issue about mounting my Windows 8 NTFS partition on Linux Mint?
I used Ubuntu for long even along Windows and SOMETIMES I got this problem for mounting the corresponding NTFS partition at the beginning, however with a pair of command lines to the console I got it ...
4
votes
2answers
39 views
Extract timestamp from a gzip file
How can I know the raw original timestamp of a file foo compressed with gzip without having to decompress foo.gz?
gzip --verbose --list foo.gz and file foo.gz will print formatted date and time.
0
votes
0answers
19 views
Grub broken after installation of Mint, hard drive not showing up in boot device list
I had problems with grub after my installation + my hard drive was not showing up in the devices list when i chose a device to boot (not from setup but before startup). I have tried several methods to ...
1
vote
1answer
17 views
PECL memcached installation gets error
I installed Zend Server 6 (debian).
Also installed several packages:
apt-get install gcc
apt-get install g++
apt-get install libncurses5-dev
apt-get install zlib1g
apt-get install zlib1g-dev
...
3
votes
2answers
54 views
cd to directory of a symbolically linked file
Before I write a script, anyone know an easy way to do the following:
$ pwd
/foo/bar
$ ls -l
lrwxr-xr-x 1 username admin 48 Apr 17 2012 foo.sh -> /bar/foo.sh
$ cd /bar
$ ls
foo.sh
i.e., in ...
2
votes
2answers
49 views
syntax of ls --hide= and ls --ignore=
ls --hide and ls --ignore provides the possibility leave out files defined through regular expressions set after the --ignore= part. The latter makes sure that this option isn't turned off via -a, -A. ...
0
votes
3answers
53 views
Unable to mount ext2 hard drive
I have been trying to mount an ext2 hard drive in ubuntu server, but when i run sudo mount /dev/sdb /media/mynewdrive -t ext2 I get
wrong fs type, bad option, bad superblock on /dev/sdb1,
missing ...
2
votes
2answers
19 views
How to config my.cfg file for mysql which was installed from sources?
I installed MySQL 5.6 from sources on debian.
MySQL folder is /usr/local/mysql.
Here is several question:
1) I would like to config my.cfg. But I couldn't find several parameters:
socket ...





