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

1
vote
1answer
5k views

How can I disable the NVIDIA Optimus chip?

To this question, it may sound like there are a lot of confliction with this question already, well... let me explain first: Ubuntu 11.04 - disable NVIDIA graphics card -- To this, I am using Arch ...
2
votes
1answer
2k views

configure rsyslog server to log incomming messages with time of the rsyslog server

I would like to configure our rsyslog server to drop the timestamp of the incoming messages and replace them with time from the rsyslog server. Reason for this is that we have some system that don't ...
-5
votes
1answer
300 views

How to copy a list of files from one directory to another and modify the destination file name on the fly

Could you propose a way to copy a list of files from one directory to another. During copying the script should capitalize the first letter of the filename and lowercase all other letters.
2
votes
2answers
105 views

Efficient environment for viewing logs [closed]

Currently I am using tail -f for viewing logs. Is there any more efficient/readable/better way of viewing logs?
1
vote
1answer
234 views

Why can't I exclude 2 or more patterns from the find command in Linux?

I am attempting to exclude .svg and .jpg files from my find command however it still returns both of them. What am I doing wrong? find . \( ! -iname \*\.svg -o ! -iname \*\.jpg \)
0
votes
1answer
1k views

Why does the following find regular expression not work on Linux?

I am attempting to locate files that match a particular pattern however attempting to run the command below returns no results even though there are files that should match the pattern. find . ...
0
votes
0answers
42 views

SMART HDD alerts regarding controller

I am getting SMART HDD error's like check_ciss: CRITICAL: Cache status on controller in slot 3 in Temporarily Disabled state Can you guys help me in below queries 1) How did the cache status on ...
1
vote
2answers
246 views

How do I use Bash in VirtualBox?

Just started using VirtualBox. I have an ubuntu iso image on my usb that I can boot from. I ran ubuntu in VirtualBox in Window7 with no problem. How can I go about using Bash with Linux in VirtualBox? ...
4
votes
2answers
438 views

How to give user rwx access to another user?

How can I give userA access to all files created by userB / userC, including rwx permission? Is there a way to do this without giving root access? Adding to same group won't work because not all the ...
0
votes
1answer
427 views

rsync fails under daemon but succeeds when run from terminal

I have script [1] that is executed by Postgres daemon (WAL archiver) and fails with exit code 12; see [2]. But if I execute the same script on a terminal/ssh session, it succeeds; see [3]. User ...
0
votes
2answers
992 views

Best console editor for writing a … novel? :) [closed]

there, ladies and gentlemen :) I started to write a novel, and cause it's mostly IT stuff - I decided to make all the things around this book - as IT as possible. So, I started to write it in the ...
0
votes
2answers
3k views

how to find USB devices in Cygwin

In Cygwin on Windows 7, in which directory would you find your iPod or in my case, my SAMSUNG GT-N8103? I didn't see anything in dev that hints where to find it.
0
votes
1answer
185 views

How to boot Linux on Samsung r425 laptop?

I've tried different distributions and kernel versions. It boots normally from a flash drive and CD, but hangs almost immediately after I select Linux in GRUB when booting from the hard drive. fstab: ...
3
votes
1answer
2k views

What's the correct way to have a `backup` user who is able to read everything to create backups with rsnapshot?

I'd like to use rsnapshot to backup my local computer as well as two remote machines to a portable storage device. My plan was to use rsnaphot on the local machine, create a backup user on the remote ...
1
vote
1answer
709 views

Kernel panic and keyboard led flashing

My server recently just froze. I was unable to ping it, It did not respond to any keystrokes at all and the caps lock and scroll lock was flashing in unison with a steady off-on-off-on rate approx. ...
2
votes
3answers
835 views

Create ethernet loop network - how to configure routes

I have a network that has to be configured as a loop. It consists on 3 nodes each of which has two interfaces. The diagram below explains it. +--->(eth0) Node 1 (eth1)--->(eth0) Node 2 ...
2
votes
1answer
5k views

How to install vboxnetflt and vboxnetadp kernel modules on Arch Linux guest?

I am attempting to create an Arch Linux Virtualbox 4.2.6 guest, and I have need of a Host-Only network. I have read in multiple places that I need to load the kernel modules vboxnetflt and vboxnetadp ...
7
votes
5answers
4k views

Trouble using wget or httrack to mirror archived website

