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
6k views

In Linux how to make a file with a name that is current date and time

I want to make a file which name will be a current date and time. I can create a file with the touch command. Also I can get current time with the date command. So, I think, I need to somehow pipe the ...
0
votes
1answer
854 views

put a user into a group that has write permissions in /srv/www/ on opensuse 12-1

I have to do some operations within my fresh installed open-suse-operating-system version 12.1 I need to put a user into a group that has write permissions in /srv/www/ why: my server resides ...
1
vote
2answers
770 views

Linux disk usage graphical statistic tools like WinStatDir

Is there a tool like WinStatDir that can present a graphical stats of disk uage? Showing folders/files in different size of rectangles by its disk usage. Looks like Mac has similar drive visualization ...
0
votes
2answers
2k views

Running Linux with Intel and Nvidia Cards - Way to select at boot time?

I have a Dell XPS L702X laptop which has an Intel and Nvidia card built into it. In Windows the laptop will switch between the two depending on power usage, so I can run the Intel card when I want ...
1
vote
3answers
2k views

Unable to mount VirtualBox share with Linux host and Windows guest

I am running Linux Mint 12 and have installed the latest version of VirtualBox. I have installed Windows 7 as a guest. I have also created a share with the name share. I attempted to run the command ...
1
vote
0answers
58 views

tazpkg install option asking for su when in chrooted image

I am trying to install a couple of packages in slitaz chrootd image but tazpkg keeps asking for su privilages. I have fallowed this tutorial http://doc.slitaz.org/en:handbook:chroot Host is Ubuntu ...
1
vote
1answer
52 views

unexpected return value of time command

These commands work fine: (calculates time between opening and closing the program) time gedit time emacs time vim But this command always gives a time under 1 second. It's probably time which ...
0
votes
2answers
2k views

How to download a live video from the internet

I would like to know how to download a live video from the internet, My guess is that I could use downloadhelper.net or the Video DownloadHelper add-on. If not, how could I do that on Windows, Linux ...
1
vote
3answers
704 views

What's the best way of running a Linux distro transparently on top of Windows?

I'm having an issue I'm sure lots of people have. I LOVE Unix and I'm indifferent about Windows. I would love to be on Unix all the time, but as an avid gamer I find myself forced to use Windows. But ...
1
vote
2answers
3k views

Why did wget download to the home directory (Linux) rather than the specified directory?

I ran the wget command via the terminal for the very first time(linux newbie) and rather than downloading the file to the path I specified i.e. wget {URI} /home/{username}/Downloads but it downloaded ...
4
votes
2answers
761 views

Why does System Monitor on Linux show me 4 CPUs?

In the attached screenshot, why does it show that I have four CPUs when I know I only have a single CPU installed on my PC? What do each of them refer to?
1
vote
5answers
279 views

Home Internet lockdown?

I've noticed that at schools and such, their networks are somehow able to block certain sites from anyone who connects to it. I would like to set up a similar system at home for my family and all ...
1
vote
1answer
456 views

Debian Linux cron stubbornly refuses to run at right time

I have a Debian Linux server, recent install. It has this cron job: 7 1 * * * /do/something/important.sh As I read that, it should run at 1:07am. Instead, it runs at 5:07pm. So, wrong ...
0
votes
1answer
600 views

where to download yum-utils-1.1.16-21.el5.noarch.rpm?

I am trying to install yum-utils package,yum-utils-1.1.16-21.el5.noarch.rpm, for RedHat linux. However, I could not find where to download it form. Anyone has any idea ? Thanks
1
vote
1answer
277 views

ifconfig fails to install route if interface ip is existing broadcast address

Consider the following setup: X@Y:~$ sudo ip link add link eth0 name eth0.3 type vlan id 3 X@Y:~$ sudo ip link add link eth0 name eth0.2 type vlan id 2 X@Y:~$ sudo ifconfig eth0.2 192.168.2.1/30 ...
28
votes
3answers
55k views

Linux: find out what process is using all the RAM?

Before actually asking, just to be clear: yes, I know about disk cache, and no, it is not my case :) Sorry, for this preamble :) I'm using CentOS 5. Every application in the system is swapping ...
0
votes
1answer
170 views

