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

3
votes
1answer
1k views

What is session leader in `ps ax`

See the command bellow # ps ax | grep bitlbee 2271 ? Ss 0:00 /usr/bin/bitlbee -s mysql -c /root/config.conf 3930 ? S 0:00 /usr/bin/bitlbee -s mysql -c /root/config.conf See ...
2
votes
1answer
5k views

Linux: ls -l prints only question marks:

I have a problem with listing of some directory with ls -l: $ ls -l ./directory -????????? ? ? ? ? ? file001.txt -????????? ? ? ? ? ? file002.txt and just ls works good: $ ls ...
2
votes
0answers
626 views

How to disable CD-ROM/DVD-ROM pooling during boot in Linux?

I have a Dell XPS L501X laptop dual-booting Linux Mint 12 "Lisa" (x64) and Windows 7. It has a TSSTcorp DVD+-RW TS-L633J DVD drive, which generates a lot of vibrations and noise whenever data is being ...
0
votes
0answers
1k views

ssh key permission denied failure

I have done so much of googling on this but just couldn't find the exact answer,there are many threads on this, all of them point to check for file permissions or $HOME directory which are right in my ...
11
votes
3answers
529 views

In Linux, how can I map SHIFT_L/SHIFT_R when pressed without additional key?

Today I found this very nice article by Steven Losh in which he presents a couple of productivity boosting keyboard mappings. Among them is a dynamic mapping of the left and right shift keys. The ...
4
votes
1answer
2k views

Enable alt/ctrl + left/right on CentOS command line

My hoster recently updated to a new CentOS and I've been 'personalizing' it and now I'm missing something. On my home Ubuntu Server I can forward-word and backward-word with ALT + RIGHT / LEFT. I ...
-1
votes
2answers
180 views

Enterprise Redhat RHEL Server default/built-in Applications? [closed]

I'm gonna buy a RHEL Server but before i do it, i very much need to be confirmed about some built-in Applications/Softwares which will come along with, inside. Does it come along with following ...
3
votes
3answers
2k views

Use Dedicated VPS as a DNS

I live in Canada, I want an american IP (Speficily? So I can watch netflix on my WDTV). I have a dedicated virtual server in California. How do I use my VPS (CentOS 5/64Bit, PLESK) as a DNS.
0
votes
1answer
554 views

Image format the same as /dev/fb0

Is there an image format that is the same as /dev/fb0? So that dd if=the_image of=/dev/fb0 would display the image?
0
votes
1answer
524 views

Open file directly after grep

I'm getting an issue on piping in linux, ls | grep feedback I have an alias for xdg-open which is open, how can do to make the filename from grep goes directly to open this is not working ls | ...
0
votes
1answer
759 views

Lenovo IdeaPad Z580 wireless card driver for Fedora linux

I installed Fedora 17 on my Lenovo IdeaPad Z580 laptop, but the wireless card is not showing up when I do sudo iwconfig. I am quite sure that it is only a driver issue, because when I boot into ...
8
votes
3answers
3k views

Using `badblocks` on modern disks.

I want to use badblocks to check my HDDs and would appreciate clarification of its operation. Can someone please explain the best options to use with -b and -c? I have included their definitions ...
1
vote
1answer
2k views

Changing Home directory of a NIS user

I have a networked setup of 20 odd systems running ubuntu Linux where users are allowed to login using NIS+NFS. I want to change a particular user's home directory. How can I do it (from any of the ...
4
votes
2answers
3k views

How to organize a hard drive for Linux/Windows sharing?

I have Linux Mint 14 and Windows 8 installed (dual-booting) on my computer. I mostly use Linux but still need Windows sometimes. Here's a screenshot of the output of sudo fdisk -l command: ...
1
vote
1answer
215 views

How should I organize hard drive to share a drive if I use both Linux and Windows?

I use Linux for most of the things but I still need Windows sometimes. So, I have Linux Mint 14 and Windows 8 installed (dual-booting) on my computer. Here's a screenshot of the output of sudo fdisk ...
1
vote
2answers
82 views

Opening files on a Linux machine from Windows

I'm a Linux noob. I recently need to work with stuff on a few Linux machines but I'm on Windows and want to just open files in my Windows apps (like Visual Studio or Notepad++). Is there an easy way ...
1
vote
1answer
4k views

Fedora 18 + Windows 8: Dual boot

