|
- Ask Ubuntu
Q A for Ubuntu users and developers Stack Exchange Network Stack Exchange network consists of 183 Q A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers
- How to add a directory to the PATH? - Ask Ubuntu
Both will work if your shell is a login shell But I just tried the bash_profile approach on one of my Ubuntu machines and even after restarting my gnome session it didn't source my bash_profile So I would say that putting this in bashrc is probably the way to go with Ubuntu –
- How do I check the version of Ubuntu I am running? [duplicate]
$ lsb_release -c Codename: vivid $ lsb_release -d Description: Ubuntu 15 04 $ lsb_release -dc Description: Ubuntu 15 04 Codename: vivid Note you can get similar information about the currently running kernel, and the hardware by the similar command:
- How can I resize an ext root partition at runtime? - Ask Ubuntu
GUI (Ubuntu 14 04 and later): GParted v0 17 and later provide a nice GUI for this (Older versions will refuse to resize a mounted partition) Command line (any Ubuntu version): There are three steps to this Step 1 The partition must first be resized If you're using LVM, it's easy, and you presumably know how to proceed
- hostname - How do I change the computer name? - Ask Ubuntu
In addition to editing etc hosts and etc hostname, various services might have issues with the change as well Mysql and postfix are installed by default in ubuntu A broken postfix won't affect most ubuntu users, since it's a background email server that isn't used by much Postfix: sudo editor etc postfix main cf sudo service postfix restart
- How to unzip a zip file from the Terminal? - Ask Ubuntu
Stack Exchange Network Stack Exchange network consists of 183 Q A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers
- How can I create an administrator user from the command line?
(If you're running Ubuntu 11 10 or earlier, use the admin group ) Default values are stored in etc adduser conf, you can check them with less etc adduser conf To create a user and add it directly to the sudo group use adduser <username> --group sudo (Again, use admin in place of sudo for 11 10 and earlier )
- How do I set up a Cron job? - Ask Ubuntu
If the job you want to run can be run with the same privileges as your user I recommend using a user crontab which you can edit by running EDITOR="gedit" crontab -e (which will use gedit to edit the crontab file) or simply crontab -e (which will use the default editor) in a terminal
|
|
|