Linux refers to the family of Unix-like computer 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
1answer
2k views

Does FTP have Auth SSL option?

I am working with a supplier who's just tightened their security. They moved from an anonymous FTP setup to a more secure alternative. The parameters they gave me Host: blahblah.net Port: 4421 Path: ...
1
vote
0answers
2k views

Embeded Linux device fails to get DHCP

I'm trying to get an embedded Linux device to use DHCP to get it's IP. I think it is trying, this is from the boot output: Configuring network interfaces: cat: can't open '/var/run/udhcpc.eth0.pid': ...
4
votes
2answers
10k views

How I can check what takes disk space in /tmp?

I am working on external server - just doing some web-api there. Today when I wanted to use api php returned following error: Unknown: write failed: No space left on device (28) So I figured out ...
1
vote
0answers
192 views

Error In centos6 while compiling java classes,in tomcat6

I am newbie to Linux and Centos6. I bought server just now and want to deploy my web app in it. I am getting error while I am compiling my servlet classes. It showing me bash: javac: command not found ...
0
votes
1answer
2k views

Ascii-art graphs in Linux

I have a text file that represents the runtime of a specific script, with each line representing one run: 141 124 156 204 498 512 444 374 189 120 143 132 One can see that the section that I pointed ...
24
votes
4answers
1k views

Why is it possible to change the password of an admin user on linux?

A few days ago, a friend of mine, wanted to show me that he can use my linux even if I don't tell him my password. He entered in GRUB, selected the recovery mode option. My first problem is that he ...
4
votes
2answers
1k views

How can I automatically remove files after they've been archived?

How do i archive and remove excess files example. cd ~/Desktop && tar -cvf sitepack.tar ./ this will give me ls Riva_Starr_Feat._Noze_I_Was_Drunk_Official_Video_HD_.mp3 ...
1
vote
2answers
354 views

OpenSSH does not accept public key?

I've been trying to solve this for a while, but I'm admittedly quite stumped. I just started up a new server and was setting up OpenSSH to use key-based SSH logins, but I've run into quite a dilemma. ...
7
votes
3answers
201 views

How to set up a wireless server, allowing access to files on computer, without offering Internet?

I would like to pull into a truck stop and offer a folder of free documentaries, broadcasting from my bus. I have a bunch of videos in a web folder and can access it locally and would like others to ...
0
votes
1answer
462 views

How to rename files in a folder using the ls command output as a pipe ?

