A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

-1
votes
1answer
96 views

Script to email admin in the event of an attack

I'm using a Script that would automatically do a dump of the attack as soon as it exceeds a threshold. The scripts looks like the following: interface=eth0 dumpdir=/tmp/ while /bin/true; do ...
1
vote
3answers
1k views

In linux, how to find whether CMOS battery is working or not?

I want to programatically determine whether CMOS battery is working or not. In my C++ program on linux I want to connect to internet and update system time if CMOS battery is not present or not ...
0
votes
1answer
1k views

fetchmail/postfix - bounce message if it is too big

I have an Ubuntu mail server that retrieves mails from ISP by fetchmail and delivers it through amavis and postfix. Postfix has a size limit of about 20MB. Mails larger than this are removed from ...
3
votes
2answers
124 views

Security considerations when running an SSH server

I'm trying to set up an SSH server which I can access from my home network only, not the Internet. It's running Ubuntu Linux. I've installed the ssh package, and I can start/stop the SSH server, and ...
1
vote
1answer
58 views

Re-install linux by ssh

I have remote machine with OpenSUSE, and I cant interact with it only by SSH. I want to install Debian to this machine, how can I do it? I search answers, but each of them assumes, I have physical ...
0
votes
0answers
630 views

Problems copying to VFAT formatted SD-card

I was going to copy my (mp3-encoded) music files (organized in one directory) to a (vfat-formatted) (micro-)sd-card to use it in my digital audio player (DAP) (on Linux). I used to use the same ...
0
votes
3answers
386 views

Using ext4 hard drive on Windows XP Pro machine?

Have an old laptop with Windows XP Pro and a new one with Linux Mint 13 LTS. I want to transfer my personal files from the old machine to the new one. Firstly I thought using crossover cable but I ...
0
votes
1answer
138 views

Error running Python program: Demystify error message

So I wanted to install ReText, which seems to be a rather nice Markdown and reStructuredText Editor. I tried to install it from PyPI, and running setup.py went nicely, it all installed rather nice, ...
4
votes
3answers
14k views

best practice for access permission to users for apache tomcat

I have a Linux box being shared by various developers. They want to deploy their war files in apache tomcat which in shared location (/opt/tomcat). Since they don't have sudo access, I have to change ...
1
vote
1answer
274 views

SSH bash - am I running a script?

I'm pulling my hair out on this one, but i've been looking around trying to find the answer to why my ssh connection to my vps has "[remote] 0:bash" in green color showing in my bottom terminal ...
0
votes
2answers
555 views

Moving some files from one hdd to other on ubuntu [closed]

I've bought a new hdd for my machine and installed ubuntu on it. I wanted to copy some of my files to the new hdd from the old one which was previously my primary hdd so I used fdisk -l to get the ...
1
vote
1answer
458 views

How do I install lzip/plzip?

A former developer backed up all of our files using plzip. We no longer have the server he used to compress them and have not been able to find a program to decompress these files. We have Windows 7 ...
0
votes
1answer
390 views

Align Partition Of HDD Using fdisk?

I have found how to align the partition of my SSD using fdisk (SSD article on Gentoo Wiki) but haven't been able to find any resources about aligning the partitions of a HDD. Is this practice ...
0
votes
1answer
107 views

Reset user password on reboot

Humor me for a moment because I'm aware that this is a terrible idea. I'm trying to devise a way to reset a user's password each time the computer is rebooted. So far, I've tried the following to no ...
0
votes
1answer
880 views

Unable to ping my VirtualBox VM

I've installed a VirtualBox VM from http://virtualboximages.com/CentOS+6.4+x86_64+LAMP+Server+VirualBox+VDI+Virtual+Computer. My VM has access to internet, and I can ping the host. I've set a static ...
0
votes
0answers
747 views

Diagnosing SSH Connection Issues

So we recently have done some IT restructuring for one our server networks. I am able to generally ssh to the machine, but usually within a small time frame (< 1 min) the SSH connection is dropped ...
0
votes
3answers
1k views

Changing Python version in Xubuntu

I am in the processing learning python. I was previously learning in Python. I used version 3. Today, I installed Xubuntu 13.04. I am a very new Xubuntu user. The os had two versions pre installed. ...
14
votes
4answers
16k views

