A large file, and no powerful enough editor at hand to perform a search/replace? It's simple with vi. Edit the file with the vi command vi file Then in the editor type: :%s/mystring1/mystring2/
Remplacer une chaine dans un gros fichier avec VI
Alternatively, there is another option with sed: sed -i -e "s/mystring1/mystring2/g" file If the string contains special characters, they will need to be escaped with a backslash '\' sed -i -e "s/\#mystring1/\#mystring2/g" ...
Today, using Teams on Linux is essential given its prevalence in the corporate world.You will always have a contact, a client, or a work group that uses this tool.And it works very well on Linux. EXCEPT since the latest update, where the direct access links to meetings no longer work.You click the link, a web page opens, then you click on "Open your Teams application".
Then, the application opens, but not the conference. And since we're not on Zoom, it's impossible to open the c...
I'm not sure if it's related, but when installing the 32-bit version of Skype on my 16.04LTS 64-bit system, Skype, which is only available in 32-bit, did not retrieve my ongoing conversations. Even worse! The discussion groups were invisible, and I couldn't see the messages being sent to me (I could hear the notifications on Skype phone, but not on desktop).To fix this, I found an interesting page that helped me out with two commands: https://community.skype.com/t5/Linux/Skype-group-chat-not-...
This installation was tested on Ubuntu 15.01 but could be used for a debian production server. SuPhp has not been maintained for a few years now, so it is no longer in the repositories of recent distributions, and it has become difficult to compile it on a 4.x kernel (which is my case, since my transition to Ubuntu 15.10). Note: the package is still available on Ubuntu 14.01LTS. 1 – Installation of base packages.
sudo apt-get install build-essential fakeroot dh-make debconf e...
Migrating a large website (several gigabytes) can be a tedious task to do from your workstation (with filezilla, for example). If you have a machine at a hosting provider with shell access, the lftp solution can quickly prove to be the ultimate alternative.Retrieve the files:lftp -e 'mirror /repertoir/distant /repertoir/local' -u login,password -p 21 www.host.comSend the files:lftp -e 'mirror -R /repertoir/local /repertoir/distant' -u login,password -p 21 www.host.comSend the files with 10 si...
In fact, RabbitVcs is very easy to install... Except when there's a problem, and then... one can search for a long time 😟Here's how to resolve most installation issues on Ubuntu 14.04LTS.1 – Add the sourcesudo add-apt-repository ppa:rabbitvcs/ppa or add the source to your /etc/apt/sources.list filedeb http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu trusty main2 – Install the packages
sudo apt-get update
sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus3
3 – M...
To add a public key to an Ubuntu repository, simply execute the following command and append the requested key (here 2EE5793634EF4A35 for rabbitVCS):
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2EE5793634EF4A35
Download the following package: https://linux.dropbox.com/packages/debian/dropbox_1.6.0_amd64.debThen install it by double-clicking or with DPKG (dpkg -i )Next, edit the file /etc/sysctl.conf sudo vi /etc/sysctl.confand add the following directive: fs.inotify.max_user_watches=100000
Generic HP printer drivers can be downloaded here:http://netcologne.dl.sourceforge.net/project/hplip/hplip/3.14.6/hplip-3.14.6.runThen simply launch the installation and everything is done automatically 😉
To enable the numeric keypad on startup in Ubuntu, there are two solutions.1 – With the numlockx package (Starting from version 14.04 64-bit): sudo apt-get install numlockxDo not create a file at /etc/lightdm/lightdm.conf, otherwise lightdm will not start! In /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf Add the following in the [SeatDefaults] sectiongreeter-setup-script=/usr/bin/numlockx on2 – For all versions of Linux: Edit the file /etc/rc.local and add this: # Turn Numlock on fo...