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
3k views

linux “date -s” command not working to change date on a server

date +%T --set="12:19:06" 12:19:06 date Mon Nov 26 12:37:32 SAST 2012 date 112613232012 Mon Nov 26 13:23:00 SAST 2012 date Mon Nov 26 13:42:27 SAST 2012 I have tried many different forms of this ...
3
votes
1answer
560 views

Change the default route without affecting existing TCP connections

Let's say I have two public network addresses on my server: one NAT through an ISP (192.168.99.0/24), and a VPN through a different ISP (192.168.1.0/24), already configured with a per-host route to ...
2
votes
1answer
671 views

Make shell script commands to abort after certain timeout

I have often a situation in Linux shell scripts that if a specific command takes too long to run e.g. due to a network problem the shell script should abort running this command. What best practices ...
7
votes
1answer
2k views

When spliting MP4s with ffmpeg how do I include metadata?

I have a few MP4s that i want to upload to my flickr account but they have a maximum size of 500mb as mine is only about 550 i was planing to simply split them in half then upload them, but i want to ...
17
votes
2answers
1k views

What does the trailing “+” mean in file permission bits in Linux?

I used ls -a to list a file and got the following information: sqyang@intel4-88: ls -a 123 -rwxr-xr-x+ 1 root lsf 16845584 Nov 25 21:38 123* The file permission part is -rwxr-xr-x+. What does the ...
2
votes
2answers
570 views

Why there is difference between output of linux command du and ls?

I have a file in linux machine whose size is 3404494030 upon doing "ls -l". When I do "ls -lh" it shows 3.2 GB which is correct when converted from bytes to Gigabytes. But when I do "du -h" for the ...
0
votes
2answers
4k views

How do i map a linux network drive to linux mint?

Sorry, I'm new to linux and I've been searching on how to do this but all of the tutorials I've found are for mounting windows shares. I have a number of osx shares that I want to map to linux mint so ...
2
votes
0answers
338 views

How can I turn a Mac Mini into a dedicated wireless repeater? [closed]

I have a Mac Mini (2007 model) that I'd like to turn into a dedicated Wireless Repeater. I have an additional USB Wi-Fi dongle for this. I don't have Mac OS installed on it, nor do I want to. I was ...
4
votes
4answers
1k views

Install Linux in a laptop with a broken screen?

I've got this laptop with a completely nicked display. It runs WinXP. It has an external monitor attached to it but nothing is displayed until WinXP is booting. That means I can't change any BIOS ...
1
vote
0answers
151 views

How to make SNMPv2 queries from Windows 7 to Ubuntu running on VirtualBox

I already have snmp installed on Linux and can do queries like snmpwalk, within Linux using command line. But I have no idea how to do queries from Windows to Linux via the CMD. My goal is to make a ...
-1
votes
1answer
866 views

Lubuntu on Thinkpad–Wireless [closed]

I have an old (IBM) Thinkpad T42. It was pretty much useless running XP, so I decided to install linux. I first tried Puppy Linux, but eventually settled on Lubuntu. I couldn't run 12.10 because it ...
2
votes
2answers
948 views

Can't rename a file the name of which starts with a hyphen

I'm trying to rename a file with a hyphen at the beginning of its name and both this: mv -example-file-name example-file-name and this: mv '-example-file-name' example-file-name result in: mv: ...
1
vote
0answers
27 views

Recovering data after errant copy command?

I meant to do this: cp -rp -i /cygdrive/c/folder /cygdrive/e/anotherfolder/ But I accidentally hit enter after this: cp -p -i /cygdrive/c/folder /cygdrive/e/anotherfolder/ And now the contents ...
7
votes
1answer
1k views

In Linux, how do I correctly configure display geometry with multiple monitors on multiple GPUs (Intel and nVidia)?

I want a triple monitor setup to work correctly. My setup is as follows: Linux Mint 16 x64 Intel Core i5-2500k GeForce GTX 560 Ti Cu II A monitor on the far right connected to the motherboard ...
3
votes
2answers
244 views

vim: remove previous code indentation and convert to another

I have a c project with multiple files (more than 100), the codes are written in Whitesmiths style, but I want to change them into K&R style indentation. Is it possible to do using vim in an ...
2
votes
1answer
311 views

Download an entire sites jpegs with wget instead of just thumbnails