Continue SSH background task/jobs when closing SSH

I have the same question as here but even beyond that. If I logout/exit the SSH connection, I need my program running in background. Before exit, I type bg and jobs to check background running task, ...
0
votes
1answer
879 views

How to create Bash script when user root logout sending email alert include history

I found the following command: history | tail -20 | mail -s "log `hostname` pada `date`" mailid[at]corporate.com I want to combine it with an automatic logout script: The system should send an ...
0
votes
1answer
58 views

How can I remove Linux from my system?

My system contains both Windows XP and Linux 2.6 31-14 generic. I want to install a new version of Linux, but it is only possible after removing the older version. What are the steps to do it? It ...
8
votes
4answers
5k views

Finding IP or hostname of origin machine (ssh)

I connect to a number of machines constantly, from different physical locations (and thus different physical machines). Most of this is done though ssh, sometimes a gateway machine or two is required ...
0
votes
2answers
8k views

Diagnose internet connection issues using command line

I'm having multiple issues trying to get CentOS to download anything. I can't get yum to work because there is a time out when trying to access a file. Anyways, is there a way to trace why a command ...
0
votes
2answers
205 views

Use the result of 'whoami' as part of an alias

I am setting up my default .bashrc on my Ubuntu machine that I will soon be adding more and more users to. One command that users will have access to is mysql, logging them into the SQL system on the ...
0
votes
2answers
787 views

rEFInd didn't detect the proper Linux distro and therefore doesn't show the right icon, how do I change that?

I'm currently triple-booting Mac Windows and Ubuntu on my computer, and according to the rEFInd website, the software should be able to automatically detect Linux distros and show the correct icon... ...
0
votes
1answer
684 views

M.A.M.E. roms on Raspberry Pi

I'm a quite recent user of the Raspberry Pi and I'd like to turn it into a retro arcade machine just like I've seen on internet. I've downloaded MAME4ALL from the PiStore as well as a package of roms. ...
1
vote
1answer
614 views

How do I copy files with curly brace expansion in the path?

I have a file that is the same name (different data) and is located in multiple directories. An example: /path/to/this/dir1/data.csv /path/to/this/dir2/data.csv /path/to/this/dir3/data.csv ...
0
votes
1answer
214 views

Linux redirect to login shell after login action

I am using CentOS 6.4 operating system and everything was good until power-system crash :/ After successfully reboot I am normally asking for login/pass and after login shell redirects me to login ...
0
votes
1answer
127 views

Are SSH remote connection passwords encrypted?

When I try to connect to my SSH remotely, will the password I send to authenticate my user account be encrypted when it's transferred over the internet?
0
votes
0answers
401 views

Installing Windows 8 from USB gives a black screen and blinking cursor [duplicate]

I am trying to install Windows 8 from a flash drive on my laptop which is currently running Linux Mint 15. I am able to select the flash drive as the boot option in the BIOS but when I boot to it I am ...
5
votes
5answers
814 views

What File System to Use for 64gb Thumbdrive in Linux

I have a 64 GB thumbdrive that I would like to use on a CentOS 5.4 Linux machine that does not seem to support NTFS. What file system should I format it as? I want to be able to use this thumbdrive in ...
0
votes
3answers
2k views

How to make directory writable to myself in Linux?

I have directory drwxr-xr-x 20 root root 4096 Aug 11 17:05 webapps now I want to allow myself (dims) to write to this directory. bash-3.2$ groups dims dims : web2 users How to accomplish this? ...
3
votes
1answer
4k views

Preferred place to store configuration files that change often

I have a number of applications on my Linux server that depend on a few configuration files. These applications are related but separate. For what it's worth, at the moment each application has it's ...
0
votes
1answer
112 views

How to prevent user from viewing the content of a folder on fedora 14?

assuming there is only one user account on the OS, it does not belong to the root group is there any command line which i could enter at the terminal (by su to become root) to restrict viewing of the ...
0
votes
1answer
187 views

Distinguishing between multiple webcams in Linux?

