Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

1
vote
3answers
282 views

How do I reassemble randomly named tar file fragments?

I have a client whose sites were migrated to a new server back in 2012, and I am trying to piece together the old archive to retrieve one of the sites that was not moved. I found a set of files in a ...
2
votes
2answers
2k views

lsmod outputs: Not tainted [duplicate]

I ran lsmod command on an emulator for a board, and the output is Not tainted . What does that mean ?
1
vote
1answer
2k views

what is the difference between qsub and ./

Can anyone tell me the difference between the following ways of submitting a script: $ qsub script_name.sh and ./script_name.sh What are the differences between the above two ways of submitting ...
1
vote
1answer
519 views

High RX packet error count with modem - how to analyze?

I'm testing a CDMA modem on my Debian embedded Linux system. I'm doing some wgets of large files and am seeing the connection drop now and then. Looking at the ifconfig output for the PPP interface ...
4
votes
3answers
2k views

What distribution still supports the 2.6.x kernel?

I'm trying to use a Khepera III robot. The documentation says I need a Linux OS with kernel 2.6.x. An Ubuntu 8 image was provided at the website. When I created a virtual machine with that image, I ...
4
votes
1answer
1k views

Understanding webcam 's Linux device drivers

As far as I know, device driver is a part of SW that is able to communicate with a particular type of device that is attached to a computer. In case of a USB webcam, the responsible driver is UVC ...
2
votes
1answer
317 views

Missing /dev/ram0 /dev/ram1 and /proc/kcore

I have been experimenting with etckeeper to store different snapshots of /etc in a git repo. I have cloned a working /etc in /etc-1 of a clean VPS and I have restored metadata with etckeeper, the I ...
1
vote
1answer
1k views

get driver for dell wireless card