I am trying to use wget to create a local mirror of a website. But I am finding that I am not getting all the linking pages. Here is the website ...
0
votes
3answers
500 views

What does -p do on shell script?

Does on -p [val] from shell start a process at a specific priority?
5
votes
5answers
9k views

How to display the file contents recursively?

I always have to submit the source codes in my printed assignment report. I have to copy and paste my course codes into the document and I find that it is an annoying task. I want to solve this "copy ...
0
votes
0answers
33 views

Git Clone imreachable. Timeout error [duplicate]

Possible Duplicate: How do I install the “fade” filter for FFmpeg? I have tried to perform the following commands git clone git://source.ffmpeg.org/ffmpeg git clone ...
4
votes
1answer
2k views

Installing libctemplate.so.2 and libzip.so.2 packages on Fedora 16

While trying to install a MySql Workbench I am getting the following errors: Error: Package: mysql-workbench-gpl-5.2.45-1fc17.i686 (/mysql-workbench-gpl-5.2.45-1fc17.i686) Requires: libzip.so.2 ...
-1
votes
2answers
122 views

SSH Linux server does not execute all commands properly

I connect to my webserver with Putty through SSH + password and wanted to generate a pair of keys to do the login for me. Unfortunately, the command gets somehow 'stuck'.. as you can see on the ...
0
votes
1answer
2k views

Aspire V5-531 Operating System Not Found

I recently purchased an Acer Aspire V5-531. I replaced the 320GB HDD with a 120GB Kingston SSDNow V200 and installed Linux booting with rEFInd. Due to a necessary change, I have to move back to ...
1
vote
2answers
1k views

How to compare two lossless audio files?

I have an M4A file which is also converted to a FLAC file. I'd like to see if the conversion is lossless, namely, whether the output to pcm from M4A is exactly identical to the one from FLAC decoding. ...
0
votes
1answer
506 views

Networking of two computers over wifi+ethernet

I have two computers, both running Arch Linux. My desktop is running headless, constantly plugged into the ethernet jack in my room. My university has a campus-wide wifi network that I can use with ...
3
votes
1answer
484 views

Terrible multi-threaded performance in Kubuntu in VirtualBox in Debian machine

We have an unpleasant performance issue when running our multi-threaded rendering software inside a virtual machine. We are running Kubuntu 12.04 in a VirtualBox 4.0.10_Debianr72436 which runs ...
2
votes
1answer
72 views

ssh not working with yes

I had to solve a fringe case lately where I had to add a number of server fingerprints to a user's known_hosts (the authorization is performed with a keypair). I thought the easiest solution would be ...
0
votes
2answers
105 views

submitting jobs to a Linux workstation

I have access to some Linux Workstations on which I run my C++ executable files from my Laptop but the problem is that each time I run a job from the terminal in my laptop I have to keep a terminal ...
1
vote
1answer
100 views

script not found even though it's in PATH

Have a look at this terminal output... bjorn@jungleland:~$ cd bin bjorn@jungleland:~/bin$ ./first.sh Hello World bjorn@jungleland:~/bin$ cd .. bjorn@jungleland:~$ pwd /home/bjorn bjorn@jungleland:~$ ...
3
votes
1answer
406 views

How do I use cpulimit with ImageMagick?

I am converting (using ImageMagick) a directory of image files (using a bash for loop in shell). I notice that "convert" is taking up a large amount of CPU use (88% and up). However, If I try to ...
0
votes
0answers
152 views

Wireless unavailable in Fedora 17 running on Samsung Series 5

I installed Fedora 17 on my laptop (Samsung Series 5), and everything is OK except the wireless. I've tried to activate it but I couldn't. On the top right corner, "unavailable" is next to the ...
6
votes
2answers
1k views

What does the output of fdisk mean?

I've got a flash drive and I want to understand the properties of it as is outputted from fdisk. I inserted it and check the dmesg and I could see that it was mounted as /dev/sdb1 so I ran fdisk to ...
2
votes
0answers
118 views

Why aren't the options reflected in mount's output?

# mount -t ntfs-3g -o no_def_opts,windows_names,noatime,uid=1000,gid=1000 /dev/disk/by-id/ata-Maxtor_6V250F0_V593GLTG-part1 /mnt/ata-Maxtor_6V250F0_V593GLTG/ # mount /dev/sda1 on ...
0
votes
0answers
825 views

