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

4
votes
2answers
193 views

How to create a directory symbol like ~ for HOME?

I've got a directory path for which I want to create a shortcut, like ~ for a users home directory. I've tried the ENV variables, and I could match $<something> for a path, but I dont want ...
6
votes
3answers
11k views

How to launch TeamViewer to act as a server only using a shell?

I have root shell access to a server, but need to use graphical applications on it. How could I launch TeamViewer (that is already installed) on the linux server, so that I could get the ID and ...
5
votes
2answers
4k views

How to get write access in guest os (linux) for raw disk (ext4) with virtualbox on Win7 host?

I created the vmdk-file as describe in Chapter 9. Advanced topics and added it to my guest vm. After it, I could mount the entire raw disk up in my linux guest vm. Now I can read the ext4 file system, ...
2
votes
1answer
41 views

How do I install an icon with an underscore in its name with xgd-menu?

The image file is here, named it 'An_Icon.png' and saved it to ~/Desktop . I used the following commands to install it to my menus: xdg-desktop-icon install --novendor ...
0
votes
2answers
1k views

blocking port 80 via iptables

I'm having problems with iptables. I am trying to block port 80 from the outside, basically plan is we just need to Tunnel via SSH then we can get on the GUI etc. on a server I have this in my rule: ...
2
votes
4answers
54 views

Removing partition to install OS?

So i have a computer that has 2 hard drives and i installed Ubuntu server on it. I used LVM to connect the two. So i tried to put windows back on it but it failed because it said it couldn't position ...
2
votes
2answers
559 views

How to restrict user from login saturday and sunday

I am trying to disable login from user avi on Saturday and Sundays, For that I entered this line in /etc/security/time.conf login;*;avi;Wd0900-1700 For checking this I changed system timing but ...
1
vote
2answers
4k views

Linux route add between static LAN and Wifi Gateway

I have two local machines connected to each other via wired ethernet and one of those machines is also connected to a wifi network which provides internet access. A pseudo-graphical representation ...
2
votes
1answer
479 views

Bash filename tab completion

I have noticed sometimes that tab completion is helpfully filtered in bash. I am a java programmer and often use the java and javac commands in the terminal for quick or remote tasks. Say I have the ...
2
votes
1answer
392 views

How to mount a partition on the root directory (for example /data)

I am installing Ubuntu on my empty hard drive and I would like to have a separate partition on which I would store my data, like movies, music, documents, etc. I don't like the idea of putting those ...
1
vote
1answer
500 views

Log rotation with automatic *.log file discovery

I am hosting several websites which each of run their own Python process and write *.log output files, but the directory structure is not standardized. Example: -rw-r--r-- 1 plone plone ...
9
votes
4answers
30k views

How to get domain name in Windows using command?

I need a similar command to Linux' domainname on Windows without using any third-party application. Is there such a command?
4
votes
1answer
212 views

Linux terminal - frozen update of input but can execute commands?

How do I restart a shell session from within SSH when it looks something like this: anton@ubuntu:~$ c: command not found anton@ubuntu:~$ lib ...
0
votes
1answer
337 views

How to display a message upon login to specific tty

In /etc/securetty I commented out tty2 and tty3: #tty2 #tty3 This succesfully disables root login for these two terminals for root. But is it possible to display a message such as "root login is ...
4
votes
1answer
156 views

People tagging in photos in Linux

I have recently started (once again) to fiddle around with Linux, currently running Kubuntu 12.04. I have a rather big library of Photos, a lot of which have people tags set up in Windows Live ...
2
votes
1answer
130 views

Using X11 over the network to get more screens

I have two machines each of which can drive two displays, and I'm trying to figure out how to configure X so that I have 4 X screens all managed by the same window manager. I'm running Ubuntu 12.04 ...
0
votes
2answers
688 views

VMware Workstation 7&8&9 does not generate /etc/vmware/network upon installation

When I install VMware Workstation on Arch linux Virtual ethernet is not working. $ sudo tail /var/log/vnetlib Aug 28 22:20:33 VNLFileExists - Cannot check for file or directory: ...
1
vote
1answer
95 views