I am using GNU/Linux and BASH shell, What i wanted to do is in server is to i need to be able to download the files stating with B* and D* and then rename them to ~B* and ~D*(same file name just ~ ...
4
votes
1answer
3k views

Is there a shortcut for unix `cp` to copy a file to the current directory with the same filename?

I'm hoping there's a shorter way of copying a file from a given directory to the current working directory than typing cp /path/to/file.txt file.txt I tend to use this command a lot, and reiterating ...
0
votes
2answers
805 views

Debian: All commands gone as root user.

So today I logged on to my root server and the first thing that greets me is: -bash: id: command not found -bash: [: : integer expression expected I switched to root and tried to run nano, no ...
1
vote
4answers
96 views

Updating Applications in Linux

I'm trying to upgrade Sublime Text editor in Mint 10 Linux, but they only have the tar.bz2 file available for download. Is there an easier way? I'm new to Linux, but I know you can install some ...
-1
votes
1answer
80 views

Using nawk, how to print the first names for all those in the 916 area code? [duplicate]

Possible Duplicate: Using nawk, how to print all first names containing four characters? Using nawk, how to print the first names for all those in the 916 area code? I've tried nawk ‘$3 ~ ...
0
votes
1answer
401 views

Can I install both nVIDIA and AMD video cards for use with different OSes?

This is different than most of the other multiple-GPU questions I've seen. I am building a system that will be a gaming/rendering machine (Win7) and a programming/work machine (Ubuntu). I've always ...
-3
votes
1answer
98 views

Using nawk, how to print all first names containing four characters?

Using nawk, how to print all first names containing four characters? I tried nawk ‘/^[[:alpha:]]{4}/{print $1}’ inputfile but didn't work Mike Harrington:(510) 548-1278:250:100:175 Christian ...
1
vote
1answer
2k views

Using secure proxies with Google Chrome

Whenever I use a secure proxy with Google Chrome I get ERR_PROXY_CERTIFICATE_INVALID, I tried a lot of different scenarios and versions. The certificate I'm using a self-signed certificate: openssl ...
0
votes
1answer
265 views

Reverse SSH Tunnel Connection

If I issue a command to set up a reverse shell: grebwerd@bt:~$ ssh goldberd@whatever -R 10000:localhost:22. I was wondering, when I issue this command, it connects me to grebwerd@whatever, what ...
0
votes
1answer
715 views

Linux terminal colour highlighting?

I'm wondering if it's possible to apply a customised highlighting scheme to linux terminal output, outside of the application that's generating the output. (Therefore, piping the output to some kind ...
5
votes
2answers
941 views

Ways to remotely reboot a Linux system

I had a remote server running Debian Sarge that experienced some HDD failure and I meant to reboot it hoping that fsck could repair the errors automatically. I eventually drove out there and replaced ...
2
votes
3answers
325 views

Does permission 777 allow scripts outside your server to write on it?

Let's say example1.com is located in US, and example2.com is located in EU. example1.com/folder/ has 777 permission. Will a script in example2.com be able to write on example1.com/folder/? Or is ...
2
votes
1answer
4k views

Sharing a serial port between two processes

As it is not possible to directly share a serial port between two processes using Linux, I am looking for another way to achieve this, I have heard about socat but could not find a concrete example of ...
8
votes
2answers
2k views

How can I mount dd image of a partition?

I created a dd image of a partition (containing an HFS+ FS) of one of my disks (and not the entire disk) a few days ago using the following command - dd conv=sync,noerror bs=8k if=/dev/sdc2 ...
0
votes
1answer
168 views

Multiple interface issue

We have an externally-accessible subnet on which all our desktops and a few servers sit. Due to a lack of IPs, we put the servers (which don't need to be externally accessible) on a private subnet and ...
2
votes
1answer
4k views

Convert a colored PDF into a white/black

On Debian Sid, I have a PDF with a blue background and yellow font. I've searched a lot on Super User but i haven't found anything useful for me. I have tried to convert the PDF into a grayscale one ...
2
votes
1answer
111 views

How to map Control to Escape on “lone” press under Linux?

Is is possible to map Control key to Escape when pressed alone, but to act normally if pressed with other key? According to Steve Losh post, on Mac you can do this using KR4MB, but how about Linux?
1
vote
2answers
422 views

Nested Redirection in BASH

I have a scenario where I want to filter log files. To do this I am wanting to follow the last 10 lines or so of a log file and as new lines are read in, pipe them through an awk program and then ...
2
votes
1answer
13k views

What is the meaning of “spawn” linux shell commands ? (Centos6)

I need to know how to setup a cron job that automatically connects to the remote server and change the directory and get all the files in that directory to local i think i have to use sftp but i saw ...
0
votes
1answer
381 views

What is a child process?

I have an error in my error logs that I am trying to figure out but I don't know what to be looking for when it says Child Process. I understand that its a process done by a parent, but that's an ...
0
votes
1answer
1k views

Alias not working in Debian

I've the following alias in ~/.bashrc alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' But it still doesn't prompt me. Am I missing something?
1
vote
1answer
41 views

Fedora 17 application dowload

I'm normally a mac user when it comes to desktop and have some experience with Ubuntu desktop as well. For my spare pc I decided to try out beautiful Fedora and I'm done with install and updates. I ...
0
votes
0answers
22 views

Export audio track from AVI with two channels with VLC [duplicate]

Possible Duplicate: Remove Audio stream from XVID files I have an AVI file with two different audio tracks (English and Hungarian). I want convert this AVI file to another which has only ...
1
vote
3answers
3k views

Run shell script on Linux box from a shortcut/app in Android?

I have an Ubuntu box which runs XBMC, which crashes occasionally. Since I have no keyboard connected,I have to SSH in, kill xinit, then restart it. I was wondering if there's an elegant way of doing ...
1
vote
2answers
2k views

Already uninstalled apache2 in Debian but it's still there?

I performed the following command apt-get remove apache2 but when I type service --status-all apache2 is still up in the list. How can you completely uninstall apache2?
2
votes
0answers
103 views

graphic error on console

I have Linux on an embedded system. There is no graphic system, but I still have graphic errors. For example, if I type: ifconfig eth2 hw ether 00:0e:8c:d0:59:d2 I see: ifconfig eth2 hw ...
1
vote
2answers
3k views

sftp chmod recursive

I have logged into a server via sftp via terminal. When I run the command chmod -R 755 ./* I get the error You must supply a numeric argument to the chmod command.. How do I apply a recursive ...
0
votes
1answer
297 views

How to locally connect to a linux guest through SSH

I have a local linux guest machine. On that guest I configured a static network configuration that fits a particular network. But Sometimes I'm not on that network or even I have no network ...
3
votes
1answer
944 views

User defined mapping hostname-to-address without root privileges

Is it possible to define a mapping hostname to IP address in Linux without root access (ie modify /etc/hosts) nor a DNS server ?
0
votes
2answers
4k views

Is there any way to check which baud rates are supported on a serial device?

Is there any way to check which baud rates are supported for a serial device on Linux? I've poked around the /sys/class/tty/ttyS0 directory, but I can't see anything in there that lists this type of ...
1
vote
1answer
101 views

How to monitor and save every email from a POP mail account?

There is a POP (hotmail) account that I have to watch and save every email as soon as they arrive. I could do this by checking them every 5 minutes and downloading them. But what application can do ...
4
votes
2answers
664 views

Does Wubi virtually run Ubuntu?

I would like to install Ubuntu Linux next to my primary Windows 7 OS. I found Wubi which helps you with a simple installation/uninstallation procedure for Ubuntu. But the wiki says that Wubi uses ...
1
vote
1answer
314 views

How to combine 2 or more live CDs into 1 multiboot DVD/USB

Just Curious, is there a tool or anything that helps in combining different Live CDs to make a master multiboot DVD, which later gives an option to boot on any of them, on choice? Live CDs such as ...
1
vote
2answers
3k views

Running Linux commands in the background: ampersand (&) or screen

Running an app in the background can be done by adding ampersand (" &") at the end of the app or via screen (by opening a screen session) if the app needs input now and then. Is there any other ...
0
votes
1answer
237 views

Decrease CPU usage or give priority

I have a i3 2nd gen system with nvidia 1GB graphics card and running ubuntu . The cpu usage becomes 99% when i run a 3D simulator and other OpenGL 2D application and i acquire the mouse movement data ...
1
vote
2answers
1k views

How to extract e-mail or domain from mixed data file in linux

File content: 17541 From Email subscription@test.com Inbound Policy Manager Envelope Analysis Profiler 17541 From Email subscription@yahoo.com Inbound Policy Manager ...
2
votes
1answer
1k views

Why doesn't ln -s prompt that it fails when creating a symlink to an existing symlinked directory? [closed]

When running (on linux different ubuntu variations): >ln -s dir_1 symlink_dir >ln -s dir_2 symlink_dir It fails without telling that it fails. But if you do the same thing on a file instead ...
5
votes
5answers
4k views

What is the fastest way to move a million images from one directory to another?

I have a million images totally 30gb of disk space that need to move from one local directory to another local directory. What will be the most efficient way? mv? cp? rsync? Something else? ...
2
votes
1answer
2k views

Block IPv6 Traffic using iptables on Linux using Layer 2 info

I have setup a simple isolated network consist of following Linux based machines: Node1<---->Router<---->Node2 Router's eth0 is connected with Node1's eth0. Router's eth1 is connected with ...
0
votes
1answer
76 views

Making a computer with a single storage-device and bad supply of power more reliable [closed]

If you were willing to sacrifice the effective performance and capacity of a storage-device, can you get extra reliability somehow? All help appreciated. Edit: I found this wikilink: ...
0
votes
2answers
325 views

Better way to quad+ boot operating systems?

I currently have Windows 7, Ubuntu 12.04, Fedora 17, and open SUSE installed. I currently use BURG boot loader to load up all the systems. However, BURG does not work with windows(I still manage) ...