• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/6

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

6 Cards in this Set

  • Front
  • Back

Difference between hard and soft link?

Hard links points to the inode, which points has the info of where the file is in the disk. If you have a file and create a hard link, and delete the original file, you will still have the contents in the hard link because to actually delete the file the inode has to be left with no reference. Soft links are a reference to a path, not to an inode. If you move or delete the original file from its path, the soft link points to nothing.

Important triggers for ls

-h : Get the size more user friendly


-F : File type (it puts a / after directories, a @ to links, etc)

Grep Regular expression characters

@: Means end of line.
\b: Means boundary. It matches - _ ' ' etc

How to copy the found files?

find /usr/share/ -name "*/pdf" -exec cp {} ./




the {} is replaced by the name of the file.

What is the option of the find command where you limit the levels of folder levels where to search?

-maxdepth %d . e.g. to only search in this folder use find ./ -maxdepth 1 -name "test"

Switches of find for limiting size and type of file?

-type [fl]


-size +20MB