iam using laptop dell inspiron 15R 5537 ... using dell wireless card 1705 ... and wireless is not defined on any linux distro i tried (ubuntu , debian , elemetary OS luna , gentoo ) :( i searched ...
1
vote
1answer
179 views

crontab is giving only 2045 lines of output instead of 6000 lines

I am executing one shell script with crontab which has to give more than 6000 lines output only it is giving output up to 2045 lines then coming out. when I run that shell script it is working fine ...
2
votes
0answers
365 views

How can i determine the block size of an vxfs filesystem?

I am looking for a way to see what the current blocksize of an filesystem is. Normaly i would use tune2fs -l | grep "Block size", but that doesn't work on vxfs. I googled a bit and found fstyp -v ...
2
votes
1answer
465 views

How to add new gcc compiler to my Linux mint OS

I want to add new gcc cross compiler to my Linux mint. I need this compiler to compile codes that should run on a Khepera III Robot. I have searched a round but I didn't find any clear answer to my ...
3
votes
1answer
318 views

What's the “OBEY” Tux logo all about?

There's a variant on the Tux logo I keep seeing; recognizably Tux's head sat above a red "OBEY" text. Examples. It's striking, but what the heck does it actually mean ? I've seen it mentioned as ...
2
votes
1answer
231 views

Debian 6 NDISwrapper doesn't install correctly

I'm using Debian 6. I've been trying to set up the Netgear N300 WiFi (model number WNA3100) adapter but haven't been successful. The Ndiswrapper was installed from .deb packages which I downloaded on ...
3
votes
4answers
1k views

Find which process is modifying a file [duplicate]

A specific file on our production servers is being modified at apparently random times which do not appear to correlate with any log activity. We can't figure out what program is doing it, and there ...
0
votes
1answer
111 views

Permanent Environment Variable with # linux Ubuntu

I am trying to set some environment variables permanently by editing the /etc/environment file. One of my environment variables has a "#" in it and some text after the "#". Everything after the "#" ...
5
votes
5answers
35k views

Parse XML to get node value in bash script?

I would like to know how I can get the value of a node with the following paths: config/global/resources/default_setup/connection/host config/global/resources/default_setup/connection/username ...
3
votes
3answers
6k views

What's the easiest way of installing JRE on Debian?

What is the easiest way of installing JRE on my Debian OS (Linux)?
0
votes
4answers
144 views

Grep files excluding few files names

I have a folder who have files names according to date for one month i.e. AP_20140101.gz, AP_20140102.gz, ... for each day. Here 2014 is year, 01 is month and 01 is date (AP_YYYYMMDD.gz is general ...
18
votes
1answer
9k views

What is maximum RAM supportable by Linux?

What is the maximum supportable RAM by Linux? Assume that hardware is/supports 64-bit. Among all Linux distros. Does it go up to 16 exabytes, or is it limited like with Windows which I believe is 192 ...
2
votes
1answer
18k views

Running linux script on remote linux system using putty [closed]

I would like to copy certain logs from a remote linux system to the windows system. I'm trying to make a batch file, that will connect to the linux system using putty like: putty.exe -ssh ...
2
votes
2answers
233 views

How to get directories and and subdirectories count fastest way?

I want to get the number of directories and sub directories.I tried following command which takes very long time . I tried waiting about an hour to finish the command. commands I used $ find . -type ...
1
vote
1answer
2k views

usbhid can't find input interrupt endpoint

I have Scientific Linux 6.5 installed. From the beginning (on this computer) I constantly see this line jump in between all starting commands during the start up of the system (when I press esc to see ...
11
votes
2answers
2k views

Find out exact installation time of CentOS

I installed CentOS on my laptop about 8 month ago, and I want to know when exactly I installed it , how can I do that in CentOS 6.4 ?
12
votes
3answers
16k views

Linux, disable /dev/fd0 (floppy)

Is it possible to make Linux kernel completely ignore the floppy disk controller? I do not have the drive but obviously my motherboard does contain the controller. I would like to disable the /dev/fd0 ...
-1
votes
1answer
52 views

growing up with linux scripting and online resource to learn it [closed]

Is learning Linux shell scripting good for developing own career?I use linux and very much interested in scripting. Where should I start from?
3
votes
2answers
3k views

Bridge not working

We want to create bridge (mybridge) on our board over eth0 and eth1 interface. The board runs Linux 2.6.34.9. Following are the commands: brctl addbr mybridge ifconfig eth1 0.0.0.0 ifconfig eth0 ...
0
votes
1answer
97 views

Is it a bad idea to keep scripts in /root? [closed]

Is it a bad idea to keep scripts in /root? Simple bash scripts that have the following permissions: -rw-r--r-- They execute fine when ran as root, but is this bad practice? It's a multi-user system, ...
3
votes
2answers
1k views

Why does `xdg-mime query filetype …` fail to find a new added file type?

I installed a new file type to share MIME database. But xdg-mime query filetype cannot tell the new type. This problem only happens on my own Linux OS which does not use GNOME or KDE as its desktop. ...
1
vote
4answers
95 views

targeting a specific block with e2fsck to shorten wait

Recently had a LVM'd CentOS 6.5 install get accidentally cold-shutdown. On bootup, it says that the home partition need fscking: /dev/mapper/vg_myserver-lv_home: Block bitmap for group 3072 is not ...
3
votes
2answers
3k views

Something like YaST for non SUSE distros

I am currently using openSUSE 13.1 KDE. The big reason why I like openSUSE is YaST. YaST does so much and makes many parts of life easier. YaST not only graphically allows me to add/remove/manage ...
2
votes
1answer
53 views

can't change user

I setup vsftp with my ftp users' home directory at /var/www but I realized, it wouldn't let em login by ftp, I tried to connect to 127.0.0.1. So then i wanted to "try out" my ftp user on the shell but ...
0
votes
1answer
430 views

How do I delete a unfortunately named folder? [duplicate]

In an unfortunate series of events, I happened to create a folder named --bindir=. Thing is, I cannot cd to him because when I try to cd I get this message: bash: cd: --: invalid option cd: usage: cd ...
1
vote
1answer
1k views

How to use 32 bit compiled shared object (.so) file on 64 bit RHEL?

I have a shared object file libfault.so for my 32 bit compiled application on RHEL 6.4. I want to preload this file while starting my application. I have placed it in /usr/local/lib/ directory. But ...
1
vote
1answer
326 views

Recovering truncated file

I'm in a peculiar situation. While editing a Perl program I accidentally truncated the file to zero length (using an Emacs lisp code I was developing). I need to recover that program... How do I that ...
31
votes
5answers
34k views

How to reconnect a logically disconnected USB device?

It is possible for a USB storage device to become logically disconnected: the device is still plugged in, but is invisible from the operating system (e.g. it's not listed under /proc/bus/usb). Maybe ...
7
votes
2answers
366 views

Kill a process if it goes quiet for a certain amount of time

I have a utility that has a nasty habit of going quiet and staying there, I already know how long into the process it does this so I am using timeout to fight this, but sometimes it does it before ...
3
votes
2answers
258 views

Pipe / direct image / video output to foreign server

I am working on a Project that involves taking the output from a Webcam which is in either jpg or h.264 format, and outputting it to a foreign server (HTTP / FTP would work, I am open minded). What is ...
8
votes
2answers
34k views

Convert Amazon .pem key to Putty .ppk key Linux

I have generated and downloaded a private .pem key from AWS. However, to use Putty in order to connect to the virtual machine, I must have that key in .ppk format. The process of conversion is ...
3
votes
1answer
2k views

Optimised ZFS in low RAM environment feasibility?

I am currently setting up a file server and have come to the point of actually setting up the data drives. The system has 4 drives (one OS disk, 3 data disks). The OS disk is formatted as ext4 and ...
2
votes
2answers
847 views

Upgrading software in linux

I have a program called zlib I need to upgrade. As I've never downloaded it before I suspect it comes with Ubuntu. Normally I'd just download and compile it, but a different tool (vcftools) is going ...
1
vote
0answers
377 views

I can't get any internet connection on Crunchbang, how can I download and manually install the drivers?

I recently installed crunchbang on my Lenovo G505 Laptop, it uses broadcom drivers and I can't get any type of connection. I have tried connecting it with an ethernet cable every way that I could and ...
3
votes
2answers
204 views

Remote executing Magic Sys Rq

Is it possible to execute Magic SysRq keys on remote machine, using SSH? For example I'm trying to run like this: xdotool key Alt+Sys_Req+H But I do not see any help in console, also in ...
-2
votes
1answer
3k views

What is the difference between egrep, fgrep, find and grep commands? [duplicate]

i am new to linux console, however i know i can use grep to find files however i am wondering what the particular difference between these common commands ? They all seems to be equal in meaning to ...
3
votes
1answer
1k views

rsyslog using short hostname

I'm using CentOS 6.5 and rsyslogd: Name : rsyslog Arch : x86_64 Version : 5.8.10 Release : 8.el6 In rsyslog.d's conf file I have: $PreserveFQDN on and ...
4
votes
1answer
192 views

How to set a directory's permissions for group read/execute access

I am running Arch and have just install XAMPP. I have change changed my document root to /srv which is a separate EXT4 partition. I have set the Apache HTTP server to use a group called "http". I have ...
2
votes
0answers
255 views

How to use systemd hybrid-sleep instead of suspend under GNOME in Linux? [closed]

How can I make GNOME 3 use systemd hybrid-sleep instead of suspend, when closing the lid or using suspend from the menu?
2
votes
1answer
228 views

zone delegation in Bind

I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently. Is there a way ...
1
vote
2answers
88 views

Slight change to command to compile C++ program causes error

This morning , I was trying to compile a C++ program using the following command on the command line g++ -o foo.cpp foo I spend about an hour trying t to resolve why I kept getting undefined ...
1
vote
1answer
108 views

Routing an Email from my server

I am a C# programmer and doing an internship as a programmer, where i have to work with linux, which I've never done before. I have installed and configured postfix successfully on a Linux server ...
1
vote
0answers
471 views

Linux mail, attachement with uuencode works until I add headers

I have a command I have been using to send emails with an attachment and a message body (cat msg_file.txt; uuencode file.csv file.csv) | mail -s "subject" user@mail.com as soon as I add the -a ...