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

27
votes
9answers
23k views

Linux: Getting date & time of system startup

I know that uptime prints the time a machine has been up and running, but is there an easier (reliable) way to get the date of the start up than counting down from this output? I tried looking around ...
3
votes
3answers
1k views

Where does Bash's “not found” message come from?

If I type an invalid command in Bash, I get: $ asdf asdf: not found I've been led to believe the "not found" message comes from a fallback executable that Bash calls when it can't find the command ...
1
vote
1answer
78 views

Properly extracting archives with Mac metadata

Someone has sent me a zip file containing some fonts. I extracted it using unzip under Linux, and there are empty files in the top level of the archive, and some files similarly named but beginning ...
1
vote
1answer
620 views

How can I show “space” as “-” or other marks in gEdit?

How can I show "space" as "-" or other marks in gEdit?
2
votes
2answers
921 views

Keep a layout of terminals

Is there a way to "save" a layout of terminals on Ubuntu? Let's say I have 4 Terminals on a workspace that I'd like to save/restore at will, how could I do this? UPDATE: create gnome-terminal ...
0
votes
1answer
92 views

mounting 2 usb drives in to 2 different locations in linux

here is my situation, I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left ...
2
votes
2answers
273 views

Crashing at random intervals, possibly from heat or voltage?

My CPU is an AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ Its rating is 55 - 63 C with a Vcore voltage of 1.35 / 1.4. My system (OpenSuse latest version) crashes often at random intervals. Recently ...
3
votes
2answers
4k views

Using localhost TCP/IP communication in a program - always safe?

I have an application which is separated to several parts (processes) communicating over TCP/IP, using a pre-defined port on localhost. Is this always safe? Can some kind of a firewall (corporate, ...
1
vote
1answer
254 views

In what order do Linux SCSI disk IDs appear?

In what order do Linux SCSI disk IDs appear? I recently found out that sometimes, hdc1 and hdd1 come without hdb1. What's the reason for this?
0
votes
2answers
15k views

Mounting External Hard Drive on Red Hat

I have Red Hat Enterprise Linux 6 installed on my machine. I am unable to mount an External Hard (NTFS). I have tried several options which are as under: Option 1 After making a dir /media/windows ...
0
votes
2answers
2k views

mac terminal - remove text prefixing dollar sign

Does anyone know how to remove the text prefixing the dollar sign in mac terminal? For example, Peters-MacBook-Pro:~ peter$ ls my_dir should become $ ls my_dir
2
votes
2answers
991 views

Linux Encrypted Backup solution to USB HD (Open Source)

There are a lot of backup solutions, many scripts based of rsync. The problem is not a lot of them encrypt your data before syncing it. I have a USB hard drive and I want to backup my user folder /...
7
votes
5answers
6k views

Must I sftp to an intermediate server?

I can't sftp directly into a particular host. To move a file from my home machine to the host, I must sftp a file to an intermediate host; ssh into the intermediate host; and sftp the file to the ...
0
votes
1answer
465 views

Firewalling all incoming traffic with custom rules

How do you automatically block all incoming traffic by creating custom rule for every connection (in real time) using iptables? To clarify - the situation is that my linux box is being DDOSed via ...
0
votes
3answers
564 views

Best Linux os for Dell Vostro A860 [closed]

I am using Vostro A860 with Windows XP now. I want to migrate to linux os. Please consider the below before suggesting. 1) T2390 Processor 2) 2GB Ram 3) I want to use if for webdevelopment (PHP)
3
votes
3answers
6k views

What is an XPerf alternative for Linux and Mac OS X?

XPerf is a tool that allows you to take a detailed trace of various system activity like CPU, I/O and more... Because of it's detail you can see stack trace counts, disk position offset graphs, ...
1
vote
1answer
632 views

How to install software in openSUSE 11.2

I've just started using Linux — openSUSE 11.2 — after 15 years of using Windows. From Windows, I'm used to installing any software with just a few clicks. I'm confused by Linux's .tar, ....
2
votes
4answers
15k views

