Tag Info

Hot answers tagged

6

Specify the path. If you're in the directory with the binary, that's as simple as: ./python Or yes, do as Muru suggested and add it to the path. That said, changing the path could interfere with how applications (running under your user) call Python. If you deflect them to the wrong version, they may function incorrectly. There is not a good way to ...


5

The default terminal being used in Ubuntu is actually intended for Gnome environment, where you can see top Menubars of applications you are running constantly . However, Unity - the default environment in Ubuntu, always auto hides Menubars.Thus the "Show Menu Bar" option is useful when in Gnome environment, and as you stated doesn't make any difference in ...


3

If all the hidden files start with a dot (.), then you can do cp .?* /path/to/directory from the directory the hidden files are in. This command says copy all the files starting with a dot (.?*) to the directory specified. '*' is a wildcard. .?* requires at least one character after the dot '.'


2

What needs to be done In principle not a complicated question, however, you need to take care of a few things: You need (as I understand) to copy hidden files/directories recursively You will run into name clashes (duplicate names, I tried) The (python) script below takes care of both: It searches for files and directories recursively in given ...


2

Edit your ~/.bashrc file and add this at the end: function cfinfo(){ cf target | awk '$1=="Org:"{printf "%s-", $2} $1=="Space:"{print $2}' } That function generates the string IB-Production depending on the output of the command cf target -s production. Then add this after that function definition in ~/.bashrc: ...


2

Since I don't have enough reputation points to add a comment to the answer to improve it. It would seem that the only way I can add information is to create a second answer. So, I will repeat what was said as the answer and build on that. Edit the .bashrc file for the user that you want to have the date stamp modified for. If you see "user@host:~$" you're ...


2

From mv manpage: SYNOPSIS mv [OPTION]... [-T] SOURCE DEST mv [OPTION]... SOURCE... DIRECTORY DESCRIPTION Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY. If the destination (your "new location") is a directory, the source ("old location") will be moved into that directory. So, in order to rename a file/directory you have to ...


2

I've uploaded a Unicode test file which you should download and then cat in your terminal. E.g.: cat ~/Downloads/Unicode-sample.txt and then use Shift+PgUp and Shift+PgDn in the terminal to verify whether all characters display correctly. If you get the same results in your terminal as opening the original source file in your browser, your font is fine; ...


1

Please see this Ubuntu help entry: https://help.ubuntu.com/community/ChangeTTYResolution


1

Along with the other answers you can also use the full path to the executable. For example, if your python executable is in /home/user/some_dir/python then running the following command from in the terminal will do the job: user@user-home:~$ /home/user/some_dir/python For ease of use you can create an alias for the above command so that you don't have to ...


1

Try adding an ampersand at the end of the lines to put processes into background. #!/bin/bash gnome-terminal -x /bin/bash haguichi -d & cd /home/reed/StarMade gnome-terminal -x java -jar StarMade.jar -force & gnome-terminal -x ./StarMade-dedicated-server-linux.sh &



Only top voted, non community-wiki answers of a minimum length are eligible