How to stop Google Chrome from starting in Incognito mode?

I am using Linux Crunchbang with Openbox on my Acer Aspire 5536 laptop. When I click on the Google Chrome icon it starts in Incognito mode. How can I stop that, so it starts normally?
3
votes
1answer
238 views

How to make a filesystem readonly by default?

I am not talking about tweaking fstab or about the use of the "mount" program... I was thinking of tune4fs, btrfstune and the like : I'd like to know if you've heard of any filesystem being able to ...
1
vote
1answer
2k views

Trying key based password-less SSH login to remote computer but still being asked for password

Trying to SSH in to remote computer but still asking for password. I have a number of computers running SElinux and only one of them is giving me a hard time using ssh without the password. I did ...
1
vote
2answers
5k views

Disable the screensaver in Red Hat

I am using Red Hat Enterprise Linux WS release 4 (Nahant Update 2). Please help to disable the screensaver.
0
votes
1answer
109 views

How can we upgrade old GCC 3.4 to GCC 4.1 on Fedora 3?

How can we upgrade the old GCC from version 3.4 to 4.1(that is from GCC 3.4 to GCC 4.1 or above) on Fedora 3 (version is 2.6.10)? More information: We are developing an application which will be ...
1
vote
0answers
358 views

How to fix NFS V3 + TCP mount failing with 'Can't read superblock' error soon after an unmount?

Using NFS V3 and TCP!, portmapper is running. Not using iptables. Following are the options used: rw,noatime,v3,rsize=32768,wsize=32768,hard,intr,nolock,proto=udp,udp,timeo=11,retrans=5 If I wait ...
1
vote
3answers
2k views

How to disable font smoothing on Firefox 18 for Linux?

On my Ubuntu 12.10 machine, I've updated Firefox to version 18 some minutes ago. After that, fonts on sites are too smooth and now it's difficult to read for me. I found some advices about my problem ...
0
votes
2answers
927 views

Copy all files from one location to another in Linux, without copying the directory itself

I want to copy some or all files from a directory test/A/ to directory test/B/, but without copying directory A itself. I tried the command cp -R test/A/ test/B, but it copies the directory and the ...
0
votes
1answer
2k views

How to downgrade Linux kernel

I have a Linux machine running RHEL3.8 with kernel release 2.4.21-66.ELsmp. How can I downgrade the Linux kernel to 2.4.21-47.ELsmp? Second: About the last kernel upgrade, can we find logs somewhere ...
1
vote
2answers
2k views

How to Copy Large Directory to External Hard Drive Linux

I've formatted a 3TB external hard drive as ext4 using fdisk (actually gnu fdisk), mounted it at /media/external and am trying to copy my entire home directory to it. My first attempt I thought was ...
0
votes
1answer
78 views

Signals: Kernel-generated only?

Can processes really "generate" signals or they just request the kernel to send the signal on their behalf? And what about hardware interrupts? Do they get translated to software interrupts? Like, ...
0
votes
1answer
2k views

unable to open a file in gedit from the terminal when I login as root

When I try to open a file named tester.php from gedit by logging in as root, I see this : [root@Feddy htdocs]# gedit tester.php (gedit:4310): EggSMClient-WARNING **: Failed to connect to the session ...
0
votes
1answer
393 views

Try to make a rpm packet of httpd 2.4.3

my spec file is: %prep tar zxvf $RPM_SOURCE_DIR/httpd-2.4.3.tar.gz %build %install cd httpd-2.4.3 ./configure -prefix=/usr/local/apache make make install %preun if [ -z "`ps aux|grep httpd | grep ...
1
vote
1answer
477 views

Sort top 10 processes by the number of threads each created in Linux

I have a Linux/Debian server running: postgresql, tomcat. Sometimes, I can't access server by ssh. When I open ssh connection with my server, I can type in my log-in id(root) and password, but when ...
0
votes
1answer
417 views

Change owner of file without being root

I suggest that I have a log file with 666 permission and its owner is alice. So user 'bob' can change its owner by this: cp log log.temp; rm log; mv log.temp log So how can I fix this risk?
1
vote
1answer
845 views

MySQL database neither exists nor doesn't

I've just encountered a very strange situation on my development machine: the database is listed in PHPMyAdmin, but without any tables. Intrigued, I opened up a mysql client on the command line, and ...