Quantcast
Channel: User knittl - Ask Ubuntu
Browsing latest articles
Browse All 13 View Live

Comment by knittl on How to delete all the files with a certain extension...

This will not remove files from subfolders …

View Article



Comment by knittl on Ubuntu 11.10 broken after updates

try dpkg --configure -a or apt-get install -f

View Article

Comment by knittl on Cannot read NTFS partition while in Ubuntu

Have you successfully shut down windows? For example Ubuntu cannot open NTFS partitions, if Windows is hibernated. You could try to mount the partition read only (this works even if the hard drive was...

View Article

Comment by knittl on What is the difference between a hard link and a...

@kniwor: the easiest way to describe hardlinks is "just another name for the same file (that is, data on disk)". And – at least on my system(s) –ln cannot be used to make hardlinks to directories....

View Article

Comment by knittl on Why swap is used when loads of memory is free?

When there's a swap partition available, live systems can (and often will) use it

View Article


Comment by knittl on Out of space, even when I have around 300gb free

@HasanMustafa: if you can't change the output directory, use symlinks or mount --bind another partition over the expected/current directory. I don't see why this wouldn't work?

View Article

Answer by knittl for Can I make links to email addresses open Gmail instead...

For Firefox confer to this article on lifehacker:Open Gmail in Firefox.In the tab where Gmail is loaded, copy and paste the following snippet of JavaScript into your address...

View Article

Answer by knittl for Delete file from the /usr/sbin

You should never just delete system files, you will run into problems 100 %.`/usr/sbin/ usually contains files with the »setuid« bit set – when executed they will run under their owning user instead of...

View Article


Answer by knittl for How can I see a folder's exact size in bytes?

Use the -B1 parameter to du:du -s -B1 foldername$ man 1 du -B, --block-size=SIZE use SIZE-byte blocksYou could also try the --apparent-size flag

View Article


Answer by knittl for Run a command against an entire batch of files

You can use a for loop:for FILE in "file1""file 2""another file"; do command "newfile_$FILE""$FILE";done

View Article

Answer by knittl for Headphones Don't work

Try alsamixer and turn up the volume for the Headphone slider. I've seen pulseaudio mute this setting way too often for me. Quit alsamixer by pressing esc

View Article

Answer by knittl for Why is `$(git branch)` outputting all files' names...

Don't use git branch in scripts. Instead, use the low-level commands such as git for-each-ref:git for-each-ref --shell --format='%(refname:short)' refs/heads | \while read branch; do git branch -d...

View Article

Comment by knittl on can't play videos in totem - error says that we're...

This fixed it on Ubuntu 23.10 as well! Thanks!!

View Article

Browsing latest articles
Browse All 13 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>