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

0
votes
2answers
1k views

Send email about status of cron job completion

I have some scripts that do usual stuff like backing up MySql database, gz, tar some files and put them on FTP or sync with some other backup/mirror system. Some scripts are running quite frequently ...
27
votes
2answers
17k views

How do I search for a word or a phrase in the Linux 'man' command and cycle through the found solutions?

When looking for a certain word or phrase in the man page of Linux command, one can type '/' followed by the word or phrase to search for it. What I'd like to be able to do is to search for the next ...
5
votes
1answer
4k views

How to do a hexdump of first track of HDD?

How would i do a hexdump in Ubuntu for the first track of a HDD? I am looking for a winhex-esque output if that makes sense. The first track has 63 sectors, each 512 bytes long. I tried dd ...
6
votes
5answers
30k views

Does Office 365 work properly on Ubuntu & Chrome OS?

And so maybe I can finally get rid of Windows in our office.
4
votes
2answers
3k views

How can I turn off anti-aliasing for xterm / rxvt-unicode?

My system (Debian squeeze) uses anti-aliasing for fonts, which is fine for the most part. However, I would like to disable it for terminal fonts in xterm and urxvt (rxvt-unicode), and can't get that ...
1
vote
2answers
7k views

Getting error when running startx in Linux

When I am trying to run the Xserver using the command startx I am getting the below mentioned error xauth: creating new authority file /oracle/oracle10g/.serverauth.22555 Fatal server error: PAM ...
1
vote
1answer
557 views

List of binary compatible Linux derivates

I'm looking for an overview of binary compatible linux derivates to enterprise Linux versions. A usable definition of this compatibility is given on Wikipedia. I already know candidates for this: ...
14
votes
4answers
10k views

free linux command line tool to convert SVG to PDF and/or some commonly-used bitmap format?

Is there a free linux command line tool to convert SVG to PDF and/or some commonly-used bitmap format (for example PNG)?
77
votes
9answers
222k views

What is the Linux command to find out hardware info?

I need to find out hardware information for the below items under Linux: CPU (and cores) CPU speed Memory Hard disks OS version Any advice?
-2
votes
3answers
761 views

Accidentally moved Desktop folder ingo /usr/local/bin

I ran mv -n /desktop /user/local/bin and as a result everything on my desktop is gone. I tried the opposite mv -n /user/local/bin /desktop in the hopes of undoing it but now only one of those ...
1
vote
2answers
816 views

Local cache for apt packages

I have a desktop and laptop at home, both running the same flavour of Debian Testing. How can I configure apt on the laptop so that it first tries to download the packages from the desktop before ...
0
votes
1answer
412 views

SELinux allow http requests on Fedora 14

I have a Fedora 14 instance on Amazon EC2 and I want to make an http request from that instance to another one in the same amazon security group. When I use wget to make the request it works fine. ...
24
votes
4answers
30k views

How can I view more of my history in Screen on Linux?

I was running scripts overnight from the command line (inside Screen on a Linux EC2 instance) and some errors that I was not tracking occurred. I want to "scroll up" or view more of the history in ...
16
votes
7answers
8k views

Replace Symbolic Links with Files

Is there an easy way to replace all symbolic links with the file they link to?
1
vote
5answers
692 views

navigate with bash

I'm very new to working with the terminal on my macbook pro and am trying to understand how to navigate into certain directories with it. I can't seem to get out of my username directory. I'm trying ...
2
votes
2answers
474 views

How to get linux to stop asking “There are # rows, list them anyway? [n/y]” for auto-completing

How do I get tcsh to stop asking if I want to list files in a directory that may have a lot of auto-completes? For example, if I do: xemacs ../"TAB" to get the list of files it asks: There are ...
4
votes
2answers
4k views

Forwarding Specific Ports through SSH Reverse Tunnels

So unfortunately I live in a place that will not let me have a static IP, so I have been setting up access to my home computer via reverse SSH tunnels that run on an micro amazon ec2 instance. I have ...
3
votes
2answers
3k views

emerge complains about blocked packages: what do I do?