yum install a particular version

I am currently using centOS 5.2 I want to install php 5.3.3. how do I install using yum?
1
vote
3answers
225 views

Virtualising Ubuntu Server Edition

I want to run Ubuntu Server Edition just at home, however to avoid having to reinstall it in the future when i upgrade hardware, I was thinking of virtualizing it first. Are there any minimalistic ...
1
vote
5answers
308 views

Is there any way to transfer for the execute file form linux to window?

I got a souce code in linux system. That's why my executeable file can be execute in linux. Since that I can makefile in linux. But I'd like to make an executeable file in Window system the same. ...
1
vote
1answer
154 views

Do each application need to support writing to /dev/stdout or /dev/fd1 or is that handled transparently by the OS?

I tried this command to print the buffer of an existing screen session to stdout but I don't know why it doesn't print anything. screen -x lftp -X hardcopy /dev/fd/1 screen -x lftp -X hardcopy /dev/...
1
vote
2answers
2k views

Software to play MP3s slowed down with pitch correction

I'm looking for software that will help me transcribe music from MP3 files. I'd like to be able to select a portion of the song, and then have the software play it back to me at a selectable slower ...
0
votes
3answers
396 views

Rogue X session bombing my CPU

Every time I boot I get the following process that is taking %99.3 of my CPU /usr/bin/X :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-EowSOU/database -nolisten tcp vt7 when I kill the pid I lose ...
1
vote
1answer
117 views

Desktop cannot restart (it will shut down) - Multiple OS's tried

I built a desktop a year or so ago, which runs like a dream. I have installed many OSes on it but the problem persists. If it tell the PC to restart it does everything right, shuts down but the PC ...
1
vote
2answers
154 views

Find out who I was before I had switched users in Linux?

$ whoami a $ su b Password: ... $ whoami b Is there a whowasi command? Some way to find out that I was user a before I had become user b?
2
votes
1answer
288 views

Slackware on Virtual Box: Where do i find /dev/hdx?

I'm trying to install Linux (Slackware) on Virtual Box using the steps provided here. After setting up virtual box and logging into pre-install as 'root', Step 17 tries to partition the disk using ...
0
votes
2answers
451 views

How do I impose restrictions to a process on Linux?

Can I limit the system resources that a process can use on Linux? I want to configure the system to avoid that some specified processes use some system resources: choose if a process is allowed to ...
2
votes
2answers
1k views

How do I configure Ubuntu to run a python (backup) script every night at midnight?

New to Ubuntu (and Linux in general) and have whipped up a quick python script to backup my files and do some other housekeeping. I don't see any service scheduling tools and was wondering what the ...
0
votes
1answer
645 views

Hauppauge HVR-950Q - Linux - Over-the-air broadcasts

I am using a Hauppauge HVR-950Q and have the device installed and setup in Linux. I cannot however watch over-the-air broadcasts. If I reboot to Windows, I can watch tv (about 15 - 20 stations). I ...
1
vote
2answers
2k views

Count exchanged bytes per TCP connection

I need to get a table updated with the exchanged bytes (Rx and/or Tx) for each ESTABLISHED TCP connection on a linux machine (well, at least, a list of connections (port ranges), thus not actually all)...
3
votes
1answer
2k views

How do i turn my wireless adapter into an access point?

I want the wireless adapter on my linux box to behave as an access point. I also want the wireless network to run over WPA2 for security. I also want it to serve out addresses to other devices which ...
0
votes
1answer
298 views

Linux X server antialising problem with wine

I am are using a windows program under linux via wine. The program runs fine with KDE. Didn't test it on gnome. Finally we wanted to start the program without KDE - something like kiosk mode, so users ...
7
votes
3answers
2k views

PDF reader for the CLI

I'm looking for a PDF reader that I can use over SSH in a terminal, and have it running in screen. Does such a thing exist? Ideally I'd like at least a less-esque pager but with some PDF formatting, ...
0
votes
2answers
276 views

