Most Popular
1500 questions
136
votes
7 answers
how do you copy a directory and its contents to a new location under a new directory name?
I'm new to the Linux command line and am trying to get to grips with the copy command at the moment. Can anyone please tell me if it's possible to copy a directory with its subdirectories and associated files to a new directory with a new name, e.g.…
Edmuntu
- 1,373
136
votes
8 answers
How do I install Adobe Acrobat in Ubuntu 16.04?
I know the thread How do I install Adobe Acrobat Reader deb package downloaded from Adobe website? However, there is no Linux anymore in the installation site here . Unsuccessful attempts I do DriraWassim's proposal which does not add anything to…
Léo Léopold Hertz 준영
- 4,797
136
votes
8 answers
How to run a checkdisk?
I suspect there might be bad sector on a disk. I used ext3 filesystem. What tool is the best equivalent of the error checking tool of Windows?
Guillaume Coté
- 3,882
136
votes
4 answers
apt-get install vs pip install
I am a bit confused about the cases in which the above commands must be used when downloading python packages. I was trying to download a package named pyudev in accordance with an answer with this question . I executed this command : sudo pip…
Vineet Kaushik
- 2,314
136
votes
9 answers
How to clear text in a file?
How to clear text that existed in a text file without opening it? I mean for example I have a file as hello.txt with some text data in it, and how can I clear the total text in that file without opening it? By this, I mean not using any editor like…
Raja G
- 105,627
- 107
- 263
- 332
136
votes
15 answers
Tool to add shapes, annotations and text using templates to images
Often I need to annotate (draw some arrows, lines, basic shapes like squares, ellipses etc and enter some text) on top of pictures (JPG, PNG images) and screenshots (again png images). I would also need to be able to crop, resize etc. I tried the…
koushik
- 5,142
136
votes
6 answers
Can I set my user account to have no password?
If I attempt to change my password to nothing by opening "User Accounts", the "Change" button remains greyed out: How do I change my password to be empty? I know you can set Ubuntu to automatically log you in, but I want my password to be empty, I…
Flimm
- 43,943
136
votes
6 answers
Where are the OpenVPN connection logs and configuration files?
I have problem connecting to OpenVPN server. Where are OpenVPN log files and how do I find the connection details?
Hojat Taheri
- 5,569
136
votes
10 answers
How to create a new blank file in Nautilus 3.6 and above?
I used to create new blank files in Nautilus (Files) using the right click context menu. It really saved me a lot of time. Since Nautilus 3.6, there is no such entry. Is there a way to create a new blank file in Nautilus 3.6 and above?
remjg
- 3,823
135
votes
10 answers
Bash remove first and last characters from a string
I have a string like that: |abcdefg| And I want to get a new string called in someway (like string2) with the original string without the two | characters at the start and at the end of it so that I will have this: abcdefg Is that possible in bash?
Matteo Pagliazzi
- 2,803
135
votes
4 answers
What's the risk of upgrading over SSH?
When I run sudo do-release-upgrade over ssh, I get the following message. This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in case of failure it is harder to recover. If you…
C. Ross
- 3,067
135
votes
5 answers
What is gdm3, kdm, lightdm? How to install and remove them?
What is gdm3, kdm, lightdm? How to install and remove and repair them? Can anyone explain in details?
Shateel
- 1,463
135
votes
9 answers
How do I install openjdk 7 on Ubuntu 16.04 or higher?
I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7. Apparently it is not available from a trivial apt-get install openjdk-7-jdk . Only versions 8 and 9 are listed in the repository. Can anyone point me to…
onairda
- 3,055
135
votes
12 answers
How can I set default terminal used in Unity?
How can I set the default terminal used in Unity? I would like to use the Ctrl + Alt + T hotkey to start a non-default terminal. The default terminal is gnome-terminal. Where can I change the default terminal value?
Regisz
- 2,180
135
votes
4 answers
Changing from user to superuser
How do I change from user to superuser (root)? What command do I use in the Terminal to switch to root? I have tried --help but I get lost with all the listed help. I'm looking for a recent download/install so I can use it.
pcgeek
- 1,351