We have an old development server running Gentoo at work. I would like to update this system, but I keep running into problems with the packaging system. To me, it seems like there are dependencies on ...
2
votes
1answer
539 views

Is UDF an ok substitute for ext3?

I'm thinking of doing the UDF thing to share files between windows and linux. Is UDF a viable option for /home Is UDF a viable option for / Can windows XP correctly read sparse files I created in ...
1
vote
1answer
595 views

KDE4 - possible to mount flash disks etc. on the desktop like in KDE3?

my grandfather uses a linux machine for web browsing, emails etc. So he mostly uses Firefox, Thunderbird and sometimes also Skype and now he has also Jabber account. Currently there is Pclinuxos 2009 ...
1
vote
2answers
1k views

Transfer files from remote to local machine using SSH

I have a Ubuntu server hosted on Amazon EC2. I need to create an automated backup scheme so I created another Ubuntu instance on my local network which is hosted in a virtual environment. I managed ...
14
votes
2answers
16k views

How to check if a Socks5 proxy works

Is there an easy way, preferably by using the Linux terminal, to check if a Socks5 proxy works?
0
votes
2answers
134 views

File command output is different for same file on diff machine

I get different output of file command on same file(checked inode) from different machines. One of the machines is with suse10 sp3 and the another - rhel4. machine1>file x.tcl x.tcl: ASCII ...
3
votes
3answers
5k views

What software can I use to create an animated infographic? [closed]

I'd like to create an animated infographic in the style of this one: http://www.youtube.com/watch?v=OgD0TY1Fe0E ... using Ubuntu Linux (10.10 Maverick). One approach I considered was to create an ...
1
vote
1answer
772 views

Atheros card not functioning well under WPA2

I've got a Toshiba Satellite L25-S199, and it includes an Atheros wireless NIC based on the AR2413 chipset, I believe. Currently I'm running OpenSUSE 11.4 on it, but I've previously had Xubuntu and ...
1
vote
2answers
1k views

Accessing Netatalk/AFP Shares from OS X Snow Leopard

Recently upgraded Ubuntu home server from 8.04 client to 10.04 server and reinstalled all services therein. One of them is a Netatalk daemon that I configured in a fashion similar to this website: ...
42
votes
2answers
39k views

How do file permissions apply to symlinks?

Let's say you have this structure: + directory -- file1 -- file2 -- file3 -> /tmp/file3 file3 is a link to another file3 somewhere else on the system. Now let's say I chmod 777 the directory ...
2
votes
1answer
284 views

Splitting output to two terminals

How can I split an output of a command to two terminals? one will get stdout and the other will get stderr. The best I could do is: On first terminal: bash command args 2> errors and on second ...
1
vote
1answer
9k views

Create link to executable in parent directory (..)

Create the following directories: parent/child Navigate to child and create a file named child (this is an executable file in my case, not sure if that makes a difference). I need to create two ...
0
votes
3answers
729 views

Fedora file permissions not taking effect