Linux remap capslock to iso <>| key

Heres my .Xmodmap: remove Lock = Caps_Lock keycode 66 = less greater less greater bar brokenbar bar brokenbar The greater an less signs are working but the pipe still does not want to. What am I ...
2
votes
3answers
2k views

Linux, how to know the current boot disk

I've a Linux Centos (5.0) machine with 2 disks. I was changing the SATA cable to one of the disk when I realized that depending on what SATA slot I'm using, the OS starts from sda or sdb. The problem ...
1
vote
0answers
102 views

VirtualBox Linux Mint Refuses to Save to Hard Disk

Every time I start up Linux Mint and add some files to the Desktop, they disappear when I shut down and restart the OS. I could just save the state of the machine every time, but that's a bit ...
1
vote
1answer
63 views

A tiered approach to cloning linux partitons

I'm looking at a strategy for cloning Linux (root) partitions without having to use a Live CD. Literature suggests rightly that the source and target partitions must be umounted to be able to get a ...
21
votes
4answers
73k views

How do I exit an SSH connection?

I’m connecting to a server via SSH to send a message to a socket server using a command like: ssh 181.169.1.2 -p 5566 After the connection is established and I write the message and send it I ...
5
votes
1answer
2k views

Is there a way to turn my computer into a bluetooth keyboard? [duplicate]