When I try to pull all the jpegs off of this website (http://www.zodiackillerfacts.com/gallery/) using wget: wget -A jpg,jpeg -r http://www.zodiackillerfacts.com/gallery/ it only downloads the ...
0
votes
0answers
41 views

How can I download audio from YouTube videos? [duplicate]

Possible Duplicate: Extract audio from youtube video I uploaded my sounds from GarageBand to YouTube and lost my original versions. Now I need to get the sounds from YouTube. How can I ...
2
votes
5answers
9k views

Running scripts from another directory

Quite often, the script I want to execute is not located in my current working directory and I don't really want to leave it. Is it a good practice to run scripts (BASH, Perl etc.) from another ...
4
votes
1answer
3k views

Load balancing with multiple gateways

I have to different ISPs, each on each own network. The main connects via ethernet and the secondary via wifi. The two networks have no relation at all. I just connect to them simultaneously. The ...
0
votes
1answer
114 views

differnce between blocksize and bytesize in linux/unix filesystems

Can anyone discuss the exact difference between block size and byte size, when it comes to disk sizes for Linux/Unix filesystems.
0
votes
1answer
848 views

How do I create a “here document” within a shell function?

I'm working my way through William Shotts Jr.'s great The Linux Command Line on my Mac OSX 10.7.5 system. 90% of the linux that Shotts covers is close enough to Darwin that I can figure out or GTEM to ...
0
votes
2answers
1k views

Arch Linux Terminal (via ssh) + Dropbox but sync only 1 single selected folder

Sorry for the weird title... I'm (still) quite new to linux and are doing shh commands to an Arch Linux device that has not screen output options. So everything has to be done in the terminal (not my ...
2
votes
2answers
1k views

Setting pipefail for a single piped command

I need to execute a number of piped shell commands from a non-BASH script (namely PHP script) like these: command1 | command2 | command3 so that, if command1 fails with a non-zero exit code, each ...
0
votes
2answers
353 views

Can I change the password of Backtrack running on a Live USB?

I am planning to run backtrack in Live USB mode with persistent memory, can I change the password of root, because my friends will certainly mess up with the files if it has default root/toot ...
1
vote
2answers
911 views

Debian wheezy keyboard shortcut for both opening and closing a terminal

I recently installed tilda and I would like to open it and close with the same keyboard shortcut. I wrote little something in bash that closes tilda if it is open and opens tilda when there is no such ...
1
vote
0answers
501 views

Cannot rename a file containing spaces and special characters on NTFS partition from Linux

I have both Windows 7 and Kubuntu installed on a computer. They both have access to a NTFS partition. I don't know how that happened, but I now have a directory containing weird characters: Bases de ...
2
votes
1answer
881 views

Very Slow DSL (ethernet) speed [New Interesting Update]

Very Interesting and Important Update: Due to some reason I just thought to do a complete new setup and this time I decided to again have openSUSE plus Ubuntu. So I first reinstall Lubuntu and then I ...
0
votes
1answer
171 views

Linux fails to set the correct resolution for my monitor which causing a black screen saying “Out of range”

In my monitor it says "Out of Range" black screen. Where i need to set the VGA output resolution to 1024x768 having 60hz or 70hz. Here is the following lines i have tried but it fails. $ cvt ...
0
votes
1answer
344 views

How to zgrep by file pattern and timestamp?

I have a list of several thousand gzip (*.gz) files that I'd like to zgrep through, but I only want to run it on files with a last-modified-timestamp on or after yesterday (11/22/2012) and that ...
2
votes
2answers
9k views

Access SD card from VMware player?

I have Ubuntu 10.04 running in a VMware player virtual machine. How do I access the SD card reader hardware from within the VM? I see no appropriate device under /dev or relevant messages with ...
1
vote
1answer
232 views

How can i add a custom xf86 mode for my Slackware system?

I'm running Slackware 14 in a virtual machine on Hyper-V. The maximum screen resolution offered by xf86 system is 1152x864 (reported by xrandr). I'd like to add a mode for 1600x1200 resolution so I ...
0
votes
4answers
6k views

Can I run Windows 7 in a VM on ARM Processor under Ubuntu/Xubuntu/Lubuntu?

I'm trying to run a Windows 7 virtual machine on this device, and I want to use a host OS that supports VirtualBox. I want to throw on the least resource-intensive (CPU and RAM, HDD space is not a ...
0
votes
0answers
135 views

Apache issues with socks redirection

I have an issue with the socks configuration on my Fedora install and the LAMP environment. I applied the solution to my question ...
3
votes
4answers
2k views

Where is the information retreived by “uname” stored?

Uname utility in *nix retrieves wonderful meta information about the machine. Where is this information stored?
0
votes
1answer
63 views

ip route show src filed

I read the man page of ip and still do not understand what src is and I could not find much documentation. Please, if you can explain it thoroughly or point to some link it a good answer.
1
vote
1answer
284 views

Bash Script to Back Up Backs Up Itself

I have the following bash script that creates a tar.gz of my filesystem on a Kubuntu PC. The problem is, that it also tries to backup the tar.gz backup file, even though I am storing the backup in ...
2
votes
2answers
1k views

Linux: permission to read file from /sys/kernel/debug wihout root privileges

I'd like to read small text file, located at: /sys/kernel/debug/vgaswitcheroo/switch without root permissions. It contains information about graphic cards (dedicated ATI Radeon and integrated Intel ...
1
vote
1answer
1k views

mdmonitor service issue in linux

chkconfig showing the output as mdmonitor service is running [root@localhost ~]# chkconfig --list | grep -i mdmonitor mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off But ...
1
vote
2answers
503 views

Is there a GUI app to monitor remote load or memory use?

I'm administering a set of Linux servers with varying purposes, and occasionally when I run maintenance tasks I'd like to see how each of the servers handles them. For this I need to open several ...
0
votes
2answers
235 views

Where are screen saver applications on Slackware 14?

I want to find out where screensaver applications are in Slackware 14, because screensaver "sonar" manpage says it has to be setuid.
0
votes
1answer
242 views

Perl installation on Debian vs CentOS

As described here at http://www.directadmin.com/forum/showthread.php?t=43558&page=1 I am trying to find the equivalent apt-get install commands for the current version of Debian for: yum ...
0
votes
1answer
347 views

Arch Linux: How to handle patches which only you will use?

I'm using freerdp together with xmonad and it has been giving me a lot of trouble. The super key (or "windows key") is my mod key in xmonad and it has been interfering with my freerdp usage rather ...
0
votes
1answer
107 views

install apps from ubuntu livecd

I was running the other day an ubuntu cdlive and something drew my attention. I installed a few apps and they seemed to have been installed on the disk. What I wonder now is, where are these apps ...
1
vote
1answer
55 views

Network share: How to set one subdir invisible to users

I denied access to one subdir for the windows users, but this subdir remains visible. Could it possible hide it based on permission model?
0
votes
3answers
2k views

FreeBASIC on linux

I want to install freeBASIC on ubuntu( to code QBASIC). There is a package "libfreebasic" which I've installed but I don't see any difference on my system... Can I code in QBASIC in ubuntu?
0
votes
2answers
648 views

Where is the config with greeting login (upd: pre-login) message in Debian?

I want suppress the message showed up each time on login: Debian GNU/Linux 6.0 <ip-addr> tty1 <ip-addr> login: Does someone know where is the config to change it? UPD1 to suppress ...
0
votes
1answer
119 views

Trying to switch to linux as a PHP developer, can't move my development environment

I'm using Windows for my development operations but i'm deploying to Debian/Ubuntu based distros. So i thought if i move my development to a linux distro it will be more comfortable. I'm using XAMPP ...
0
votes
1answer
204 views

Any Unix with Windows XP like fonts?

I'd like to try a Linux- or BSD-based OS on my desktop. But all distros I've seen so far have fonts that feel unnatural after Windows XP. Could you recommend a distributive or a way to make them like ...
0
votes
1answer
619 views

Setting up WiFi in Ubuntu Server 12.04

I have Netgear WNA1100 (Athreos 9271) based USB WiFi DOngle. I cannot start wlan0.I have installed the required firmware in /lib/firmware. OS is Ubuntu Server 12.04 Following are my configurations: ...
12
votes
1answer
27k views

What does directory permission 'S' mean? (not lower case, but in upper case)

I downloaded Eclipse, uncompressed it, did a few other things and all sudden I notice this interesting behaviour: ^_^ ~/Downloads > sudo chmod 0000 eclipse/ ^_^ ~/Downloads > stat eclipse/ ...