I just bought a new notebook which came with Windows 8 (+UEFI) which I will use to play some games, however, I want to have Fedora (18) linux available for some stuff. I tried and failed to install ...
1
vote
2answers
2k views

Can you expand a linux partition while it's in use?

I'm running a linux server and I need to expand the /tmp partion. Everything I come across using fdisk or parted is saying that I need to unmount before expanding. Is this true, or can it be safely ...
3
votes
2answers
151 views

Too many keyboard layouts

The short question: how do you handle multiple keyboard layouts without getting confused? I'm a fast writer. I've been using the default Swedish, QWERTY PC keyboard layout on Linux, DOS and Windows ...
0
votes
2answers
41 views

Which character to use for getting the first place in file listing? [closed]

Our colleagues are competing first place in file listing on shared folder, e.g., ls -1 /mnt ZFirstplace !YSecond !!ZThird 123 2012-08-23 14.19.35.jpg 2012-08-23 14.19.38.jpg Use access the folder ...
2
votes
1answer
724 views

IPTables - unknown error 4294967295

I've moved an old Slackware 11 installation from a physical PC to a virtualized in ESXi. Everything seems to work fine except for one rule in iptables, namely the row: iptables -t filter -I INPUT -m ...
3
votes
2answers
3k views

dd command to create bootable iso image of hard disk

Is it possible to use the dd command to create a bootable ISO image? I use the following command to do it: dd if=/dev/sda of=/mnt/sdb/my.iso I am able to create ISO, however I am not able to boot ...
0
votes
1answer
291 views

How to switch between 2 ethernet NIC with Windows Powershell or coding in a Linux environment?

These are the linux routing commands I had used so far. #!/bin/sh # time checks in second SLEEPTIME=58 #IP Address or domain to test ping. TESTIP1=198.168.1.0 TESTIP2=198.168.1.1 #Ping timeout ...
1
vote
2answers
276 views

Logging into a linux box using a different id

I have a basic question,am logging to a linux box using securecrt with my username and password,it has my username and password saved,i want to login using a different username to the same linux ...
1
vote
1answer
143 views

Capture internal ports

Is there any way to capture packets all through internal ports for ex: A packets from 192.168.2.79 4000 to 192.168.2.79 4001 In this case its a TCP connection and the packets will not flow out ...
5
votes
1answer
105 views

Can one install linux on a Mac via ssh?

Title says it all, read on if you think this an odd request. I realize that this question is quite unusual, but ssh and FTP are the only access methods for my Mac. Why I'm doing this: The ...
1
vote
2answers
265 views

Restore access to Linux partition after wiping Windows partition through Windows installer

I have a dual boot Windows 7/Linux Mint 14 system (installed Windows first) with a single hard disk and four partitions (in order: System Reserved, Windows 7, Linux, swap). I wanted to reinstall ...
0
votes
2answers
844 views

Using wildcard to find (and delete) matching files on a Linux box

I want to delete a specific config file for Awstats for every user on the box. What is the best way to delete them, and possibly, in one line? All the files are under /home and have this structure: ...
1
vote
3answers
315 views

Remap keyboard input in OpenOffice to perform things like “Quit”

I'm using a Logitech R400 2.4 GHz Wireless Presenter, seen by the OS as a standard USB keyboard that has 4 buttons (page up, page down, f5, and 'v') and I need to remap specific keys to certain ...
0
votes
2answers
215 views

Bash shell scripting rsync

How can I recursively copy all the contents of one folder to another folder using RSYNC? For example: sourcefolder destinationfolder
1
vote
1answer
565 views

Can't connect to Virtual box remote screen on linux Fedora 17 host

I get trouble to use virtualbox remote screen on a linux host. I activated server in settings->display->remotedisplay and the port is 33333. Then on linux I do : $ rdesktop 127.0.0.1:33333 ...
2
votes
1answer
168 views

rsync with remote server causing media player issue

I have a ubuntu server running Serviio as a DLNA media server. pretty much the only other thing the server is doing is checking for new media on a remote server. I am running this script every minute ...
2
votes
1answer
1k views

execvp exec format error for shell script on Red Hat Enterprise Linux 6

We have two RHEL 6 systems that are running identical versions of the kernel and glibc (glibc–2.12–1.90.el6_3.6). According to the POSIX standard and the Linux man pages, if the kernel determines that ...
0
votes
2answers
865 views

Linux (Ubuntu) Run program in background