Possible Duplicate: Use laptop as bluetooth keyboard? Here are the facts: I have a computer (hurray!) It has a working bluetooth chipset It is running Linux (Debian) My tablet (an iPad, ...
0
votes
1answer
77 views

setting up a WGR614v7 behind a linux box

Here's the setup, I have an openSUSE box with 2 NICs, one goes to my home network router, the other has DHCP running and it attached to a wireless router. I'm trying to get this setup to work before ...
0
votes
1answer
1k views

How to add delay in autologin

I enabled autologin in my system (CentOS 6.2) for that I edited this file /etc/gdm/custom.conf In that I entered this code [daemon] AutomaticLoginEnable=true AutomaticLogin=test Here test means ...
-2
votes
1answer
339 views

How to use GIMP as an image viewer?

I want to open a file then move to the next one with a keystroke. I don't want to install a separate image viewer only for this.
1
vote
1answer
133 views

How to Attach a C Program executable to a Keyboard Key

OS: GNU/Linux I have a program: hello.c Executable: hello Required: The executable "hello" is not running. I press Key "F1". The executable "hello" automatically runs & produces the ouput ...
1
vote
1answer
176 views

How can I give a user in Fedora 14 the rights to write in a folder and all the sub-folders in it?

My program needs to write in /var/log as well as /usr/lib including all the sub-folders in these directories. How do I give permission for my program to do it?
3
votes
1answer
64 views

Checking pids under all users and re-launching the processes after reboot

Is there a way to check all pids of all users under /home directory, and to run these processes again after a reboot or shutdown? For example, if user1 was running a psybnc and user2 was running an ...
1
vote
1answer
193 views

Why does CPU processing time matter when compared to real wall clock time?

I am running the command time 7zr a -mx=9 sample.7z sample.log to gauge how long it takes to compress a file larger than 1GB. The results I get are as follows. real 10m40.156s user 17m38.862s ...
4
votes
2answers
3k views

How to find which package certain command belongs to on CentOS?

For example I can easily find locate command belongs to mlocate.i386 package. yum search locate mlocate.i386 : An utility for finding files by name [mirror@home /]$ rpm -qa | grep locate ...
2
votes
3answers
2k views

How to use updatedb command as an ordinary user?

The locate command is very useful tool on Linux, but it seems only root can run updatedb command which is very unconvinent to use it. So how to make ordinary user to have the priviledge to run ...
0
votes
1answer
9k views

How do I mount internal HDDs in Ubuntu via the command line?

I'm new to Linux and have a home server set up running Ubuntu. In the GUI it's very easy to mount my additional internal hard drives. I just double click on them. Since I have made this server ...
1
vote
1answer
6k views

How can I install GNOME 3 on CentOS 6.3?

Would be possible to install GNOME 3 (instead of 2.28 that ships with CentOS) on a minimal CentOS 6.3 install? Is there any repository that provides packages for the new version?
0
votes
0answers
246 views

Linux Sound Drivers - Recompiling kernel with ehcd-hcd module

I just installed Linux Mint and I am trying to get my usb soundcard to work. I am completely new to Linux so I have only been learning about all the important parts of the OS this afternoon. No one I ...
3
votes
2answers
2k views

How can I set IRCD-Hybrid server password?

I have been struggling with this for days, is there a way to set up a password for an ircd-hybrid server so that no one can connect to it without first entering a password? I have the server up and ...
1
vote
5answers
665 views

Are there differences between installing Linux from USB or CD?

What are the differences between the following two scenarios? copying the content of a Linux ISO file to a USB drive (with the dd command), then booting from it burning the ISO to CD, then ...
1
vote
0answers
160 views

Without pam (Pluggable Authentication Modules) how linux system will behave?

Suppose if we create nologin file under /etc then only root can login, but if we comment on all pam_nologin.so line in every file under /etc/pam.d/ then other user also login. That means these ...
1
vote
1answer
460 views

connect to windows vpn (peap) from linux

Our admin just changed the vpn stuff to something different and I'd like to know how to connect to the windows vpn from a linux (debian testing) box. a certificate file (in p7b format, which I was ...
1
vote
2answers
411 views

linux locate command sort by date

The linux locate command is great at finding files quicky. My question: how can we use the locate command so that the results are returned in date/time order?
0
votes
2answers
2k views

How to recover deleted file in Linux [duplicate]

Possible Duplicate: How to recover a removed file under linux I have run the rm -rf * command mistakenly at the [user]@localhost location. Because of that I lost all the files in my user ...
2
votes
1answer
197 views

vi insert text for specific line ranges

Seeking help in vi editor. I want to insert in the begin of line. I wanted it to be insserted for specific line ranges. for eg, line number 1 to line number 20. Any idea
0
votes
0answers
23 views

what is the exact command to Restart a redhat linux system via ssh? [duplicate]

Possible Duplicate: what is the exact command to Restart a redhat linux system? I want to restart the Linux (Redhat server 6.3) System via ssh. I am accessing the remote machine via Putty. ...
2
votes
3answers
43k views

What is the exact command to restart a Redhat linux system?

I am new in linux. I want to know the exact command to restart a red hat linux server 6.3. and it has to start network drivers etc. I am using VPN to connect to remote machine using VNC. Can anyone ...
0
votes
1answer
2k views

linux shell installing packages automaticc

I want to install packages automatically by running a script I can write yum install php but I want it to install another package once installation of the php package is completed Is there any ...
1
vote
3answers
5k views

How to convert a wireless ADSL router/modem to just an access point and a modem and use an external Linux box as a router (internet gateway)

My home network setup is just a typical one. A "dump" box from Vodafone containing everything (ADSL modem/router + 4-port Ethernet switch + Wireless access point). Since I am kind of a techie, I ...
1
vote
0answers
222 views

groups permissions not working

I'm confused why is this not working? Admin group is having access on the /opt directory and I'm the member of that group and still I can not make a new directory there. vita@eldamar:/opt$ ll / total ...
0
votes
0answers
73 views

Can someone put some restriction to copy few files from folder by root in linux

I have the backup script where i was making the tar backup of directory everyday. ON friday i note that my filesize was 30MB but beofrethat it was 200MB. I checked the main folder and it was around ...
0
votes
1answer
738 views

pdftk: Compressing a bunch of PDFs en masse/in batch while keeping the filenames?

I have a rather simple problem. I have a lot of PDFs that I want to compress, all grouped by college class. I don't have the time or energy to manually run the compress command when I know I can ...
0
votes
2answers
1k views

Why UNetbootin for USB but not CD-RW? [closed]

Usually, if I want to make a bootable CD for linux (Ubuntu. Mint, Debian, whatever) I just burn the ISO to CD and then restart the machine that I intend to install linux on with that CD inside it. ...