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

2
votes
1answer
7k views

How can I repair my USB drive?

USB drive is in read only state and I can't repair it. First of all I tried erase it using dd: root@yurko-laptop:/home/yurko-laptop# ls -l /dev/disk/by-id | grep usb lrwxrwxrwx 1 root root 9 Дек 18 ...
4
votes
1answer
328 views

Ubuntu lightDM password expiration warning delay

I enabled some password expiration policies on my Linux box and am able to see a warning when login: Warning: your password will expire in X days. This works also on screensaver when entering my ...
3
votes
1answer
1k views

OpenWRT based gateway with dnsmasq and internal server with bind

I have router based on OpenWRT which has dnsmasq 2.59. Inside my local area network I have a NS server bind. This server has internal and external views for a couple of my domains. My router forwards ...
1
vote
0answers
265 views

Xmodmad does not run at startup/login

I put settings in a file called ~/.Xmodmap: xmodmap -e 'keycode 66=Return' xmodmap -e "clear Lock" The next time I logged in, I was prompted as to whether to load ~/.Xmodmap. I loaded it, and tick ...
1
vote
0answers
137 views

My laptop behaves strange after suspend

When waking my laptop from suspend, it behaves very strange - the CPU quickly gets hot and the battery drains insanely fast. Looking into powertop, there is a process called 'rtc_timer_do_work' that ...
12
votes
1answer
7k views

How to force GPG to use console-mode pinentry to prompt for passwords?

Whenever I try to use gpg from a console-based environment such as ssh sessions it fails because the GTK pinentry dialog cannot be shown in a SSH session. I tried unset DISPLAY but it does not help ...
1
vote
2answers
186 views

Found in common SSD advice, but how does 2,048 equates to 1MB?

I'm trying to set up a Linux partition on my laptop and I've run into the same phrase all over the internet. It's on one of the superuser answers... In the question Which linux filesystem works best ...
1
vote
1answer
499 views

XFCE window placement settings resetting

I prefer all my windows to be centered when created so I went to Window Manager Tweaks » Placement and set Maximum size of windows to trigger smart placement to Max (large) and also checked At the ...
1
vote
5answers
1k views

Linux - reset user settings on every login

I would like to install a Linux machine (latest Linux Mint Debian Edition) as a shared computer for multiple users. All of the users should share one account with the same password. Think of it as a ...
0
votes
2answers
279 views

What is advantage/disadvantage of creating soft link to executable file in /bin?

I often use this way to make my executable appear in terminal. Is it good or bad? And why?
0
votes
1answer
178 views

How to install get-iplayer from source file?

I want to install the latest version of get-iplayer in Debian, and I've got its source file, a tarball file, from here. However, I don't know what to do with it. Usually when I come across a tarball, ...
1
vote
0answers
519 views

startx error: no desktop manager

I have Backtrack 5R2 KDE. The error resulted from a hard-reset (hard-reboot). After that, I cannot load the KDE manager when I enter the startx command after logging in. Whenever I do a startx ...
0
votes
3answers
540 views

How to prevent a user from hiding their bash history?

I believe that there are a large number of ways to prevent your bash history being recorded e.g. export HISTSIZE=0, how can I prevent users from hiding their bash history?
0
votes
2answers
57 views

Where disk quota is taken from when creating a new partition + on which partition linux is installed

I'm trying to figure out how the paritioning works, so I'll know which partition I can format or create for data, and which I should format to reinstall linux. Using "df -hT" I got this: Filesystem ...
0
votes
1answer
102 views

How can I loop through a directory and add a prefix to filenames where not already present?

I think the title says it all, what I need to do is loop through all images in a directory on my Ubuntu vb, check for a prefix (for example 'ql_') if it already has the prefix, I want to leave it ...
0
votes
1answer
1k views

In Fedora, Perl program cannot find Time::Piece library

I have a Perl program named /usr/bin/octbatch running as a script on Fedora 17 Linux. When I run this command: /usr/bin/octbatch I get the error: Can't locate Time/Piece.pm in @INC (@INC ...
1
vote
2answers
208 views

Impact of LD_LIBRARY_PATH on simple commands in Linux