I have two webcams connected to my machine, running Linux Mint. jacoby@oz:~$ ls /dev/video* /dev/video0 /dev/video1 jacoby@oz:~$ lsusb ... Bus 001 Device 003: ID 046d:08ce Logitech, Inc. QuickCam ...
0
votes
2answers
98 views

Is it possible to find which ip is going to a website? [closed]

We have someone that keeps trying to connect to our email host and after a few attempts of trying to log in (incorrectly) we are then blocked. We then have to call and unblock. Less then having ...
0
votes
3answers
706 views

run centos 5 from a usb stick to test a program

I have a very specific issue, I wanted to run a C - program on Cent OS 5, but i dont really use cent os for much work. I was wondering if I can have a 'live' version on a pendrive and test the C ...
1
vote
1answer
169 views

Can a consumer-level (i.e. cheap) UPS trigger a custom script on power failure on Linux?

I am essentially trying to build is a poor mans server failover solution. The non-profit organization I am part of is planning to host several web applications. In order to save on hosting costs we ...
0
votes
2answers
1k views

How does HP's “Scan to computer” feature work?

Many HP all-in-ones have a "Scan to computer" function where you can be standing at a network printer and scan all your gubbins straight to your computer without having to load up scanning ...
0
votes
1answer
2k views

only show running services using service --status-all and grep

If I do service --status-all I get something like this: [ ? ] webmin [ ? ] whoopsie [ + ] winbind [ - ] x11-common I want to show just the running ones ([ + ]) so I did service --status-all | ...
2
votes
2answers
640 views

Remote sharing of a terminal

At work, I fire-up a terminal and start executing some huge process(which may take couple of hours to complete) and leave office. When I reach home, I want to check what is happening to the ...
2
votes
0answers
1k views

gpg-agent fails with “command get_passphrase failed: End of file” on pinentry

I'm trying to use Enigmail with Thunderbird on Linux. GPG itself is set up, keys imported and I already can use the key management functions (including signing of keys) from kgpg. But Mail encryption ...
0
votes
1answer
1k views

Linux kernel source not found

I downloaded the source code of a driver (tun 1.1) and i was planning to installing when i obtained the following error: root@sergiosaturn-HP-Pavilion-dv6500-Notebook-PC:~/Documentos/Tese/tun-1.1# ...
0
votes
0answers
845 views

Linux Print Using Command acroread Layout Incorrect

At the moment we are using the command cat file.pdf | acroread -toPostScript -shrink -rotateAndCenter | lp -s -dprintername to print PDF files to a network printer. This is in a Linux (RedHat) machine ...
-4
votes
4answers
9k views

Linux-based “Darwin OS” as possible Hackintosh alternative? [closed]

I stumbled across a website on the internet for an Operating System named "Darwin OS". I know that Darwin was an open source project made by Apple and is still included in modern day OS X operating ...
1
vote
1answer
187 views

Where are the open ports ? Am I getting an incomplete list?

As I enter the netstat command in the terminal, I get the following list. Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State ...
1
vote
2answers
22k views

Reaver used to work so fluently, im getting FAILED TO ASSOCIATE.?

I am running debian the latest with amd64 on a dell inspiron 1564 with a Broadcom pci adapter BCM4312 part of the B43xx family. im also running the latest version of reaver now I know this adapter I ...
56
votes
2answers
31k views

Why is “/dev/rdisk” about 20 times faster than “/dev/disk” in Mac OS X

According to the rasbery pi documentation, You can load your OS to a flash card with either /dev/disk or /dev/rdisk. rdisk stands for raw disk. /dev/disk is a block level device, why would rdisk ...
1
vote
1answer
294 views

Battery sort of died after a power outage

So today the power went out and my laptop did a strange popping sound and turned off even though it had like 50% battery (it was plugged in at the time though). This has never happened before, it'll ...
0
votes
2answers
246 views

Writing a single line command that interprets conditional output from pdbedit

I would like to run a command on a single line that will tell me if the flag is set for a user's password to be changed on next login. This command will interpret the output and return a true/false. ...
0
votes
2answers
993 views

Linux terminal emulator with terminal autocomplete? [closed]

I've moved from OSX back to Linux and am mostly happy. One of the main things I miss is iTerm2, especially its terminal based autocompletion feature (tmux integration would also be nice). I've looked ...