Toggle navigation
TechnoWikis.com
Email or Username
Password
Remember
Login
Register
|
I forgot my password
All Activity
Questions
Hot!
Pending
Ask a Question
Privacy Policy
Contact
Ubuntu, tips & advanced tricks 2/2
Home
Tutorials
Linux / Unix
Ubuntu, tips & advanced tricks 2/2
(adsbygoogle = window.adsbygoogle || []).push({});
+3
votes
208
views
Ubuntu, tips & advanced tricks 2/2
asked
Jun 24, 2019
in
Linux / Unix
by
backtothefuture
(
552k
points)
reopened
Jun 24, 2019
|
208
views
answer
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Add answer
Cancel
1
Answer
+4
votes
Best answer
This is the continuation of the Advanced Tricks Tutorial: Part 1
Browse the web from command line
It's always good to be prepared for everything, that's why it's a good idea to have a web browser based on command line in case something goes wrong with
Firefox
or with the entire
GUI
system.
In this way we can access our browser from the terminal and look for a solution on the web.
However, these browsers by command line are quite primitive, they do not show images, not even color.
In other words we can use them in cases of emergency or simply that you are a fan of the terminal.
We can install
links
via
Synaptic
which is one of the browsers per command line, the other is
lynx
that I personally do not recommend.
After installed we go to a terminal and write links.
Press g on the keyboard, enter the URL and navigate!
Create an Ubuntu bootable USB
Many times we do not have the installation disk of Ubuntu or we have a mini laptop without a CD drive, so Ubuntu brings us this functionality to create a USB installation, let's see.
Insert the USB, insert the installation CD of Ubuntu and run the program by clicking on
System
->
Administration ->
Install Live USB
.
Hopefully I will finish creating all the files and we will have Ubuntu on our USB to install it wherever we want.
Run applications without opening a terminal
If we want to open an application that does not have an entry in the menu, for example
gconf-editor
, it is not necessary to go to the terminal and execute it from there.
Just press Alt + F2, write the name of the program and if it is necessary to execute it with root privileges we wrote previously
gksu
and we are ready to execute our application.
Create a command to delete files that the trash can use
As many users will know when we use
rm
in the command line the deleted files disappear, forever.
However we can create our own command to move those files to the trash and there we can recover or delete them in the usual way, emptying the trash.
To do this we will create an alias and edit the .bashrc file in the / home directory.
1- Open a terminal and write:
gedit ~ / .bashrc
2- At the end of the file we add the following:
alias trash = "mv -t ~ / .local / share / Trash / files -backup = t"
3- Save the changes, close
Gedit
and open another terminal to test our new command.
For example, if we want to delete a document called documentonuevo.doc what we do is write:
trash documentonuevo.doc
The file will be moved to the trash and with this we will not have to worry about the documents deleted from the terminal.
Repairing Windows from Ubuntu
When we have Windows and Ubuntu running on the same computer and Windows for some reason does not want to boot we can repair the file system from Ubuntu.
For this we can use Synaptic to find the
ntfsprogs
package.
Once installed we go to a terminal and dismount the Windows partition (if it is mounted) and write:
sudo ntfsfix / dev / sda1
to check and repair the partition
(this assuming that the partition is / dev / sda1).
This is also useful when we can not access the Windows partition from Ubuntu with the
"Can not mount volume"
error
.
In this tutorial we have seen several of the features that Ubuntu provides us to perform tasks that we thought impossible quickly and easily.
I say goodbye on this occasion but without forgetting that this great distribution has many more secrets to discover.
answered
Jun 24, 2019
by
stackoverflow
(
3.5m
points)
edited
Jun 24, 2019
ask related question
comment
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Related questions
+5
votes
1
answer
Ubuntu, tips & advanced tricks 1/2
asked
Jun 24, 2019
in
Linux / Unix
by
backtothefuture
(
552k
points)
|
208
views
+4
votes
1
answer
Tips and tricks to master Google Translate
asked
Jul 3, 2020
in
Android Tutorial
by
backtothefuture
(
552k
points)
|
509
views
+3
votes
1
answer
Tips and tricks Huawei P30 and Huawei P30 Pro
asked
Jun 23, 2019
in
Android
by
backtothefuture
(
552k
points)
|
283
views
+4
votes
1
answer
Tips and tricks Samsung Galaxy S10 and Galaxy S10 Plus
asked
May 14, 2019
in
Android
by
backtothefuture
(
552k
points)
|
261
views
+4
votes
1
answer
2 tips for using WhatsApp without a SIM card
asked
Jun 27, 2020
in
Android Tutorial
by
backtothefuture
(
552k
points)
|
488
views
Sponsored articles cost $40 per post. You can contact us via
Feedback
All categories
Tutorials
7.5k
Microsoft
1.9k
Android
1.4k
Security
120
Linux / Unix
543
Internet
757
Virtualization
104
Apple
611
Networks
64
Other Devices
321
Other Applications
184
Hardware
19
Development
53
Digital Marketing
47
Databases
14
Graphic Design
30
Guides
794
GraphicDesign
54
Networking
4
PlayStation
186
Gaming
55
Linux/Unix
85
Manzana
33
Otherdevices
38
Otherapps
49
Digitalmarketing
39
Safety
1
Developing
2
Help
685
Social Networks
34
Android Tutorial
549
iPhone Tutorial
267
News
17
Social
6
Phone
11
Telephone
9
Applications
167
Smartphones
3
Cell Phones
11
Applications
25
Travels
6
Photo
21
Education
18
Games
25
Internet
14
Music
8
Technique
10
Video
6
Windows
5
Apple
2
Cell Phones
3
TikTok
216
Trips
2
House
1
Operating System
5
Tips & Tricks
892
Solutions
6
Tutorials
3
FAQ
1
Applications
5
Cell Phones
2
Tutorials
4
Computers
6
Tutoriales
2
8
Technology
2
In Computers
1
In Applications
2
Tutorials Tutorials
9
Applications Applications
25
Aplicaciones Applications
4
Devices Devices
5
Tutoriales Tutorials
1
Tutorials u00a0 Tutorials
2
Applications u00a0 Applications
2
Devices u00a0 Devices
1
OS OS
1
Etc Etc
2
Most popular questions within the last 30 days
Please leave a comment about whether the solution works or not (with device model)
[X]Close
10,659
questions
10,791
answers
510
comments
3
users