I am using Red Hat Enterprise Linux Server release 5.7 (Tikanga). When I change LD_LIBRARY_PATH, the system becomes very slow for every command (except for shell builtins like cd) For example, ls in ...
1
vote
1answer
400 views

Audio out on Linux to play on Windows

I have a Windows 7 computer I use for gaming, and a Linux machine I use for everything else. Everything else is relatively easy to switch (one plug for keyboard/mouse, and the linux box uses VGA while ...
0
votes
1answer
90 views

Where do I download linux with a specific kernel?

I would like to download and install a linux version 2.6.32.24-0.2-default on vmware. Where can I download it from?
1
vote
1answer
771 views

External drive corrupted or inaccessible in Windows XP, but works on Linux

Today I connected my Western Digital 1 TB HDD to my Windows XP system and discovered that in Explorer, its name was changed from My Passport to Local Disk K which shows 0 KB and is inaccessible. ...
8
votes
2answers
976 views

Why does dd only copy 128 bytes from /dev/random when I request more?

I'm trying to understand the output of the dd command. I tried dd if=/dev/zero of=/dev/null bs=512 count=1 and got (as expected): 1+0 records in 1+0 records out 512 bytes (512 B) copied, 2e-05 ...
0
votes
1answer
826 views

Crontab is using some sort of hidden cache?

I used to have a crontab that ran like this * * * * * /usr/bin/php /var/www/vhosts/default/htdocs/agent/time_keeper.php > /dev/null 2>&1 It worked fine. Now I moved that php script to a ...
0
votes
0answers
151 views

SSH To My Home Server From Another Location

I am at a location away from home and behind a firewall that does not allow any connections and any ports other than specific port to a specific ssh server. I am using Windows 7 and putty. Trying to ...
1
vote
1answer
354 views

Debian download package and dependencies for different architecture

I have a clean i386 install of Debian on my laptop which I need to install ndiswrapper to get the internet on it working. I have a amd64 Debian install on my other laptop with working internet. How ...
0
votes
0answers
52 views

How do I list all the new devices connected in Linux?

I am thinking of using `udevadm` but how do I use this to list all the devices newly connected. Please suggest Is this correct? `udevadm monitor --udev`
10
votes
4answers
4k views

Bad results converting PDF to EPS on Linux

I'm having some trouble converting PDFs (created by Adobe Illustrator on a Mac) to EPS. I have tried several things but I am wondering if there is a better option. The following list is ordered by ...
2
votes
1answer
5k views

starting up apache tomcat on boot in Linux

I want to know whether is there any way to make our Apache tomcat to run automatically in the boot time?I want to simplify our works as we do not want to execute the start up script(provided in the ...
0
votes
1answer
267 views

inittab calls a script has su command

I am using CentOS 6.3, I failed to add a script in inittab to let it start automatically. myscriptid:2345:respawn:myscript_path In the script, I have a su myusername -c command, if I run it ...
1
vote
1answer
4k views

How to autostart OpenVPN (client) on Ubuntu 12.04 CLI?

I have an *.ovpn file that works if I type in: sudo openvpn filename.ovpn. Now I would like to start up OpenVPN when I boot the computer. It's a headless version of Ubuntu 12.04 64-bit if that ...
2
votes
4answers
2k views

Get a script to run at startup (linux)

I am trying to get a simple script to run automatically at startup. A friend told me to do this but it did not work. Could someone take a look to see what it is missing? *(Also I am brand new to ...
0
votes
1answer
524 views

Download from http server all directories,files and subdirectories and so on

I want to download from remote http server all files directories,files and so on. I found some solutions to ftp server,but doesn't work to http. Until now no luck with wget -r or -m. It download all ...
2
votes
2answers
1k views

Linux: Dropbox alternative with sftp/rsync/… access

Currently on my VPS I'm running couple of sites and Dropbox daemon to store backups. Problem is that VPS has 512M RAM and it was enough until new version of Wordpress (I don't know why, but now it ...
1
vote
1answer
119 views

How to allow only 2 groups to use network commands using sudoers

How could I change the sudoers files in order to get both "networkadmingroup" (a group created by me) and the "admin" to use all the network-related commands but not the rest? This is my attempt: ...
14
votes
4answers
14k views

Wired to wireless bridge in Linux

I am attempting to set up my Raspberry Pi as a bridge, using Debian wheezy. I have a hostapd.conf: (some details changed for security, and yes, I know WEP is no good)... interface=wlan0 bridge=br0 ...
0
votes
1answer
728 views

How to connect from Linux to Oracle database

What do I need to install on my Ubuntu Linux to connect to remote Oracle Database Server using my username and password?
1
vote
1answer
227 views

Debian wheezy hangs when installing on old laptop

I have a very old laptop i'm trying to install Debian wheezy on. When running the expert install, after selecting a video mode, it hangs. Here's a picture I tried to take of the screen after it has ...
4
votes
1answer
4k views

How are directory structures stored in UNIX filesystem?

I have read that each directories store their content (files and subdirectories) by using a list of filename and inode pairs. But none of the reference I got said something about how they are stored. ...
4
votes
2answers
2k views

Where is the about:config box in Thunderbird 17?

Where is the about:config box in Thunderbird 17? I have looked under the Tools Menu and it doesn't seem to be there. Is there a way to bring up a URL box in Thunderbird I don't know about?
1
vote
3answers
930 views

How to make my Ubuntu an internet gateway for my Android phone

I want to use the internet of my school on my Android, the problem is they have a Squid proxy, and many applications on my phone don't use the proxy at all. The obvious solution is to install a ...
1
vote
3answers
129 views

Reverting pvcreate on a Windows System Recovery partition

As the title says I incorrectly ran: pvcreate /dev/sdb1 Where sdb1 was a Windows System Reserved partition. Now I know I could probably use the Windows CD to recreate it, but is there a way to do ...
2
votes
2answers
4k views

Why is my Linux box dropping network connection?

I have a Debian server in the form of a Raspberry Pi running Raspian. It has a USB Wi-Fi connection. Sometimes it would not respond when I SSH to it, and would require a reboot. I found something in ...
0
votes
0answers
515 views

AHCI on Windows if BIOS does not have the option but all hardware does support it?

Is it somehow possible to use AHCI on Windows if the BIOS does not have the option to enable it? This is a known problem especially on mid-old Laptops that have chipsets and drives that perfectly ...
3
votes
4answers
804 views

How to swap Escape and Caps Lock?

I am using Archlinux. When I program , I like to swap the Escape and Caps Lock. I know that gnome can do this job. But Gnome 3.6.2 in the Archlinux can not find this. So i use the xmodmap and create ...
2
votes
0answers
999 views

FFMPEG - streaming a playlist of videos to RTMP

I'm aware that you can stream files to a video server using FFMPEG - something like the following. fmpeg -re -i localFile.mp4 -c copy -f flv rtmp://server/live/streamName Is anybody aware of ...
0
votes
1answer
136 views

for what reason live USB linux images are not 100% persistent?

I understand that during CD-R times non-persistence had a purpose, but what's the purpose now that pretty much everyone uses USB flash drivers? not to mention USB3 sticks are pretty much 4x faster ...
2
votes
1answer
92 views

cat contents of one file into another file

I have a large (binary) file that has some corruption near the beginning. Then, I have a second, smaller file that I obtain by starting to download the same file again, but interrupt after I have ...
6
votes
3answers
5k views

Mounting ext4 drive with specified user permission

I want to mount a supplementary ext4 data disk drive with specified rwx permission for a certain user. The mount point is inside the home of such a user and it's owned by the user. I added the new ...
6
votes
3answers
5k views

How to check RAM timings in linux?

In windows, CPUz provides info about memory timings. Is it possible to view that in linux? Is there any app that can show me the memory timings of the RAM currently installed in my system? EDIT: I ...
3
votes
3answers
822 views

How do I bridge connections in Debian?

In windows I can select Local Area Connection and Wireless Network Connection, right click and select Bridge Connections How can I achieve the same effect in Linux? (Debian to be exact) Pretty much ...
2
votes
4answers
15k views

Error installing Arch Linux

So, I am trying to install Arch Linux on my Acer Aspire 4830tg, but I keep running into problems. Some background knowledge, I am trying to install Arch off a usb stick and I got the iso image using ...