Hot answers tagged

3

You can look at the "/Producer" line: find -name '*.pdf' | xargs grep -al '^/Producer (pdfTeX' or with double quotes find -name '*.pdf' | xargs grep -al "^/Producer (pdfTeX" or with null-separated list of files find -name '*.pdf' -print0 | xargs -0 grep -al '^/Producer (pdfTeX'


2

When working with LVM (Logical Volume Manager) you should bare in mind that the order of operation is imperative. If you do not follow the order you risk losing your data. If you already have a PV(Physical Volume) and a VG(Volume Group) it is easier to extend the volume group by adding additional devices. To extend the volume group e.g vg1 you can do the ...


2

Recommended updates are, well, recommended. You can read the stable release updates policy. They fall into three categories: Critical bugs such as data loss, impossibility to install, etc. Updates to data files which become necessary over time, such as the timezone database, antivirus signatures, hardware support lists, etc. Some of these may be code ...


2

Try in terminal: $ firefox --new-instance -ProfileManager You will get something like this: Then to run with a specific profile: $ firefox --new-instance -P "Default User" Here you can also find profile directories. (Note: I have to use --new-instance, because I already have the browser open to answer this). If it works, I guess you could use ...


2

As others have suggested you probably have the original files underneath /var/lib. If you don't (or can't) usefully boot the system into single user mode you can also access these with a "bind mount": mkdir -p -m700 /mnt/dsk mount --bind / /mnt/dsk cd /mnt/dsk/var/lib You are now in the "old" /var/lib that is hidden underneath the "new" /var/lib and you ...


2

ssh: connect to host IP port 22: Operation timed out This message is indicating that the secure shell client is not able to establish a connection to the server to which you are attempting to connect. As you mention this only happens from within a school network (and that you are able to connect from elsewhere), it's exceedingly likely that the campus ...


2

ps -o user= -p PIDHERE This selects the process PIDHERE with -p, then instructs ps to format the output by printing only the column named user; the = sign means "rename the column user to (nothing)", effectively removing the header line.


1

Based on L.Levrel response, using the tools supplied in OS X (this should also work in Ubuntu). find . -type f -name '*.pdf' -exec grep -alE '/Producer \(pdfTeX|/Producer\(pdfTeX' {} +


1

You probably ended up typing Ctrl-Z which suspended tmux. Try typing fg, then enter to continue.


1

Make sure you keep backup before doing this. find folder called wordpress in /var/www and delete them using rm -rf or if you have extracted the content of wordpress in /var/www then simply remove contents of /var/www/html/. If you have installed wordpress using apt-get then use sudo apt-get purge wordpress. remove the database from mysql using DROP DATABASE ...


1

You seem to look at your crontab with crontab -l. The corresponding command for editing crontabs is crontab -e. This command will edit crontabs that are generally in the directory /var/spool/cron/crontabs/. In this directory you will find files named after usernames owning the crontab.


1

The functions called (get_review_data, save_stats, check_for_new_reviews, etc.) should be listed within the php code and python code, /home/mycompany/public_html/index.php and /home/scraper/scraper.py Examining those files should show what's actually being executed.


1

That's because 'migrating' your /var/lib to another partition does not automatically clean your original files. The trick would be to boot from another system (maybe a livecd), from there mount your /dev/xvda1 and delete the files in there. Please be careful, and make sure all the files are actually available in your new partition before trying this.


1

TestDisk is the way to go. Read https://help.ubuntu.com/community/DataRecovery and follow the steps. If you can, use a different computer to browse and ask for advice and stop using your machine. Normal use of your computer can overwrite the data that you are trying to recover.



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