its fucking amazing I have to go to UA-cam to get taught shit. taking a college class for linux and they not teaching me shit. dunno why I'm paying for nothing
/etc means the directory 'etc' located in the root of the filesystem, which is represented by the / character by itself, the full path of the directory being /etc, and is a directory that exists on every Linux system as a place to store system-wide configuration files the etc directory without the slash was a newly-created directory by Jay, which was created in Jay's home directory when he copied it from /etc the full path of Jay's etc copy would be /home/jay/etc, or represented in short as ~/etc, with ~ being shorthand for your own user's home directory, but was simply referred to as 'etc' because Jay was already working from within his own home directory, therefore specifying its full path was unnecessary
@@shallex5744 thanks , also how would you differentiate/understand Trailing slashes / example - when using mv command or something else - mv source /dir or mv source/ /dir/
@@abhishektyagi4428 i'm not sure, i never use trailing slashes (intentionally), but after testing it just now, moving the file source/ with the slash at the end doesn't work because putting the slash at the end makes the mv command think you're trying to move a directory when it is actually a file, and gives the error "Not a directory"
I've often wondered, as the tar file is uncompressed and the same size as all files combined why not just create a new directory instead of the tar file? The directory can be compressed if there is a need to save space.
The command syntax you're looking for is: tar -xf $FILENAME.tar.gz --one-top-level=$NEW_DIRECTORY_NAME This will create a new directory within your current directory and unzip the contents of the tarball into that directory. On its own, tar just bundles files, you'd need to add -c to your command to actually compress the newly created tarball.
The only video I ever need for understanding tarball and compression! Thanks a lot Jay you are wonderful.
I always get something useful from watching your videos, thanks mate.
You are the Genuine Master of Linux in this World. God bless you.
When using chown, if your group and user are the same, you can do chown -R name: . The colon implies the group is the same as the user.
This tutorials ate awesome, so useful
its fucking amazing I have to go to UA-cam to get taught shit. taking a college class for linux and they not teaching me shit. dunno why I'm paying for nothing
Thanks Jay. What's the difference between etc and /etc?
/etc means the directory 'etc' located in the root of the filesystem, which is represented by the / character by itself, the full path of the directory being /etc, and is a directory that exists on every Linux system as a place to store system-wide configuration files
the etc directory without the slash was a newly-created directory by Jay, which was created in Jay's home directory when he copied it from /etc
the full path of Jay's etc copy would be /home/jay/etc, or represented in short as ~/etc, with ~ being shorthand for your own user's home directory, but was simply referred to as 'etc' because Jay was already working from within his own home directory, therefore specifying its full path was unnecessary
@@shallex5744 thanks , also how would you differentiate/understand Trailing slashes / example - when using mv command or something else - mv source /dir or mv source/ /dir/
@@abhishektyagi4428 i'm not sure, i never use trailing slashes (intentionally), but after testing it just now, moving the file source/ with the slash at the end doesn't work because putting the slash at the end makes the mv command think you're trying to move a directory when it is actually a file, and gives the error "Not a directory"
I've often wondered, as the tar file is uncompressed and the same size as all files combined why not just create a new directory instead of the tar file? The directory can be compressed if there is a need to save space.
The command syntax you're looking for is:
tar -xf $FILENAME.tar.gz --one-top-level=$NEW_DIRECTORY_NAME
This will create a new directory within your current directory and unzip the contents of the tarball into that directory. On its own, tar just bundles files, you'd need to add -c to your command to actually compress the newly created tarball.
I know this is an example but making a backup of /etc and make all files belong to a non sudo user makes the files unusable.
googling this question about ubuntu was so much easier for some reason?
question is; how to run .tar.gz from Linux mint. BUT EVERYONE HAS nothing BUTconcvoluted answers!