A backup user with specific permissions

I need to create a user on my CentOS box which is only allowed to run a couple of commands: lvcreate lvremove mount kpartx rdiff-backup And access to all files in /dev/ and /mnt. How do I set this ...
1
vote
1answer
832 views

How can I improve Nvidia graphics performance in Linux?

I'm running Fedora 16 64-bit, my graphics card is an Nvidia GTS 250. Adobe flash performance is poor compared to Windows, and GPU accelerated video decoding doesn't seem to be fully working (worked ...
1
vote
0answers
119 views

Seamless desktop startup

I use Xfce + Compiz + Emerald. When the system starts up I see: Xfce starting up (desktop background, desktop icons, taskbar) Compiz startup (the whole screen goes black and everything rebuilt) ...
0
votes
1answer
394 views

scp permission error

I am trying to do a scp from a server where the user home directory has been given permission 744 recursively. On doing scp I am getting the following error "C0744 1733 database.cpp" . The situation ...
1
vote
1answer
879 views

Conky only appears in first tag in awesome?

When I start conky in my awesome desktop environment, conky only shows up in my first tag. Same situation occurs when I start pcmanfm with --desktop params. Only first tag has a Desktop, but the ...
3
votes
4answers
4k views

Setting ID3 title tag to be equal to MP3 file name

Has anyone got a bash script that will go through a media library and set the id3 title tag of each MP3 file to be equal to the file's name? I'm open to other automated methods too. It can be a GUI ...
11
votes
4answers
18k views

When would you use apt-get remove over apt-get autoremove?

I understand that apt-get remove removes packages and apt-get autoremove is to remove any packages that were installed to fulfil a dependency for a given package. So for example if I installed ...
2
votes
1answer
2k views

How to force client static leases (IP addresses) to update/change immediately?

My router runs dd-wrt and it assigns static leases to DHCP clients. The clients all use DHCP. I recently changed the IP addresses I want assigned to clients. But the clients are not updating ...
0
votes
3answers
312 views

Does apt-get update download any packages?

If I run the command apt-get update are any packages downloaded? My understanding is that it only updates the repositories. Based on that understanding does, that also mean that it updates the ...
2
votes
2answers
546 views

Why does 'killall killall' not work? [duplicate]

Possible Duplicate: Unexpected killall behavior If running the command killall killall from a terminal (I used Konsole of KDE 4), it says it could not find any process. killall runs, looks ...
6
votes
2answers
8k views

How to create NTFS partition in Linux to install Windows 7 from USB?

I messed up with my computer and need help. Generally: install Windows 7 from USB. Problem: "setup was unable to create a new system partition" When first attempt to install Windows 7 failed I ...
1
vote
3answers
1k views

Persistent BackTrack on USB

Can someone explain how to make a persistent installation of BackTrack 5 on an 8GB USB drive?
1
vote
0answers
430 views

slow git performance

I have an older machine with a git repository on it that I use to keep synchronized with svn. I've noticed that with running basic commands like git status, it is ridiculously slow. I was initially ...
1
vote
2answers
433 views

No access to remote port 22

I can't use distants port 22 anymore. This problem appeared "magically" when I booted today and tried to push some files on a remote git repo. I run on Ubuntu 11.10. I tried connecting to other ...
0
votes
1answer
699 views

Defining the correct Apache document root

I am pretty new to Linux and I tried to install & configure the Apache 2 on OpenSuse 12.1. Is this the document-root? /home/username/public_html is this correct!? see the page 3 /or 4 of the ...
6
votes
2answers
3k views

find files with ACLs set

How can I find all files with some extended ACLs set, i.e. those with a little + at the end of the permission flags shown by ls -l. I could not find a corresponding flag for find. My naive approach ...
3
votes
1answer
3k views

linux change ext4 block size to 8192 now can't mount it

I've done that: mkfs.ext4 -j -b 8192 /dev/sda3 Now I'm trying to mount it with: sudo mount -t ext4 /dev/sda3 foo But I'm getting this error: mount: wrong fs type, bad option, bad superblock on ...
0
votes
1answer
4k views

How to give a user account root privileges in Fedora 14?

I want to give my user account root access rights permanently, how can I do that? I don't want to log in using the root account.
0
votes
0answers
41 views

Stop netbeans overtyping

Netbeans seems to have some ridiculous 'feature' which means that if you type the same letter as is immediately to the right of the carat, it just moves the carat instead of duplicating the letter. ...
1
vote
2answers
231 views

Applications for OS X to manage Linux servers over SSH

Are there any applications for OS X to handle these things in SSH for a Linux server? Store list of configuration files paths (/etc/apache2 etc. to remind where they are all located) Store list of ...
0
votes
4answers
1k views

ssh freezes when trying to connect to some hosts

When I try to ssh to particular machine/s in a list, The SSH command happens to be freezing. I tried out setting ssh timeout. But then also it's freezes even after the timeout. In verbose mode : ...
1
vote
1answer
55 views

Does the Update Manager in Linux distributions update packages installed via the terminal?

If I have installed packages via the terminal e.g. apt-get install flashplugin-installer, are updates available via the Update Manager?
1
vote
2answers
141 views

What's a good resource-saving way to monitor a single Linux server?

I have a single Linux server and it's occasionally unreachable for a while. I want to know what causes this (I suspect either high CPU or Memory usage). I would like to monitor: Global CPU/Memory ...
3
votes
3answers
2k views

How to count the number of characters on each line in vim?

In vim, how can I count the number of characters on each line? how to count number of characters? For example, if I open a file with above text, I want to see counts like below 3 2 5 6 20
1
vote
2answers
441 views

Mount internal HDD - folder location convention (unix)

Is there an agreed convention exactly where to mount internal harddrives? I read people use /mnt/ is used for external space like usb drives or portable harddisks. Some people use /usr/local/share/ ...
1
vote
1answer
695 views

vmstat: What are non-nice user cpu ticks?

Anyone know what the "non-nice user cpu ticks" line in vmstat -s means? For example: # vmstat -s 127180 total memory 23436 used memory 9828 active memory 6744 inactive memory ...
0
votes
1answer
237 views

Print via terminal without usblp

I need to print in an Epson TM-U220PD model M188D for receipts (without cups support), I used to write in a terminal [text] > /dev/lp0 but now usblp is deprecated. I can use this printer enabling the ...
0
votes
1answer
490 views

Remap shift-tab to tab in bash/screen/putty in Linux?

Well I use vi-mode in bash via the set -o vi command. What's annoying is when I'm typing words in capital then try to complete using tab but don't release the shift-key fast enough, it brings me out ...
0
votes
2answers
366 views

Dual boot Windows XP and Linux-based OS

I have a PC with Windows XP SP3, a 250GB HD (C,D,E,F drives) and 1GB RAM. XP got corrupted while working on the internet (happened 3 times this week), so I am going for a dual boot. If I install ...
0
votes
1answer
649 views

Do the “follow TCP stream” option in wireshark include duplicate packets?

When I tried to follow a TCP stream in wireshark, I found some duplicate packets. I wanted to know whether wireshark excludes duplicate(or retransmission) TCP packets from the "follow TCP stream" ...
1
vote
1answer
1k views

Use a remote linux bloated graphical application from OS X

I need to use remotely some graphical application in a linux machine. For very basic applications, I just connect remotely from my OS X Lion using ssh -X machine: and then ./gedit & and it ...
0
votes
1answer
7k views

How do I upgrade Sun Java (JRE) on Ubuntu 11?

On Ubuntu I've installed the Sun JRE from http://ppa.launchpad.net/ferramroberto/java/ubuntu oneiric and am at Version 6 update 26. (Outlined in the accepted answer here) I downloaded the bin file ...
3
votes
5answers
13k views

How to recover Linux from 'repair file system' error

Unfortunately my mom did something that I don't know and Linux is in command-line mode. What is the key for exiting from the shell and going to the desktop? I tried Alt + F2 Alt + F6 Ctrl + Alt + ...
1
vote
4answers
230 views

sed -e “s/-.*$//”

What does the -.*$/ in this command mean? Please help me decipher this. echo -n full | sed -e "s/-.*$//" I know what sed does and all that, I just want to know what this -.*$ part is.