How to mount a remote folder on a server over SSH with SSHFS properly.
How to mount a directory and access the files as your normal Linux user easily, this is a very useful networking tip when using a Linux server on a LAN.
How to mount a directory and access the files as your normal Linux user easily, this is a very useful networking tip when using a Linux server on a LAN.
This is how to list files on a Linux system with ls and not show the permissions. jason@. PWD: ~/Documents/UNIX. -bash. 3.2.57. 9 $> ls -SAghof | cut -d’ ‘ -f3- 15 480B 2 Nov 2015 . 2.2K 14 Jul 13:38 .. 1 706B 19 Mar 2014 hah1 1 229B 29 May 2009 myrand.c … Read more
When you list directories in long format (the -l switch), you’ll be presented with a long list of information. What does it all mean? The first column on the far left represents permissions. The first character is a marker to define what the object is. For example, ‘-’ for a file, ‘d’ for a directory, … Read more
A professor shares files with his students by placing them in a publicly accessible directory on the Computer Science department’s Linux system. One day he realizes that a file placed there the previous day was left world-writable. He changes the permissions and verifies that the file is identical to his master copy. The next day … Read more
This command will set all new files in the directory to all default to the permissions set to the parent directory. This is very useful when creating a new directory and you wish to ensure that the files therein have correct permissions. jason@jason-desktop:~$ sudo setfacl -R -d -m o::rwx Documents/ [sudo] password for jason:jason@jason-desktop:~$ sudo … Read more
Do you ever wish that you could enable the su command on Linux Mint 13 or Ubuntu? Well read on and you will learn how to accomplish this. By default the sudo command is used to run a command as the superuser; this command is controlled by the /etc/sudoers. This is what the file looks … Read more
Linux and UNIX security compared to Windows and Apple Comparing Linux and UNIX security to Windows and Apple. The OSGUI tech show host has posted a video with 6 reasons why Linux sucks, with one of the reasons being that there are many packaging systems instead of just one. But that is the thing with … Read more
I recently had to move some folders to my home directory on my Debian GNU/Linux 6.0 installation as the root user and I then had to change the ownership of the folders and the files within to my current user. For example, I copied the ~/.themes folder to my home folder and I had to … Read more