I am trying to run a PHP script in background on my Linux server over SSH (Putty) but I'm not getting this to work. The command I want to run in background is: php buildscript/build_css.php as ...
0
votes
1answer
186 views

Sort files based on their meta-data

At a local storage (ext3/ext4) I have thousands of files of various types. I need to sort them, however I can come up with the criteria to do so as long as it's possible to get an overview again. I ...
3
votes
1answer
61 views

Ensure the download is not a dupe

I want to (recursively) download a directory of files to a location from a WebDav Server. If the file is alreay present (somewhere there), it shall not be downloaded again. However the folder ...
1
vote
1answer
598 views

PuTTY: inputting some special characters doesn't work (Romanian)

I use PuTTY to connect to a CentOS server, and I sometimes need to enter Romanian characters from the keyboard. I use Windows 7 on the client computer; I have the server locale set up as en_US.UTF-8, ...
0
votes
1answer
3k views

Randomly getting “NO CARRIER” from Huawei 3G modem under linux

I'm using a huawei 3G modem under linux. After using NetworkManager for some time, I now use wvdial to talk to the modem and start pppd: i added a udev rule so wvdial starts automatically when the usb ...
4
votes
2answers
13k views

How do I list files with full paths in Linux?

In Linux, is there an equivalent to Dir /s /a /b where the full path and filename is listed? I'm new to Linux, and without a GUI, I want to get an idea of the structure of what's on the hard disk.
0
votes
2answers
46 views

How to share (via network) linux linked content?

I have a director called Public. It's a shared dir in network. I also have a file doc.odt in direcory docs I'd like to share the doc.odt file through the link. I have done this: ln -s ~/docs/doc.odt ...
1
vote
1answer
473 views

linux driver installation error - “/lib/modules/2.6.18-194.el5/build: No such file or directory. Stop.”

I got an error "/lib/modules/2.6.18-194.el5/build: No such file or directory. Stop." while installing moxa driver, following is the shell screen shot. please help me for a resolution. Thanks for your ...
1
vote
3answers
980 views

How to mount partition with spaces in path

I created one partition and I wanted to mount that partition to this directory /home/max/VirtualBox VMs I wrote this line in fstab: /dev/sda4 /home/max/VirtualBox\ VMs ext4 defaults 0 ...
1
vote
1answer
134 views

Recursively searching for specific text inside specific files but only in specific folders

I have a nested folder structure containing lots of folders and files. How do I search inside files for a pattern eg "sampletext", but only if the filename matches a pattern (eg only search inside ...
0
votes
1answer
138 views

Merging 2 zip files

I have 2 zip files: file1.zip file2.zip I want to compare the two zip files and then only extract the files missing in file2.zip (directory structure intact) so that I can merge them in. ...
1
vote
1answer
223 views

Cross Operating System Custom Keyboard Layouts

Is there any software that will generate Macintosh, Windows and Linux(xkb) keyboard layouts simultaneously? Edit: From what I understand Microsoft Keyboard Layout Creator doesn't support changing of ...
1
vote
2answers
2k views

linux removing temporary files

I was trying to remove files ending with a tilde using the command rm *.*~,but that does not remove files that start with a . and end with ~, e.g. .somefile~. I've also tried rm *~, but that also does ...
0
votes
1answer
895 views

In Xorg fontconfig, why two font caches, /var/cache and $HOME? Possible to get rid of the latter?

In Xorg fontconfig, there're (at least) two fontcaches, by default /var/cache/fontconfig and ~/.fontconfig, defined in /etc/fonts/fonts.conf. Q1. But what's the rationale? Only one, the system wide ...
1
vote
0answers
260 views

Run teamviewer on smaller-resolution X screen

I am using Teamviewer to view my Kubuntu desktop from a rooted B&N Nook Simpletouch (Android 2.1). The desktop has 1680x1050 resolution and the Nook only shows the top 600x800 of that. Is it ...
1
vote
0answers
74 views

Starting Synergy client dims the screen

I'm using Synergy to allow me to control my laptop while using my desktop's keyboard and mouse. Whenever I start the synergy client on the laptop, its screen dims, and also does so every time I move ...
0
votes
1answer
178 views

GNU find .extension files and -exec, while new .extension files are being made

Here is a problem, can someone please explain or provide some references. I've been trying to read since an hour but can not find the answer. Suppose, I have process1 going on a pool of directories. ...