How to set permanent environment variable in Ubuntu
>>> open ~/.bashrc by command:
gedit ~/.bashrc
or
nano ~/.bashrc
or
vi ~/.bashrc
>>> Then add the bottom add variable like
variable_name= value
>>> Then save and your are done.
>> From Next Time restart terminal and use $variable_name, echo $variable_name
How to zip unzip in Ubuntu
zip -r my_arch.zip my_folder
unzip my_arch.zip
tar -cvzf may_arch.tar.gz my_folder
where
- -c means "create"
- -v means "verbose" (sometimes bothersome and slowing down...)
- -z means "use (GNU)zip"
- -f XYZ declares the name of the output file. (You should chose a helping name like XYZ.tar.gz)
Add “New Document” back to the right-click menu in Ubuntu 18.04
touch ~/Templates/"Untitled Document.txt"
Comments
Post a Comment