I have a directory /models/ with the permissions drw-rw-rw- 2 owner developers 4096 Jun 24 15:13 models these were set with sudo chmod -R 0666 * My user has developers as the primary group (the ...
0
votes
1answer
653 views

Static build ffmpeg 0.8

Is there anywhere an available static build of ffmpeg with all encoder/decoders libs for Linux (not a source tarball, but a binary) ? Although this question seems trivial, I spent the last half hour ...
0
votes
1answer
1k views

VirtualBox on Wubi Ubuntu can't start VMs due to incorrectly handling absolute paths

Maybe what I'm trying to do doesn't make sense, if so please bear with me, I am not a Unix guy at all. I mostly do .Net development in a Windows 7 virtualbox. I use the host for simple things such as ...
0
votes
1answer
739 views

Black VNC screen, works w/ other guest VM

I have two instances of OpenSuse 11.4 installed as guests under XenServer. The first one is running KDE and the second LXDE (Lightweight X11 Desktop Environment). I can connect via TightVnc to the ...
4
votes
2answers
1k views

Is there a utility like hexdump that will handle non-native endian-ness?

Hexdump's ability to read binary data and format it appropriately so it can, for example, be piped to awk is very useful, but I regularly need to read files in which the binary data is of a different ...
0
votes
2answers
264 views

tcptraceroute showing paths of greatly varying length

I'm tracing a path to my server using tcptraceroute. The server is showing intermittent network availability. It's as if some packets get through fine, others take a long time and some never get ...
25
votes
3answers
16k views

Resume rsync over SSH after broken connection?

I have to transfer large amounts of data (>80 GB) over ssh using rsync. Everything is working fine, but the DSL connection where the backup data is sent from will drop once every 24h for up to 3 ...
2
votes
1answer
18k views

Call putty/plink to start a remote SSH linux script with user input

Seemingly simple question, which yields slightly undesired results. Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter ...
9
votes
4answers
4k views

Is (Ubuntu) Linux file copying algorithm better than Windows 7?

Windows Copying is a real mess ever since Windows Vista. Even Microsoft claims they've improved the performance, from a user perspective, it's not quite visible. Even with single file the copying ...
1
vote
1answer
421 views

Can the expect utility handle a case where the process it spawns also spawns a sub process?

I'm trying to use expect to handle rsync over an ssh shell, but it gets stuck. If I run my rsync command it works (simplified here): It prompts me for my password and copies files to the server: ...
0
votes
3answers
2k views

Gentoo+urxvt+terminus: How do I change font version?

In my Debian installation I can type extended ASCII characters such as åäö by default using the terminus font, however in Gentoo I can't get it to work so far. Nothing happens when I hit those keys, ...
1
vote
5answers
3k views

scp with range of files to be copied to, from, or between different hosts

Working fine: ==> scp my_log-bin.01393[0-9] root@192.168.103.66:/backup/ error - No such file or directory: ==> scp my_log-bin.0139[30-99] root@192.168.103.66:/backup/
4
votes
3answers
2k views

How to remove Ubuntu options when starting my computer

After I installed Ubuntu it began to update and when I start my computer I have Windows and about 5 or 6 Ubuntu options. How can I remove all of them without the last one ?
3
votes
3answers
2k views

rsync over ssh: Can the ssh password be entered at the command line?

I see that you can create an SSH key to use rsync over ssh without a password prompt. But I'm using rsync over ssh in Eclipse/ANT, where the password can be interactively entered, but then the ...
5
votes
5answers
522 views

“which” and “whereis”

On my linux box, after typing which java, I get /usr/bin/java After typing whereis java, I get java: /usr/bin/java /etc/java /usr/share/java /usr/share/man/man1/java.1.gz What are the ...
0
votes
2answers
576 views

How can I shut down xserver without root access

Is there any way to shut down the xserver on linux without root access? I tried ctrl-alt-f1. It seems there is still xserver running. Thank you.
2
votes
1answer
3k views

Use Sandy Bridges integrated graphics (or activate switchable graphics) in Ubuntu

I have a HP Pavilion dv6 with Sandy Bridges Core-i7, dual-booted Win7 and Ubuntu 11.04. It also has a 1GB ATI Radeon 6490 discrete graphics card. In windows, the ATI utility works great and can ...
0
votes
1answer
703 views

Command line solution for removing parts from a binary file?

I have a binary file and I would like to remove parts from. By removing I mean deleting those parts and thus making the file's size smaller. The parts would be between two ASCII strings. So, for ...
39
votes
8answers
230k views

How to set current time on Linux?

Why is the output of the following commands different? root@vmi2115:/var# hwclock Sun 26 Jun 2011 01:21:38 PM CEST -0.273230 seconds root@vmi2495:/var# date Sun Jun 26 15:21:39 CEST 2011 ...
6
votes
2answers
2k views

In what order are files and directories copied when using Linux cp -R?

If I execute the following command: cp -R /myfiles /mydestination If myfiles contains several sub-directories and files, in what order will they be copied? For example, directories might be named ...
5
votes
2answers
2k views

How to install regexp enabled 'rename' on fedora?

I have a batch rename task and I find the 'rename' command in Ubuntu and Fedora is different. In Ubuntu, rename is written in Perl and has regexp support. Is there anyway to install it on Fedora?