Most Popular
1500 questions
254
votes
4 answers
What does an "exec" command do?
I have seen exec command used inside scripts to redirect all output to a file (as seen in this). But in simple words, what does it do?
a06e
- 14,233
254
votes
12 answers
How to uninstall LibreOffice?
Which package should I remove to completely remove libreoffice? I have no need for office tools.
That's the one gripe I have with package managers like apt, there's no simple way to perform the essential task of removing unwanted software :S
lapin
- 2,805
253
votes
2 answers
Customizing tray/taskbar date display in Ubuntu with GNOME 3
On previous versions I had the date displayed. Now it just shows the current day but not the day's number or the month.
Is there a way to customize the clock or tray/taskbar more in GNOME shell on Ubuntu 17.10 and later?
neuromage
- 2,744
253
votes
10 answers
How to burn a Windows .iso to a USB device?
I want to burn a Windows ISO to a USB device in Ubuntu. How do I do this?
I know how to burn a Ubuntu ISO into a USB device, but with a Windows ISO it's not the same.
alerbeham
- 2,555
253
votes
5 answers
How can I retrospectively create a default home directory for an existing user in terminal?
I created a user without a home directory and now I want to create a home directory for them. Not just a folder called /home/new-user, but a complete default home directory with all the normal folders and hidden files, etc.
How can I do that?
Jo Rijo
- 2,665
253
votes
8 answers
Sudoers file, enable NOPASSWD for user, all commands
Preface
This is a fairly complex question related to the sudoers file and the sudo command in general.
NOTE: I have made these changes on a dedicated machine running Ubuntu Desktop 13.04, that I use purely for learning purposes. I understand it's a…
nicholsonjf
- 2,721
253
votes
3 answers
How to open file with default application from command line?
In Nautilus, when you double click a file, it will open it with the default application associated with the file's extension. For instance, .html files will open in a web browser and .pdf will be opened with Document Viewer. Is there a way to…
Olivier Lalonde
- 60,581
253
votes
7 answers
Why does "(base)" appear in front of my terminal prompt?
I'm wondering why I have (base) on the left of my terminal prompt.
If I run source ~/.profile in the terminal, it disappears.
If I close that terminal and reopen a new terminal, (base) is there again.
I'd like to know what it is.
Here's the content…
Jimmy
- 2,633
252
votes
15 answers
How do I enable syntax highlighting in nano?
Can nano do syntax highlighting like gedit and vim? How can I enable it? I need at least bash and python syntax highlights.
Oxwivi
- 18,499
252
votes
20 answers
Running a .desktop file in the terminal
From what I can gather, .desktop files are shortcuts that allow application's settings to be customized. For instance, I have lots of them in my /usr/share/applications/ folder.
If I open that folder in nautilus, I can run these applications just…
Malabarba
- 10,546
252
votes
25 answers
How to show only hidden files in Terminal?
I have a directory that contains thousands of files, some of which are hidden.
The command ls -a lists all files, including hidden ones, but I need to just list hidden files.
What command should I use?
nux
- 39,152
252
votes
9 answers
Is it possible to get a list of most recently installed packages?
Is it possible to get a list of packages that were most recently installed through apt-get?
Olivier Lalonde
- 60,581
251
votes
7 answers
Force alt + tab to switch only on current workspace in GNOME shell
I am looking for a clean and fast method to force GNOME in Ubuntu 14.04 to switch between active apps only on the current workspace when pressing the shortcut alt + tab.
daniel451
- 7,613
251
votes
7 answers
What is "umask" and how does it work?
I believe that umask is something that controls file permissions, but do not fully understand it.
After running umask 0644 in a terminal, I cannot read the files I create with the command-line text editor nano. I noticed that the permissions of that…
Lekensteyn
- 178,446
251
votes
8 answers
How do I add a user to the "sudo" group?
In /etc/sudoers I see this:
# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
So how do I add a…
coffee-grinder
- 4,215