Tag Info

Hot answers tagged

5

This picture is worth 1,000 words. The "problem" is that there is no standard used by all distros, and thus each distro makes (minor) variations. For example, while Debian and Ubuntu use /usr/local , other distros use /opt (for installation of packages compiled from source or outside the package management system [apt on ubuntu] ). BUT - that is the old ...


4

Run dpkg -S /usr/share/themes to see what packages you have installed that install files into that directory. Then, run sudo apt-get install --reinstall packages, replacing packages with the list of packages returned by the previous command.


3

No, it's a Nautilus-specific fake path, similar to the about: protocol in Firefox and chrome: in Chrom{e,ium}. If you want a command line history (to see where you've been recently on the command line) you can run history | grep cd but this is specific to your shell (zsh and bash should work) and it won't factor in your recent directories. Recent files ...


2

/var - where logs and stuff are stored /home - where the user's files are stored - Windows equivalents \Users\<username> or \Documents and Settings\<username> /media (or /run/media on some systems, i think used to be /mnt or something) - where devices such as USB sticks are usually mounted - the directories within can be the equivalent of D:\, ...


2

You copy the file using sudo sudo cp file destination For directories use th -R flag sudo cp -R directory destination If the files or directories have spaces, you have to quote or escape ( \ ) them sudo cp "file with spaces" destination sudo cp file\ with\ spaces destination For information on Linux permissions and the use of sudo, see: ...


2

Try: find testfolder/ -iname "*.nef" -exec bash -c 'mkdir $(dirname "{}")/NEF ; mv "{}" $(dirname "{}")/NEF/' \; dirname used to extract path from result then use it to make new subdirectory before moving the file.


2

No, you shouldn't mess with those directories: there's a good reason why you cannot modify them by default. You use the Ubuntu Software Center or the command apt-get (in a terminal) to install new software on Ubuntu. While you have not learned the basics of Linux, it's not recommended you modify these directories by hand. For example, to install the ...


1

Most Unix/Linux operating systems know 3 different meta informations for a file or a folder: atime, mtime and ctime. atime: access time: means when the file/folder was last accessed. mtime: modify time: defines when the content of the file was last changed. Will be set when the file was created and evertime when the content changes. For a folder, mtime ...


1

You can use a nautilus script for this: #!/bin/bash # Remove line feed at the end of the path selectedPath="${NAUTILUS_SCRIPT_SELECTED_FILE_PATHS%?}" # Check if the selected file is a symbolic link if [ -h "$selectedPath" ]; then symlinkPath=$( readlink "$selectedPath" ) else zenity --info --text="$( basename "$selectedPath" ) is not a symbolic ...


1

The execute bit means "can make that directory current" and has nothing to do with being able to execute files in that directory Check out this question for a much more comprehensive answer.


1

Permissions are in set of three characters. drwxr-xr-x. d, indicates its an directory. Now set of 3, this says all permissions to file/directory owner.next set, read and executable permission to group. Last set, read and executable to others. Permission are from 0 to 7 0 no-permission 1 executable-x 2 write-w 3 -wx 4 read-r 5 r-x 6 rw- 7 rwx There are some ...


1

Please try the following command in your terminal: for f in $(ls -1 *.wav);do SMILExtract -C config/MFCC12_E_D_A.conf -I $f -O $f.mfcc.htk ; done; You can see more looping constructs in this bash manual.


1

It's worth noting, in addition to the other answers, that: /usr/bin is a bit like C:\Program Files (stores programs, with the difference that /usr/bin has just binaries of programs while C:\Program Files has folders containing binaries and other files. /home is almost exactly like C:\Users - every user gets a home directory like /home/ramvignesh. Inside ...



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