Most Popular
1500 questions
483
votes
13 answers
How do I install Sublime Text 2/3?
I installed Sublime Text 2 on 12.04 as per this tutorial.
However I don't have adequate permissions when launching the program from the Unity launcher. For example I cannot install packages, or if I add a folder to the sidebar when I close Sublime…
Michael Gruber
- 4,941
482
votes
9 answers
How to remove all files from a directory?
The closest I've gotten is
# rm /path/to/directory/*.*
but that doesn't work for files that don't have an extension...
user784637
- 11,465
481
votes
7 answers
What does "cp: omitting directory" mean?
I've issued the following command:
sudo cp ~/Transfers/ZendFramework-1.11.4-minimal/library/Zend/* ~/public_html/cmsk.dev/library/
When I do this, I start getting the following messages:
cp: omitting directory `Tag'
cp: omitting directory `Test'…
MEM
- 11,255
477
votes
12 answers
How do I move all files from one folder to another using the command line?
I would like to know how could I move all files from a folder to another folder with a command line.
Let's say I'm in my Downloads folder and there are a 100 files that I would like to move to my Videos folder, without having to write all the files…
Michael
- 4,771
476
votes
18 answers
How to force a clock update using ntp?
I am running Ubuntu on an ARM based embedded system that lacks a battery backed RTC. The wake-up time is somewhere during 1970. Thus, I use the NTP service to update the time to the current time.
I added the following line to /etc/rc.local…
ysap
- 7,191
475
votes
20 answers
How do I check the battery's status via the terminal?
I would like a command that displays the battery status in the terminal.
Joe
- 4,751
473
votes
5 answers
How can I see all versions of a package that are available in the archive?
Is there a way I can see all the versions that are in the archives that I have configured in sources.list. I can see the last version of each archive withapt-get policy, but how can I see them all?
Is there any way that this can also include PPA and…
txwikinger
- 29,406
471
votes
8 answers
How do I change the GRUB boot order?
I have both Windows 7 and Ubuntu installed on a shared machine. Because a lot of the non-developers use Windows, I'd like to change the boot order to make it easier for them.
Currently the boot order looks like the following:
Ubuntu 11.10…
chrisl-921fb74d
- 11,136
467
votes
7 answers
How to show line numbering in nano when opening a file
Is there a way to tell nano to automatically show line numbering each time I open a file?
Luis Alvarado
- 216,643
466
votes
6 answers
How can I change the date modified/created of a file?
Is there a way to change the date when a file was modified/created (which is shown in Nautilus or with the ls -l command)? Ideally I am looking for a command which can change the date/time stamps of a whole bunch of files to a certain amount of time…
snej
- 4,661
466
votes
10 answers
How to get to the GRUB menu at boot-time?
My system is not dual-boot, I run a standard Ubuntu desktop system "on the metal" (I think running it in a VM is the same).
Pressing c while booting does not cause the GRUB menu to appear (which I believe it does for a dual-boot system).
How can I…
Peter.O
- 25,251
465
votes
5 answers
How to make a file (e.g. a .sh script) executable, so it can be run from a terminal
I have a script.sh file and type of this file is shellscript file. I want to make this file as application/x-executable file. How can I make it?
Ziyaddin Sadygly
- 7,579
- 6
- 28
- 34
465
votes
16 answers
How can I edit/create new launcher items in Unity by hand?
Will Unity allow making custom launcher icons from .desktop files or via menu editing system? (Right now the launcher doesn't give the option to "keep in launcher" on all programs.
For some programs I use, I have to make custom launchers or .desktop…
Ike
- 5,122
457
votes
3 answers
How can I break out of ssh when it locks?
I frequently ssh into my box at home from school, but usually when I change classes and my computer suspends, the pipe will be broken. However, ssh simply locks up - Ctrl+c, Ctrl+z and Ctrl+d have no effect.
It's annoying to have to restart my…
Wayne Werner
- 6,872
456
votes
3 answers
Mount error: "unknown filesystem type 'exfat'"
When trying to mount an exfat filesystem, I get the following error:
Error mounting /dev/sda6 at /media/gkp/Backup: Command-line
`mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" "/media/gkp/Backup"'
exited with non-zero exit status…
Ganesh
- 4,569