can’t remove python pip
you need to execute the following command to install pip sudo apt-get install python3-pip and to remove you need to use sudo apt-get –purge autoremove python3-pip
you need to execute the following command to install pip sudo apt-get install python3-pip and to remove you need to use sudo apt-get –purge autoremove python3-pip
From man grep: -a, –text Process a binary file as if it were text; this is equivalent to the –binary-files=text option. –binary-files=TYPE If the first few bytes of a file indicate that the file contains binary data, assume that the file is of type TYPE. By default, TYPE is binary, and grep normally outputs either a … Read more
UpdateWhile what I write below is true as a general answer about shared libraries, I think the most frequent cause of these sorts of message is because you’ve installed a package, but not installed the -dev version of that package. Well, it’s not lying – there is no libpthread_rt.so.1 in that listing. You probably need to re-configure and re-build … Read more
I am trying to get a Python script to run on the linux server I’m connected to via ssh. The script uses mysqldb. I have all the other components I need, but when I try to install mySQLdb via setuptools like so:, I get the following error report related to the mysql_config command. Has anyone else encountered … Read more
I am trying to get a Python script to run on the linux server I’m connected to via ssh. The script uses mysqldb. I have all the other components I need, but when I try to install mySQLdb via setuptools like so:, I get the following error report related to the mysql_config command. Has anyone else encountered … Read more
You can use these ANSI escape codes: And then use them like this in your script: which prints love in red. From @james-lim’s comment, if you are using the echo command, be sure to use the -e flag to allow backslash escapes. (don’t add “\n” when using echo unless you want to add an additional empty line)
Use -C option of tar: and then, the content of the tar should be in:
By default, patch ignores the directory portion of the target filename; it’s just looking for “httpd.conf” in your current working directory. If you want it to use the full path, you have to explicitly ask it to do so with the -p option: patch -p 0 < httpd.patch The number after -p is how many levels to remove from the filename … Read more
Normally, when a glob which does not match any filenames is expanded, it remains unchanged. Thus, you get results like this: $ rm .bak rm: cannot remove `.bak’: No such file or directory To avoid this we need to change the default value of nullglob variable. Read more about it here: http://mywiki.wooledge.org/NullGlob Hope this helps!
The other answers are correct, in that chmod -R 755 will set these permissions to all files and subfolders in the tree. But why on earth would you want to? It might make sense for the directories, but why set the execute bit on all the files? I suspect what you really want to do is set the … Read more