CentOS 5.5 - Will not install on vmware

I get an unhandled exception when installing CentOS 5.5 64bit in vmware. In the details the tracebacks most recent calls seemingly involve python. I have uploaded an image of the exception window:
2
votes
3answers
2k views

How do I extract a RAR archive in Linux

How can we extract a .rar archive in Linux?
8
votes
6answers
31k views

how long to zero a drive with dd? [closed]

How long will it take to zero fill 1TB (using dd dev/zero)? I'm actually doing two 500G drive simultaneously if it matters.
2
votes
2answers
797 views

Linux: Make “ulimit” limits be cumulative across spawned “subprocesses”

Let's say I have program #1 launching program #2 which is launching program #3. If I call ulimit -t 10 before calling program #1, then EACH program will be alloted 10 seconds of CPU time. Could I ...
2
votes
3answers
7k views

View Chrome history in Linux

How can I view the webpages that Google Chrome returns in the history search? I'm trying to recover a deleted forum post and the only place it shows up is when you open the history tab and search for ...
1
vote
1answer
188 views

My computer has suddenly become unstable, unable to login and screen is patch green on freezes

my computer has suddenly become unstable. I run ubuntu 10.10 and the computer setup has ran well for ages. However, about 10 minuets ago that computer has become extremely unstable. I was just about ...
1
vote
3answers
4k views

Using egrep to find lines that have 5-6 Upper Case letters. (but not more than 6)

First off, this is homework and unfortunately I have to use egrep (and not with -w or anything of the like). I need my grep to return lines that have exactly 5 or 6 upper case letters. Doing ...
3
votes
3answers
4k views

“cd -” equivalent on Windows? [duplicate]

Possible Duplicate: Navigate to previous directory in windows command prompt Is there an equivalent of Linux's cd - (change to previous directory) in Windows?
0
votes
4answers
2k views

Formating the hard disk

I have installed fedora 14 xfce. However, I want to totally format the hard disk so I have no operating systems left on there. I have created a usb boot disk for installing windows. So I want to re-...
121
votes
5answers
266k views

How can I list all IPs in the connected network, through Terminal preferably?

Using Ubuntu 10.10, I was wondering if there was a command line command that can list all the IPs of devices connected to the network? I would use this for example, to list all the computers ...
1
vote
1answer
189 views

How can I set up a port forward from my client computer's shell?

I notice that my bittorrent client is capable of automatically setting up port forwards with my router, and I want to know if I can do the same in a shell script. The reason is, that since my router ...
3
votes
2answers
3k views

pinning process to a CPU

I wish to pin a process to a CPU1 in my dual CPU machine - how can I do it in Linux - any pointers ?
1
vote
3answers
2k views

“No protocol specified” error while trying to run forticlientsslvpn for the first time

I'm trying to install forticlient on fedora 14 for vpn access, and I get the following error when I run it for the first time: No protocol specified Error: Unable to initialize gtk, is DISPLAY set ...
0
votes
1answer
272 views

Gentoo: Can't mute when headphone plugged in

i can't mute when i plugged in a headphone on my laptop. But it works in Windows 7. Here comes output from lshw command: *-multimedia description: Audio device product: 82801I ...
0
votes
1answer
2k views

How to bridge a wifi connection between two computers by wifi

Pc 1 : netbook with an usb wifi antenna spotted on a free wifi hotspot Pc 2 : same model netbook that can't access internet What I need : Share the wifi connection by the 2 internal WLAN on ubuntu ...
2
votes
4answers
2k views

How to grep for a line that has the same number you both need and don't need

This isn't at all easy to explain but easy to just show. I have lines in a file such as: 100Dollars 3 IP 200Dollars 3 IP 300Dollars ...
0
votes
1answer
261 views

Removing an unknown linux printer

Linux printing appeared to be working fine up until yesterday. Today typing lpq gives the following: lpq Printer 'sdst@other.domain' - cannot open connection - Connection timed out Make sure ...