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
0answers
304 views

SanDisk SSD, Builtin Background Garbage Collection

Looking at the spec sheet of the SSD's that come in my laptop: SanDisk (X110) http://www.sandisk.com/Assets/docs/X110_data_sheet.pdf It states "Background garbage collection" and "Support for TRIM" ...
0
votes
1answer
683 views

Internal microphone: no sound level in pavucontrol but record with arecord, pacat -r and audacity work - Skype doesn't

My internal microphone is not working in Skype. The first thing I did was checking if the microphone was found by pulseaudio. I opened up pavucontrol and recognized that the microphone was there but ...
0
votes
1answer
390 views

ADSL modem or router?

I have quite a complicated home setup and I have just ordered a new phone line for a separate ADSL connection for my business. I will be routing this through my CentOS Linux firewall/router and ...
3
votes
3answers
4k views

LANG=C is in a number of the /etc/init.d/* scripts. What does LANG=C do and why do you need to set LANG=C.

Its not clear what it does or what it contains. I tried greping the out put of set and env to see what C or LANG are set to in other places on the systems. Nothing was clear about how it is used or ...
0
votes
2answers
286 views

Need to delete a file I accidentally labeled in quotes in Linux [duplicate]

I have a file which I wrote and not thinking put the actual filename in single quotes like this: 'filename' When I try to remove it using rm -f 'filename' it does not recognize that it is there I ...
0
votes
2answers
235 views

ip addresses of the computers in VPN network

I've established a VPN connection from my home computer to the network at my work. Is there a linux command that shows the ip addresses of the computers in this VPN network?
1
vote
2answers
644 views

Can I automatically run a virtual machine (made by vmware in fedora OS) at startup in fullscreen?

I am an administrator of a student lab with 20 PCs. I was thinking of a way to protect those machines in the long run with the presence of some students with destructive behaviour. The most suitable ...
0
votes
2answers
3k views

Increasing maximum VGA Output Screen Resoluton on Ubuntu 9.04

I just reinstalled Ubuntu with 9.04 on my laptop coming from 8.04. I have the laptop connected with a VGA output on the laptop to my flat screen monitor, which turns off the laptop screen. Everything ...
1
vote
1answer
869 views

How to backup a LAMP stack server

What's the best way to backup a LAMP stack from SSH (if this is even possible)? Is it possible to create an image file for a remote server somehow, and then use wget to download this? (I am thinking ...
14
votes
3answers
6k views

How can I hide the Tool-bar in Emacs persistently?

I have installed emacs23 on Linux Mint 8. I would like to hide the toolbar, and I can do it with Options > Show/Hide > Tool-bar. But the Tool-bar comes back next time I start emacs. How can I hide it ...
2
votes
3answers
814 views

linux passwords in configuration files

Some programs on linux that use configuration files, want me to enter my password in plain text in one of their configuration files. For example newsbeauter, the rss reader wants me to enter my google ...
1
vote
1answer
460 views

How to login to EC2 Linux instance if sudo password is not known?

I am trying to login to my EC2 Linux instance, but someone has changed the sudo password. So I could not install or uninstall any application.
2
votes
1answer
835 views

what is the difference between tty and vty in linux

Can anyone explain me the difference between vty and tty ? I am getting the following when i execute tty . [sce@..]# tty /dev/pts/135 what is /dev/pts/135 here ?
3
votes
2answers
157 views

Is it possible to highlight the non-breakable space in zsh / terminal?

I’m looking for possibility to somehow highlight the non-breakable space (\xA0) in the shell output to distinguish it from the normal space during debug sessions. E. g., I would like to see the output ...
5
votes
2answers
1k views

Check who is accessing my shared folders in Linux?

Is there any utility that shows, who is accessing( has accessed ) my shared folders. I am using samba to share folders with other windows machines.
1
vote
1answer
399 views

RAID 5 degraded performance

I'm currently rebuilding my fileserver, but because of SATA port limitations, I can only use 5 disks at a time. I've remove a drive from my original RAID, so I've been able to create a new degraded ...
8
votes
1answer
8k views

How can I make 'diff -X' ignore specific paths and not file names?

Doing: diff -r -X <ignore-list> <src-dir> <dest-dir> doesn't seem to make diff ignore entries in <ignore-list> if they are of the form <dir>/<file>. Entries of ...
2
votes
2answers
830 views

How can I make Shift-Ctrl act as alt-gr (right-alt) in Ubuntu?

I would like to be able to hit shift-ctrl instead of alt-gr (right alt) on my wireless apple keyboard in Ubuntu. Is it possible to do?
-1
votes
1answer
312 views

how to run java program in linuxmint os

when i am going to run java code in terminal it show following error.. The program 'javac' can be found in the following packages: * openjdk-6-jdk * ecj * gcj-4.4-jdk * gcj-4.5-jdk Try: sudo ...
1
vote
2answers
248 views

Copying contents from an NTFS disk to exFAT formatted disk

Will there be any problem if I copy contents from an NTFS file-system hard disk to an exFAT file-system hard disk? I will taking files from Windows 7 on an NTFS file-system EHD and copying them on a ...
0
votes
1answer
124 views

Can you do continous ssh tunneling?

I saw here a way to do two ssh hops ssh -L 9998:host2:22 -N host1 ssh -L 9999:localhost:1234 -N -p 9998 localhost I think I understand what one line does, but not how they work together. Can ...
1
vote
0answers
296 views

Linux on USB 3.0 flash drive/SSD disc - load to RAM or standard boot

I am thinking of getting myself a portable (generic x86_64) Linux distro (Gentoo or Kali) on a USB stick. The thing is that I am unsure whether to: load it to ram at boot (as some livecds do), or ...
3
votes
1answer
1k views

Wrong free space reported for an ext4-formatted 3TB drive

I've just bought a WD elements 3TB external hard drive, formatted it to ext4 and mounted it on raspberry pi (raspbian (fork of debian) with latest kernel and package updates), and I've a problem linux ...
2
votes
2answers
474 views

Do USB memory sticks have controller and disk-cache on-board?

I'm well aware that the spinning-platter type of hard-disks have an on-board controller and an onboard disk-cache. Now, does the 'disk'-cache also exist on a (4- or 8-GB) USB stick? Incidentally, ...
1
vote
0answers
476 views

Adding eSATA PCI Express card

I've tried to add a PCI Express card to be able to plug eSATA hard drives to my home server (running Proxmox). Everything is plugged but I'm stuck. Is there any thing to do to setup the PCI card ? ...
2
votes
1answer
995 views

ssh and execute interactive command

I currently have a process where i login to a machine, need to ssh to another machine and then run a command for an interactive job (on a queue-ing system). Is there a way to do this all in one shot? ...
1
vote
1answer
76 views

Legacy BSD PTYs instead of /dev/pts?

I'm trying to use an old database that only accepts connections from legacy BSD style pseudo-terminals /dev/ttyp's or /dev/tty's. It does not recognise /dev/pts/9 style PTYs. Connections via SSH. I ...
2
votes
0answers
755 views

NFS Mounts - Linux/Windows Permissions

I'm trying to mount a NFS-Share where I need specific permissions on the linux-site and a specific user on windows-site who is able to read AND write in this NFS-share. When I mount the share on ...
4
votes
2answers
16k views

What are the methods available to get the CPU usage in Linux Command line? [closed]

We know that top is a command to get the CPU usage in Linux and other ways include cat /proc/stat which is used by top. What are other methods to get the CPU usage in the Linux command line? Use ...
1
vote
0answers
94 views

RHEL- Limited root access

I need to allow certain users limited access to the lab server. The server is RHEL 5.6. However, I don't want to give them the root access. Basically, we have configured a LDAP server where all the ...
1
vote
1answer
2k views

Apache/php cannot access remote cifs/samba share

I am trying to understand what my problem might be here: I am using a web application built on LAMP that needs access to a samba share that I've successfully mounted using mount -t cifs ... In the ...
2
votes
1answer
8k views

How to make changes in linux maintence mode

I notice when Linux boots in maintenance mode the filesystem is read-only. Is there a way to change this, perhaps remounting as writable? An example of this being a problem is that I was unable to ...
0
votes
2answers
3k views

Wifi not working after using ethernet cable and virtualized linux

Okay, so I installed l-ubuntu on virtual box (which is installed on windows 7-64 bit) and then on vmware player successfully to learn some bash programming. Then, I connected my computer to the ...
3
votes
1answer
596 views

run a bash script at logoff, shutdown, and restart on Linux

I need to run a bash script each time a Debian-esque thick client logs off, shuts down, or restarts. Outside of that, it can be any distro, desktop environment, window manager, or otherwise ...
2
votes
2answers
55 views

Do I have to create a new private an public key if I want to connect by ssh in the opposite way?

I have a ssh configuration to connect to my VPS from my localhost, but I want to send backups from my VPS to my localhost, and I need ssh authentication. I'm going through this instructions: ...
1
vote
0answers
160 views

How to set skype advanced connection Options on fedora 19

I have switched from Ubuntu 12.10 (mint nadia(14) cinnamon) to fedora 19 (gnome). So far so good. I installed skype via the fedorautils. Now that I am testing it using a Vodafone usb modem, it ...
0
votes
0answers
98 views

Top missing some processes

I'm getting weird behavior using top in Arch Linux. When filtering by user (fred) I get a different list of processes depending on the sort order. In descending PID order: PID USER %CPU %MEM ...
1
vote
1answer
254 views

Syslinux “Missing OS” after expanding to the left the partition with /boot

I have a GPT partitioned drive. Its a bit of a mess so I was starting to sort everything out. /dev/sda2 is an ArchLinux install and the location of /boot with syslinux being used. /dev/sda1 is a ...
1
vote
1answer
255 views

Make firefox window transparent on Gnome-Shell

How can I make the top part of Firefox (AKA the tabs/settings bar/bookmarks/url bar) transparent on Gnome-Shell? I've searched, but didn't find any answer. I mainly want to make it semi-transparent so ...
0
votes
0answers
54 views

Can only connect to ssh remotely not locally

This have worked for over 3 months now, but when I try to connect to the server locally now it's pings out. But when I connect remotely from work or from my mobile it connect right away. I haven't ...
0
votes
3answers
247 views

How to locate where is this mentioned in bash

I removed rvm but now every time I do ls I get this message: -bash: /usr/local/rvm/scripts/initialize: No such file or directory It looks like it's still calling it from somewhere but can't seem to ...
0
votes
1answer
2k views

How do I debug Bind9 DNS server configuration? It is not sending requests to forwarders

I have got DNS Bind9 server installed on my VirtualBox Debian host. Another host from the same network has the nameserver address set as IP_OF_MACHINE_WITH_BIND. This was working ok for some time. ...
7
votes
4answers
741 views

Manual clone/recreate virtual disk

I am trying to clone a virtual disk image in a fairly manual fashion. The overview of my methodology so far is as follows: Create virtual machine in VirtualBox with 120GB HDD (hypervisor and HDD ...
0
votes
1answer
3k views

E: Some index files failed to download. They have been ignored…” when tunning “sudo aptitude update”?

This is what the end of output after I run sudo apt-get update on Ubuntu 12.04: 35% [Working]W: Failed to fetch http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/precise/main/source/Sources 404 ...
0
votes
0answers
32 views

Which are the main steps to configure ssh?

I've been working with ssh to connect my localhost to my VPS without trouble. But now, I want to do the same conversely (connect my VPS to my localhost). Why? Because I want to create a crontab job to ...
3
votes
2answers
7k views

Static IP Address with NetworkManager?

I just wanted to set up a static IP address for a fedora 19 machine in my LAN. I'm used to /etc/network/interfaces from debian but that file doesn't exist here. After googling around a little bit, I ...
2
votes
2answers
113 views

Is there a programmatic Linux/Unix/Mac way to obtain the dimensions of a JPEG?

Inner Sanctum ~/mirror/images $ file wardrobe_square_90.gif wardrobe_square_90.gif: GIF image data, version 89a, 90 x 90 Inner Sanctum ~/mirror/images $ file wardrobe_square_90.jpg ...
0
votes
2answers
309 views

How to increase Virtualbox disk size?

I am using Windows XP under VirtualBox and using a hard disk from a .hdd format file. My problem is, even after trying hard, I can't resize my hard disk. Can anyone help me to resize my VirtualBox ...
2
votes
4answers
1k views

What are unnecessary files in Linux and how to clean them up?

On Windows, we have Disk cleanup to clean some files. Other than that, we can search for *.bak or *.tmp files and other unnecessary files and delete them. But in case of Linux, which files are ...
6
votes
3answers
3k views

Watch Filesystem in Real Time on OS X and Ubuntu

I'm looking for a CLI tool which will watch a directory and spit out the names of files that change in real time. some_watch_command /path/to/some/folder | xargs some_callback I'm aware of inotify ...