Home
Search results “File options in unix”
Basic Unix commands
 
13:03
This is a small introduction video to the unix commands dealing with files , directories , process , protection & security , information , I/O and pipe lining
Views: 185060 Varun Agarwal
Linux Command Line Tutorial For Beginners 26 - Viewing Resources (du , df, free command)
 
09:52
du - estimate file space usage SYNOPSIS - du [OPTION]... [FILE]... df - report file system disk space usage SYNOPSIS - df [OPTION]... [FILE]... -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G) free - Display amount of free and used memory in the system SYNOPSIS - free [options] -------------------Online Courses to learn---------------------------- Blockchain Course - http://bit.ly/2Mmzcv0 Big Data Hadoop Course - http://bit.ly/2MV97PL Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 16711 ProgrammingKnowledge
Linux Command Line Tutorial For Beginners 36 - tar command to Compress and Extract Files
 
05:55
tar — The GNU version of the tar archiving utility use tar [-] A --catenate --concatenate | c --create | d --diff --compare | --delete | r --append | t --list | --test-label | u --update | x --extract --get [options] [pathname ...] DESCRIPTION Tar stores and extracts files from a tape or disk archive. The first argument to tar should be a function; either one of the letters Acdrtux, or one of the long function names. A function letter need not be prefixed with ``-'', and may be combined with other single-letter options. A long function name must be prefixed with --. Some options take a parameter; with the single-letter form these must be given as separate arguments. With the long form, they may be given by appending=value to the option. -------------------Online Courses to learn---------------------------- Blockchain Course - http://bit.ly/2Mmzcv0 Big Data Hadoop Course - http://bit.ly/2MV97PL Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 16653 ProgrammingKnowledge
Unix File Permissions and Ownership(CHOWN, CHMOD, ETC)
 
24:56
Full video is at: http://www.irongeek.com/i.php?page=videos/unix-file-permissions-and-ownership-chown-chmod-etc
Views: 8996 Adrian Crenshaw
Linux Command Line Tutorial For Beginners 11 -  touch command
 
05:04
In this video we will learn how to use touch command in linux. This command is used to create file that file is by default txt.Eg:-touch filename. By touching a file you either create it if it did not exists (with 0 length). Or you update it’s last modification and access times. There are options to override the default behavior. % touch file % man touch -------------------Online Courses to learn---------------------------- Blockchain Course - http://bit.ly/2Mmzcv0 Big Data Hadoop Course - http://bit.ly/2MV97PL Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 28470 ProgrammingKnowledge
Linux/Mac Terminal Tutorial: The Grep Command - Search Files and Directories for Patterns of Text
 
20:17
In this Linux/Mac terminal tutorial, we will be learning how to use the grep command. The grep command allows us to search files and directories for patterns of text. You can also pipe the output of one command into grep to get certain matches. It's extremely useful once you learn the ins and outs. Let's get started... The code from this video can be found at: https://github.com/CoreyMSchafer/code_snippets/tree/master/Terminal/Grep Regular Expressions Tutorial: https://youtu.be/sa-TUpSx1JA Regular Expressions Tutorial (Python): https://youtu.be/K8L6KVGG-7o If you enjoy these videos and would like to support my channel, I would greatly appreciate any assistance through my Patreon account: https://www.patreon.com/coreyms Or a one-time contribution through PayPal: https://goo.gl/649HFY If you would like to see additional ways in which you can support the channel, you can check out my support page: http://coreyms.com/support/ Equipment I use and books I recommend: https://www.amazon.com/shop/coreyschafer You can find me on: My website - http://coreyms.com/ Facebook - https://www.facebook.com/CoreyMSchafer Twitter - https://twitter.com/CoreyMSchafer Google Plus - https://plus.google.com/+CoreySchafer44/posts Instagram - https://www.instagram.com/coreymschafer/ #Linux #Mac
Views: 29331 Corey Schafer
Using diff command in Unix / Linux | Explained with examples
 
09:30
diff command in linux find difference between two files in unix / linux diff command usage how to use diff command in unix file difference
Views: 10915 Tech Paata
Unix system calls (1/2)
 
45:16
Part of a larger series teaching programming. See http://codeschool.org
Views: 217358 Brian Will
sed command examples in Unix
 
03:50
Views: 19096 Sagar S
Linux tar command tutorial
 
08:09
This is the first real video tutorial/demo for climagic on YT. It demonstrates the use of the tar command for creating, extracting and viewing the contents of a tar file or compressed tar file. If you are interested in Unix, Linux or the command line, you should check out climagic on twitter and identi.ca The title of this video previously was "Beginner level introduction to using the tar command in Unix/Linux"
Views: 64481 climagic
Linux: Grep Command
 
11:31
How to use the Linux grep command to search files and find text strings.
Views: 50439 Joe James
50 Amazing Examples of Find Command
 
34:52
This Tutorial explains basics of find command for Linux/Unix Operating System in minutes. It explains find command with 50 amazing examples. It's a complete tutorial for find command. Tutorial Topics:- 1. Basic Find Command syntax 2. Basic search with find command 3. Search by Name & Permission. 4. Search by Time (access, modified, change) 5. Case Insensitive Search 6. Search by Restricting depth 7. Search by Range 8. Search by Size 9. Simple Search 10. Search Restricting file and folders 11. Find with Wild card Search 12. Search using SUID, SGID and Sticky Bit 13. Find Command with Action (-exec and xargs) 14. Finding empty and hidden files 15. Finding basis user and group 16. Finding using or and and condition. 17. Finding file without user or group 18. Find and Grep Command 19. Find and using not operator 20. Redirecting find error and failed result for clean search
Views: 57844 Linux Tutorial
Learn Find command in 5 Minutes
 
05:57
This Tutorial explains basics of find command for Linux/Unix Operating System in minutes. It explains find command with 10 amazing examples. Tutorial Topics:- 1. Basic Find Command syntax 2. Basic search with find command 3. Search by Name & Permission. 4. Search by Time (access, modified, change) 5. Case Insensitive Search 6. Search by Restricting depth 7. Search by Range 8. Search by Size 9. Simple Search 10. Search Restricting file and folders
Views: 29755 Linux Tutorial
Linux Commands for Beginners: 17 - Changing Permissions
 
08:54
Welcome to my Linux Commands for Beginners tutorial series, where I'll show you how to use the Linux Command shell (specifically Bash) one command at a time. This series aims to take you from a beginner to an advanced user, one video at a time. In this tutorial, I go over changing permissions of files and folders.
Views: 59318 LearnLinux.tv
Moving and Copying Files and Directories in Linux
 
07:31
Covers the mv and cp commands.
Views: 137796 Jason Wertz
Linux 4  - Permissions
 
03:22
Suggest new or help me make more videos here: http://patreon.com/opencanvas Lesson 4 delves into file and directory permissions and the 9 RWX bits associated with each. So here’s a scenario; your root admin has created you as a new user on the system at a company you work for. You have created some important files related to your business on the system, and it’s paramount that these files aren’t tampered with. But someone from another department needs to read the files for verification. Ideally we want them to read the file, but not modify anything. Or how about you’re a web developer, and you have a directory of file scripts you want to share with your team, but no-one else. By setting file or directory permissions, we can determine what user’s can read, write or even execute. With linux, we can set permissions to do just that. The nine bits assigned to each file or directory define the access that you and the others have. The first 3 bits apply to the owner’s permission. The next three apply to the group assigned and the last 3 apply to all others. The R stands for read, with a file this means you can view the contents of the file and with a directory, you can see what files and subdirectories it contains. The W stands for write, meaning a file’s contents can be changed, the file can be renamed or even deleted. If it’s a directory, it means you can add, change or delete files or subdirectories in that directory. The X stands for Execute. With a file it will be treated as a program and run. With a directory, you can change to it, search or execute a program from that directory. If a dash appears instead of the letter, it means the permission is turned off for that associated read, write, or execute bit. At any time you can identify the permissions for any file or directories in your present working directory by typing: LS -LD We can see the 9 bit permissions associated with each. In most cases, unless you are the root admin, your ability to alter permissions will be limited. If you own a file, you can use the CHMOD command to alter the permissions as you wish. The CHMOD command can change permissions with either numbers or letters. In our example we will be using numbers. With numbers, each permission is assigned a number, and you use each set’s total number to establish the permission. For example, you have written a bash script, and you only want you and your team to be able to execute it. You could apply permissions to it by typing: CHMOD 750 (followed by the filename). This gives you; the owner, full permissions and your group the ability to read and execute, but not write. All others are entirely prohibited. Permissions can also be applied to a directory recursively, meaning that it will apply the permission to all files and subdirectories contained in that directory. Thank you for watching and don’t forget to subscribe to the SMKS Channel. In the next lesson we will look into Ownership. References: Linux Bible 8th Bible
Views: 18414 OpenCanvas
Linux Command Line Tutorial For Beginners 2 - ls command in Linux
 
17:15
Find More On My Website - http://www.codebind.com/linux-tutorials/linux-man-page-ls-command/ ls command Lists the files in the current directory, in alphanumeric order, except files starting with the “.” character. ls lists information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. Linux and UNIX ls command help and examples ls command in linux. ls - Unix, Linux Command. ls - Linux Command - Unix Command Linux man page - ls command. cd command in linux. cat command in linux. grep command in linux. pwd command in linux. mkdir command in linux. cp command in linux. ls command in linux. ln command in linux -------------------Online Courses to learn---------------------------- Data Analytics with R Certification Training- http://bit.ly/2rSKHNP DevOps Certification Training - http://bit.ly/2T5P6bQ AWS Architect Certification Training - http://bit.ly/2PRHDeF Python Certification Training for Data Science - http://bit.ly/2BB3PV8 Java, J2EE & SOA Certification Training - http://bit.ly/2EKbwMK AI & Deep Learning with TensorFlow - http://bit.ly/2AeIHUR Big Data Hadoop Certification Training- http://bit.ly/2ReOl31 AWS Architect Certification Training - http://bit.ly/2EJhXjk Selenium Certification Training - http://bit.ly/2BFrfZs Tableau Training & Certification - http://bit.ly/2rODzSK Linux Administration Certification Training-http://bit.ly/2Gy9GQH ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 135734 ProgrammingKnowledge
Linux and Unix File Permissions
 
25:21
File permissions and directory permissions settings work the same on both Linux and Unix. To set either Linux permissions or Unix permissions, just use the chmod command. To change the default permissions settings on file that you want to create, use the umask command. This is good information both Linux systems administrators and Unix systems administrators. Hopefully, this will help you effectively use linux and unix file permissions.
Views: 770 BeginLinux Guru
UNIX-1.3 UNIX Commands and Options
 
38:55
Make sure to subscribe to my channel for more videos on UNIX, Perl and SQL. facebook: facebook.com/fuzicast twitter: @fuzicast youtube: youtube.com/yuejdesigner85 du - data usage du -sh - find how much disk space used in current directory df - data file system df -h - find disk space usage cp - copies files cp file1 file2 - copy file1 to file2 cp file1 dir/file2 - copy file1 to file2 in dir cp file1 dir/ - copy file1 to dir with same filename cp -rf dir1 dir2 - recursively copy dir1 to dir2 cp -i file1 file2 - prompt before overwriting file2 cp file1 file2 file3 dir1 - copy multiple files to a directory cp -p file1 file2 - by default, permission is not preserved, use -p to do that cp -s file1 link1 - create soft link to file1 mv - change/move files mv file1 file2 - change filename from file1 to file2 mv -i file1 file2 - prompt before overwriting mv file1 dir1 - move file1 to dir1 mv dir1 dir2 - move dir1 to dir2 if dir2 exists, else change name from dir1 to dir2 head - display lines in file from beginning head file1 - display first 10 lines of file1 head -100 file1 - display first 100 lines of file1 tail - display lines in file from end tail file1 - display last 10 lines of file1 tail -100 file1 - display last 100 lines of file1 rm - remove file or directory rm file1 - remove file1 rm -rf dir1 - remove entire directory, never prompt rm -i dir1 - prompt before removing mkdir - create directory mkdir dir1 - create dir1 mkdir -m777 dir1 - create dir1 with specified permission mkdir -p dir1 - ignore error if dir1 already exists tar - archive file tar zcvf tarfilename.tar file1 file2 file3 - archive all these files into one tar ball, compressed tar xvf tarfilename.tar - extract files from a tar ball tar rf tarfilename.tar extra.txt - append extra.txt to existing tarfilename.tar (tarfilename.tar is not compressed) tar tvf tarfilename.tar - list out files in tar ball gzip - compress file gzip file1 - compress file1, new filename will have .gz extension gzip -d file1.gz - decompress file1.gz chmod - change permission chmod 777 file1 - change permission for file1 (rwxrwxrwx) chmod +x file1 - give executable permission for all to file1 (+r, +w) chmod u+x file1 - give executable permission for owner to file1 (g+x, o+x) chmod -R 777 dir1 - change permission for all contents in dir1
Views: 26635 fuzicast
File Listing : "ls command" in Unix
 
13:43
Basic Command which list out all of files in your present working directory.
Views: 74 Unix Tutorial
How to Use Sort Command in Unix
 
01:29
The UNIX Sort command in Linux can be used to arrange the data that appears in the output. This data can also be sent to a specified file. In this tutorial, we will show you how to use the sort command in unix. The sort command allows you to arrange the fields and data that are printed on the screen. This command assumes that the fields present are simply words that are just separated by means of blanks. However, an alternative parameter for selection of words can be specified e.g. colons. Output that is arranged from the sort command is printed on the screen unless it is redirected to a specific file. To understand more about the sort commands follow the tutorial steps given below. Step 1 -- List the directory contents First of all, let's list the contents of the directory. Over here, you can see the file "alpha.txt" present. Step 2 -- Read file in terminal application To understand how sort command works, first let's read the text file in the terminal application. For that, type the command "cat alpha.txt" and hit enter. With that done, here you can see the contents of the text file on the screen. Step 3 -- Sort the data being displayed on the screen What if you wanted to sort the data being displayed on the screen. For that, type the command "sort alpha.txt" and hit enter. With that done, you can see that now the letters are being displayed in alphabetical order. Notice how the lowercases are printed first over here. Step 4 -- Display the uppercase alphabets first What if we wanted the uppercase alphabets to be printed first? For that, we will type in "sort -f -s alpha.txt" and hit enter. Now you can see that the uppercase are being displayed first. Over here, notice that we have multiple entries of the same alphabets Step 5 -- Display the unique entries What if we want to display only the unique entries in the terminal application? For that, we will type this sort command in unix "sort -f - s -u alpha.txt" and hit enter. With that done, you can see that now there are no duplicate entries over here. Step 6 -- Sort the data in reverse If want to sort the data in reverse, you can do that by typing: "sort -f -r alpha.txt" and hitting enter. With that done, you will notice that the letters over here are now being displayed in reverse. And that's basically how you can use the sort commands to arrange the data in different ways.
UNIX-1.3 UNIX Commands and Options
 
38:55
Make sure to subscribe to my channel for more videos on UNIX, Perl and SQL. facebook: facebook.com/fuzicast twitter: @fuzicast youtube: youtube.com/yuejdesigner85 du - data usage du -sh - find how much disk space used in current directory df - data file system df -h - find disk space usage cp - copies files cp file1 file2 - copy file1 to file2 cp file1 dir/file2 - copy file1 to file2 in dir cp file1 dir/ - copy file1 to dir with same filename cp -rf dir1 dir2 - recursively copy dir1 to dir2 cp -i file1 file2 - prompt before overwriting file2 cp file1 file2 file3 dir1 - copy multiple files to a directory cp -p file1 file2 - by default, permission is not preserved, use -p to do that cp -s file1 link1 - create soft link to file1 mv - change/move files mv file1 file2 - change filename from file1 to file2 mv -i file1 file2 - prompt before overwriting mv file1 dir1 - move file1 to dir1 mv dir1 dir2 - move dir1 to dir2 if dir2 exists, else change name from dir1 to dir2 head - display lines in file from beginning head file1 - display first 10 lines of file1 head -100 file1 - display first 100 lines of file1 tail - display lines in file from end tail file1 - display last 10 lines of file1 tail -100 file1 - display last 100 lines of file1 rm - remove file or directory rm file1 - remove file1 rm -rf dir1 - remove entire directory, never prompt rm -i dir1 - prompt before removing mkdir - create directory mkdir dir1 - create dir1 mkdir -m777 dir1 - create dir1 with specified permission mkdir -p dir1 - ignore error if dir1 already exists tar - archive file tar zcvf tarfilename.tar file1 file2 file3 - archive all these files into one tar ball, compressed tar xvf tarfilename.tar - extract files from a tar ball tar rf tarfilename.tar extra.txt - append extra.txt to existing tarfilename.tar (tarfilename.tar is not compressed) tar tvf tarfilename.tar - list out files in tar ball gzip - compress file gzip file1 - compress file1, new filename will have .gz extension gzip -d file1.gz - decompress file1.gz chmod - change permission chmod 777 file1 - change permission for file1 (rwxrwxrwx) chmod +x file1 - give executable permission for all to file1 (+r, +w) chmod u+x file1 - give executable permission for owner to file1 (g+x, o+x) chmod -R 777 dir1 - change permission for all contents in dir1
Views: 2217 fuzicast
UNIX-1.12 SSH Command (Video Tutorial)
 
27:47
Make sure to subscribe to my channel for more videos on UNIX, Perl and SQL. facebook: facebook.com/fuzicast twitter: @fuzicast youtube: youtube.com/fuzicast ssh [email protected] - remote login to a remote host ssh -i ssh-key [email protected] - using another key to ssh remote host ssh-keygen -t rsa/dsa - generate ssh keys using either rsa or dsa encryption sudo useradd -m username - create user with home directory created automatically passwd username - change password for that user sudo usermod username -s /bin/bash - set type of shell for user ~/.ssh/config - create this config file and add Host, User, Hostname and IdentityFile settings Host alias_name Hostname localhost IdentityFile ~/.ssh/obama.key User username ssh-copy-id [email protected] - copy ssh public automatically to remote host ssh [email protected] 'remote-command' - execute remote commands ssh -F another_config_file [email protected] - specify different config file ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no [email protected] - do not check for known hosts and add host key automatically to known_hosts file. since we set known_host file to /dev/null, new host key will be added to garbage file.
Views: 17895 fuzicast
Archiving and Compression on Linux - Basic tar Commands
 
16:11
ARCHIVING + COMPRESSION ON LINUX: tar -zcvf docs.tar.gz Documents/ DECOMPRESS/UNARCHIVE ON LINUX tar -zxvf docs.tar.gz #################### OPTIONS z - gzip c - create archive f - archive FILE (name file) v - verbose x - extract Table of Contents: Compression + Archiving: 04:25 Decompression: 07:01 Don't do this: 09:34 Examples (Wordpress vs. Joomla): 12:19 Explanation of 'tar' options: 14:33 Full Linux Sysadmin Basics Playlist: https://www.youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK Check out my project-based Linux System Administration course (free sample videos): https://www.udemy.com/hands-on-linux-self-hosted-wordpress-for-linux-beginners/?couponCode=tl35 Patreon: https://www.patreon.com/tutorialinux Official Site: https://tutorialinux.com/ Twitter: https://twitter.com/tutorialinux Facebook: https://www.facebook.com/tutorialinux
Views: 27486 tutoriaLinux
Learn Grep with 15 Amazing Examples
 
14:50
This Tutorial explains basics of grep command for Linux/Unix Operating System in minutes. It explains find command with 15 amazing examples. It's a complete tutorial for grep command. Tutorial Topics:- 1. Basic grep Command syntax. 2. Basic search with grep command. 3. Search using wild cards. 4. Case Insensitive Search 6. Search Recursively in sub folders 7. Search N lines above the match 8. Search N lines below the match 9. Simple N lines around the match 10. Invert Searching and counting the number of matches 11. Display only the File name match 12. Display the position of match 13. Display line number of match
Views: 149174 Linux Tutorial
Shell Scripting Tutorial for Beginners 4 - Pass Arguments to a Bash-Script
 
08:35
Passing arguments to a shell script Any shell script you run has access to (inherits) the environment variables accessible to its parent shell. In addition, any arguments you type after the script name on the shell command line are passed to the script as a series of variables. The following parameters are recognized: $* Returns a single string (``$1, $2 ... $n'') comprising all of the positional parameters separated by the internal field separator character (defined by the IFS environment variable). [email protected] Returns a sequence of strings (``$1'', ``$2'', ... ``$n'') wherein each positional parameter remains separate from the others. $1, $2 ... $n Refers to a numbered argument to the script, where n is the position of the argument on the command line. In the Korn shell you can refer directly to arguments where n is greater than 9 using braces. For example, to refer to the 57th positional parameter, use the notation ${57}. In the other shells, to refer to parameters with numbers greater than 9, use the shift command; this shifts the parameter list to the left. $1 is lost, while $2 becomes $1, $3 becomes $2, and so on. The inaccessible tenth parameter becomes $9 and can then be referred to. $0 Refers to the name of the script itself. $# Refers to the number of arguments specified on a command line. -------------------Online Courses to learn---------------------------- Blockchain Course - http://bit.ly/2Mmzcv0 Big Data Hadoop Course - http://bit.ly/2MV97PL Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 97526 ProgrammingKnowledge
Lesson - 05 : UNIX - File Related Commands in Unix
 
13:26
Files : ls --- lists your files ls -l --- lists your files in 'long format', which contains lots of useful information, e.g. the exact size of the file, who owns the file and who has the right to look at it, and when it was last modified. ls -a --- lists all files, including the ones whose filenames begin in a dot, which you do not always want to see. There are many more options, for example to list files by size, by date, recursively etc. more filename --- shows the first part of a file, just as much as will fit on one screen. Just hit the space bar to see more or q to quit. You can use /pattern to search for a pattern. emacs filename --- is an editor that lets you create and edit a file. See the emacs page. mv filename1 filename2 --- moves a file (i.e. gives it a different name, or moves it into a different directory (see below) cp filename1 filename2 --- copies a file rm filename --- removes a file. It is wise to use the option rm -i, which will ask you for confirmation before actually deleting anything. You can make this your default by making an alias in your .cshrc file. diff filename1 filename2 --- compares files, and shows where they differ wc filename --- tells you how many lines, words, and characters there are in a file chmod options filename --- lets you change the read, write, and execute permissions on your files. The default is that only you can look at them and change them, but you may sometimes want to change these permissions. For example, chmod o+r filename will make the file readable for everyone, and chmod o-r filename will make it unreadable for others again. Note that for someone to be able to actually look at the file the directories it is in need to be at least executable. See help protection for more details. File Compression : gzip filename --- compresses files, so that they take up much less space. Usually text files compress to about half their original size, but it depends very much on the size of the file and the nature of the contents. There are other tools for this purpose, too (e.g. compress), but gzip usually gives the highest compression rate. Gzip produces files with the ending '.gz' appended to the original filename. gunzip filename --- uncompresses files compressed by gzip. gzcat filename --- lets you look at a gzipped file without actually having to gunzip it (same as gunzip -c). You can even print it directly, using gzcat filename | lpr printing : lpr filename --- print. Use the -P option to specify the printer name if you want to use a printer other than your default printer. For example, if you want to print double-sided, use 'lpr -Pvalkyr-d', or if you're at CSLI, you may want to use 'lpr -Pcord115-d'. See 'help printers' for more information about printers and their locations. lpq --- check out the printer queue, e.g. to get the number needed for removal, or to see how many other files will be printed before yours will come out lprm jobnumber --- remove something from the printer queue. You can find the job number by using lpq. Theoretically you also have to specify a printer name, but this isn't necessary as long as you use your default printer in the department. genscript --- converts plain text files into postscript for printing, and gives you some options for formatting. Consider making an alias like alias ecop 'genscript -2 -r \!* | lpr -h -Pvalkyr' to print two pages on one piece of paper. dvips filename --- print .dvi files (i.e. files produced by LaTeX). You can use dviselect to print only selected pages. See the LaTeX page for more information about how to save paper when printing drafts.
Views: 120 Sada Learning Hub
05 - Unix | Linux Shell - List File | Directories | Permission - ls command - Hindi
 
10:23
Unix Shell Scripts - https://goo.gl/zedFG9 Unix Shell Commands Beginner Tutorials UNIX Shell ;Show List View Directories | dir ;Show List View Files; Permission; Hidden Files; Sort Files Directories | dir; ls UNIX Shell Command; ls Command Option - Hindi Full Channel Video's Links http://goo.gl/z06nI6 Google (Mohammad Bharmal) https://plus.google.com/115161819270945548793/ Facebook (MohammediComputers) https://www.facebook.com/MohammediComputer Facebook (Mohammad Bharmal) https://www.facebook.com/mohammad220485 Twitter (Mohammad Bharmal) (MohammediComputers) https://twitter.com/MohammediCmptrs
Views: 25106 Mohammedi Computers
Basic editing with vi (vim) text editor for Unix
 
11:35
(Click "Show more" for the table of contents of this video with shortcut links) This is a quick vi tutorial aimed at making simple edits to files on a server. This goes into what I consider to be the most useful features for common tasks like editing configuration files and making minor changes. Video Contents: Explanation of "modes" 0:40 The "Panic Button" to get out of a file without saving 1:30 Inserting, Appending, Replacing and Deleting 2:10 Saving a File 5:40 Searching for text in a file 6:15 Copy/Paste 7:15 Opening Multiple Windows 8:50
Views: 70034 Jason Hinkle
UNIX Copy command (cp) ,Remove command (rm)
 
03:40
The copy utility creates a duplicate of a file, a set of files, or a directory. Format: Cp [options] sources destination Format: rm [options] filelist
Views: 835 vignan university
Grep Command - Practical Examples | Linux
 
06:51
Grep is a powerful program for searching through text. Grep means 'Global Regular Expression Print'. Basically grep searches text files for the specified regular expression and outputs any line containing a match to standard output.
Views: 14032 SrbinHacking
Introduction to Linux and Basic Linux Commands for Beginners
 
18:46
In this tutorial we will give you a quick introduction to linux and linux commands for aspiring linux students. Contents of this Course: 1 - Introduction to Linux 2 - Quick Overview of Linux Distributions or Distros, such as Debian or Ubuntu 3 - Using the Linux Terminal 4 - Basic Linux commands for navigation and file manipulation. We will go over 10 commands in this video, including: cd, ls, pwd, cp, rm, mkdir, rmdir, man and more. Stay tuned for more Linux Commands Tutorials for Dummies. -- INSTALL UBUNTU in VIRTUALBOX on Windows 7 -- http://youtu.be/CkDd6jClqEE --------------- SOCIAL MEDIA ----------------- Follow me on twitter : http://twitter.com/sakitechonline Follow me on facebook: http://goo.gl/R95Pq Google+ goo.gl/9ekGhq Website: http://www.sakitechonline.com
Views: 2106172 sakitech
Lesson - 14 : UNIX - Sort Commands in Unix
 
09:03
About sort sort sorts the contents of a text file, line by line. Overview sort is a simple and very useful command which will rearrange the lines in a text file so that they are sorted, numerically and alphabetically. By default, the rules for sorting are: Lines starting with a number will appear before lines starting with a letter. Lines starting with a letter that appears earlier in the alphabet will appear before lines starting with a letter that appears later in the alphabet. Lines starting with a lowercase letter will appear before lines starting with the same letter in uppercase. The rules for sorting can be changed according to the options you provide to the sort command; these are listed below. sort syntax sort [OPTION]... [FILE]... sort [OPTION]... --files0-from=F
Views: 146 Sada Learning Hub
UNIX Date command (date)
 
04:32
Date is the command used to display date and time. Date along with the time zone is displayed. Default is the IST time zone. Format: date [OPTION]... [+FORMAT]
Views: 5832 vignan university
How to Use Unix Copy Command
 
01:10
Follow the tutorial to learn how to use the Cp command that is the unix copy command to replicate folders in another location in Linux. Don't forget to check out our site http://howtech.tv/ for more free how-to videos! http://youtube.com/ithowtovids - our feed http://www.facebook.com/howtechtv - join us on facebook https://plus.google.com/103440382717658277879 - our group in Google+ In this tutorial, we will show you how to use the unix copy command. The unix commands to copy (Cp) is used to replicate or copy the files. This command can be used along with different attributes as well. Step 1 -- List the contents of the directory Let's look at an example over here. First, let's list the contents of the directory. With that done, you can see all the files current present in the directory. Step 2 -- Specify the name of the folder and its destination Over here, we will type "cp" followed by file name that we want to copy. After that, we will specify the destination where the file is to be copied. Since we are copying the file to the desktop, we will type "forward slash desktop" over here. Once we hit enter, you can see that the file has been copied to the desktop. Step 3 -- Use the CP command to copy certain types of files Now let's see how we can use the CP command that is the unix copy command to copy certain types of files. For that write, cp asterisk followed by the file extension. For this tutorial let's copy all the tar files. Now let's type in the destination over here as well. Now when we hit enter, you can see that the tar files have been copied to the desktop. Step 4 -- Copy all contents in the directory Now what if you want to copy all the contents in the directory, for that, write: "cp -v *.*\Desktop" Once you hit enter, you will notice that all the files have been copied to the desktop. And that's it, with the above steps you can learn how to use unix commands to copy in Linux.
Unix File related commands Class 4
 
08:33
Please watch: "How to use CONCATENATE function in MS EXCEL: Excel Tutorial" https://www.youtube.com/watch?v=InT4kVGQxS8 -~-~~-~~~-~~-~- Unix File related commands Class 4 File Ownership – The chown and chgrp Commands When a file is created, the user becomes the owner of the file, and the group to which the user belongs becomes the group owner. Thus, if sharma creates a file notex, he becomes the owner of the file. But when kumar copies the file from sharma’s home directory, then the ownership of the copy is vested with kumar. To change the ownership of a file or a directory, you can use the chown command, $ls -l -rwxr-xr-x 1user1 training 12373 Dec 15 14:45 a.out -rwxr-xr-x 3 user1 faculty 4096 Dec 24 11:56 awkpro $ chown user2 a.out $ ls –l a.out -rwxr-xr-x 1user2 training 12373 Dec 15 14:45 a.out But, once ownership is surrendered, it can’t be reinstated. Similarly to change the group ownership of the file, use the chgrp command. To pass on the group ownership of your emp.lst file to bin, use the command $ chgrp training awkpro $ newgrp faculty This command is used to change your effective group id $newgrp This will make the effective groupid as the primary groupid The system defined permission for a file is 666 and for a directory its 777. Since the permission bits set at the time of creation is very dangerous to have rwx permission for the world. Unix sets the umask value to mask this. If the umask value is 022, the default file permission will be set as 644 and default directory permission will be set as 755. ie, 666 and 777 is masked with 022 The user can set his umask value by making an entry in his $HOME/.profile file so that it will be effective always Renaming the files - The mv command The mv command simply renames a file or a group of files. It is syntax is similar to the cp command. $ mv chap01 man01 $_ If the destination file doesn’t exist, it will be created. If it is there, it will be overwritten. $mv chap01 chap02 chap03 progs Moves the 3 files to the directory progs. $mv pis perdir # renames the directory pis to perdir Files can be deleted with rm command. When invoked without options, it deletes the files specified in the command line. $ rm chap01 chap02 chap03 rm won’t normally remove a directory, but it can remove files from one. You can remove two chapters from the prgs directory without having to “cd” to it. $ rm progs/chap01 progs/chap02 $_ $rm * #Deletes all the files. But doesn’t give any prompt messages. $ rm –i * # prompts before deleting the files $ rm –i chap01 chap02 chap01: ?y chap02: n $rm –r * # does recursive deletion Copying a file – The cp Command The cp command copies a file or a group of files. cp creates an exact image of the file on the disk with a different name. $ cp chap01 unit1 #copies the file chap01 to the file unit1 $_ If the destination file doesn’t exist, it will be created before copying takes place. If not, it will be simply overwritten. $cp chap01 progs/unit1 #copies the file chap01 to the directory progs. The name of the copied file will be unit1 $cp chap01 progs # copies the file chap01 to the directory progs. The name of the copied file will also be chap01 $ cp chap* progs #copies all the files matching the pattern to the directory progs $cp chap01 chap02 progs #copies the 2 files to the dir progs You can’t copy a file if it is read protected, and can’t create a copy if the destination file or directory is write protected. You can’t also copy a file into a directory you don’t own. $cp –i chap01 unit1 #prompts you before overwriting the file cp: overwrite unti1? y $_ $cp –r progs newprogs #does recursive copy .
Views: 201 sugnan kumar Gotur
07 - Unix | Linux Shell - Copy | Move | Rename Files - cp | mv script commands - Hindi
 
10:21
Unix Shell Scripts - https://goo.gl/zedFG9 Unix Shell Commands Beginner Tutorials Cut | Copy | Move | Paste | Rename | File ; Files; cp | mv shell script commands | Unix script command options Full Channel Video's Links http://goo.gl/z06nI6 Google (Mohammad Bharmal) https://plus.google.com/115161819270945548793/ Facebook (MohammediComputers) https://www.facebook.com/MohammediComputer Facebook (Mohammad Bharmal) https://www.facebook.com/mohammad220485 Twitter (Mohammad Bharmal) (MohammediComputers) https://twitter.com/MohammediCmptrs
Views: 22036 Mohammedi Computers
Pipes, Grep, Sort Commands: Linux Tutorial 9
 
05:58
http://www.guru99.com/linux-pipe-grep.html This tutorial explains pipes, grep and sort commands with examples. Click on the time points below to view different sections! 0:07 What are Pipes in Linux? 1:12 'pg' and 'More' commands with example 1:38 The 'grep' Command with example 3:05 The 'sort' Command with example 5:23 Summary What is a Pipe in Linux? The Pipe is a command in Linux that lets you use two or more commands such that output of one command serves as input to the next. The symbol is '|' What is grep in Linux? If you want to search a particular information the postal code from a text file you can use grep command on command line. Syntax - grep search_string What is sort command in Linux? This command helps in sorting out the contents of a file alphabetically. Syntax - sort Filename Like, share and subscribe our channel for more videos. Watch more videos on our YouTube channel at https://www.youtube.com/channel/UC19i1XD6k88KqHlET8atqFQ READ this as a book on Amazon by viewing at http://amzn.to/2gZGjbE Visit our website for more! www.guru99.com Read our blogs in https://www.guru99.com/blog/ FACEBOOK! Would you prefer to watch more about us? Like our page for more https://www.facebook.com/guru99com/ TWITTER! Tweet for us on Twitter with #guru99 and follow us on https://twitter.com/guru99com LinkedIn! Follow us here https://www.linkedin.com/company/guru99/ THANKS! We appreciate you reading this and hope you have a wonderful day! Sincerely, Guru99
Views: 118891 Guru99
UNIX Make directory (Mkdir) command
 
05:06
To create a new directory, use the command mkdir command. It has two options: permission mode, parent directories. Format: mkdir [options] dir_name
Views: 5493 vignan university
UNIX/Linux - Basic Commands | UNIX Tutorial | Mr. Subba Raju
 
24:06
UNIX/Linux - Basic Commands | UNIX Tutorial | Mr. Subba Raju ** For Online Training Registration: https://goo.gl/r6kJbB ► Call: +91-8179191999 Subscribe to our channel and hit the bell 🔔🔔🔔 icon to get video updates. 💡 Visit Our Websites For Classroom Training: https://nareshit.in/unix-linux-online-training/ For Online Training: https://nareshit.com/linux-unix-online-training/ #unix #linux #course #Tutorials #Training #Videos -------------------------- 💡 About NareshIT: "Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA , Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA, Hyderabad, Chennai and Vijayawada, Bangalore India which provides online training across all the locations -------------------------- 💡 Our Online Training Features: 🎈 Training with Real-Time Experts 🎈 Industry Specific Scenario’s 🎈 Flexible Timings 🎈 Soft Copy of Material 🎈 Share Videos of each and every session. -------------------------- 💡 Please write back to us at 📧 [email protected]/ 📧 [email protected] or Call us at the USA: ☎+1404-232-9879 or India: ☎ +918179191999 -------------------------- 💡 Check The Below Links ► For Course Reg: https://goo.gl/r6kJbB ► Subscribe to Our Channel: https://goo.gl/q9ozyG ► Circle us on G+: https://plus.google.com/+NareshIT ► Like us on Facebook: https://www.facebook.com/NareshIT ► Follow us on Twitter: https://twitter.com/nareshitek ► Follow us on Linkedin: https://goo.gl/CRBZ5F ► Follow us on Instagram: https://goo.gl/3UXYK3
Views: 224388 Naresh i Technologies
FTP Commands To Transfer Files
 
18:20
Transferring the files using ftp command..with option -i, -n and get, mget, put, mput.
Views: 122590 Mandar Gogate
Lesson - 07 : UNIX -  CMP and WC Command in Unix
 
04:49
NAME cmp - Compare two files, and if they differ, tells the first byte and line number where they differ. SYNOPSIS cmp options... FromFile [ToFile] DESCRIPTION 'cmp' reports the differences between two files character by character, instead of line by line. As a result, it is more useful than 'diff' for comparing binary files. For text files, 'cmp' is useful mainly when you want to know only whether two files are identical. For files that are identical, 'cmp' produces no output. When the files differ, by default, 'cmp' outputs the byte offset and line number where the first difference occurs. You can use the '-s' option to suppress that information, so that 'cmp' produces no output and reports whether the files differ using only its exit status. Unlike 'diff', 'cmp' cannot compare directories; it can only compare two files. The wc (word count) command in Unix/Linux operating systems is used to find out number of newline count, word count, byte and characters count in a files specified by the file arguments. The syntax of wc command as shown below. # wc [options] filenames The following are the options and usage provided by the command. wc -l : Prints the number of lines in a file. wc -w : prints the number of words in a file. wc -c : Displays the count of bytes in a file. wc -m : prints the count of characters from a file. wc -L : prints only the length of the longest line in a file.
Views: 582 Sada Learning Hub
Linux Command Line Tutorial For Beginners 3 - cd command in Linux
 
11:27
Find More On My Website - http://www.codebind.com/linux-tutorials/cd-command-linux/ cd commanf is used to Change the shell working directory. Navigating from one directory to another is done with the command cd taken over the directory name. Change the current directory. With no arguments “cd” changes to the users home directory. How to use the cd command, by The Linux . cd command in Linux/Unix | change directory. Linux and UNIX cd command help and examples. cp command in linux. mkdir command in linux. cat command in linux. rmdir command in linux. pwd command in linux. grep command in linux. clear command in linux. cd options linux -------------------Online Courses to learn---------------------------- Blockchain Course - http://bit.ly/2Mmzcv0 Big Data Hadoop Course - http://bit.ly/2MV97PL Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 78077 ProgrammingKnowledge
Viewing Files- head,tail,pg,more, File Compression - UNIX/LINUX Tutorials for beginners
 
18:28
Topics Covered: 1. Viewing Files: a. head: Displays the first 10 lines of the specified file b. tail: Displays the last 10 lines of the specified file c. pg: More handy way of printing specified number of lines of a file d. more: More handy way of printing specified number of lines of a file 2.File Compression: compress, uncompress, pack, unpack 3. Unix Manual a. man: To invoke the manual of the specified command Happy Coding :)
Views: 688 thegenuinegourav
Linux Understanding Shared Libraries
 
15:47
More videos like this online at http://www.theurbanpenguin.com If you need a little help understanding standard libraries ir shared modules in Linux then here we work with the Raspberry Pi and Raspbian Linux to show you how. We create a .so file from scratch and use it withing a program we link to the library. You will see ldd and ldconfig as well as the gcc options needed to make this work
Views: 32104 theurbanpenguin
11.  Unix Tutorial  - Ping, Telnet and ftp commands
 
17:29
This video tutorial on Unix provides information on various network commands such as Ping, Telnet and ftp commands. You can visit Unix related videos here : https://www.youtube.com/watch?v=ffYUfAqEamY&index=1&list=PLRt-r4QiDOMfnd_ARDNWpZJBYiLJvmeu7 Website: http://guru4technoworld.wix.com/technoguru Facebook : https://www.facebook.com/a2zoftech/
Views: 2814 Sandip M
UNIX 1.15 rsync command part 1 (Video Tutorial)
 
30:11
Support fuzicast.com by clicking on youtube ads and make sure to subscribe to my channel for more videos on UNIX, Perl and SQL. facebook: facebook.com/fuzicast twitter: @fuzicast youtube: youtube.com/yuejdesigner85 rsync OPTIONS SOURCE DESTINATION SOURCE/DESTINATION can be local or remote rsync sample.txt local/sample.txt rsync sample.txt [email protected]:~/sample.txt rsync -e "ssh -i fuzicast-home.pem" sample.txt [email protected]:~/sample.txt #use this for password-less access rsync --progress # shows progress of data transfer # you can time the following commands to check their execution time rsync -zv sample.txt [email protected]:~/sample.txt # -z for compressed transfer, -v for verbose rsync -zvr local [email protected]:~/ # -r for recurively copying rsync -avz local [email protected]:~/ # -a does many things, recursion and preserves timestamp, permission and links # alternatively, you can use -l (preserve links), -p (preserve permission), -t (timestamp), -o (ownership), -g (group) rsync -dv local [email protected]:~/ # only synchronize directory tree rsync -avz --delete local [email protected]:~/ # in addition to synchronization, it will also delete any unmatched files in remote host rsync -avz --existing local [email protected]:~/ # synchronize but do not add new files to DESTINATION rsync -avzi local [email protected]:~/ # tells you which side has differences f+++++++ local/badfile # f means differences in file, + means its new f.st.... local/sample.txt # s means size differences, t means timestamp changed rsync -avz --exclude 'ex*' local [email protected]:~/ # exclude certain files rsync -avz --max-size 200k local [email protected]:~/ # set a max size for files to transfer rsync -avzW local [email protected]:~/ # force whole file transfer rsync -avzn local [email protected]:~/ # -n will do a dry run with no changes taken effect, it only tells you what would be changed rsync -avzu local [email protected]:~/ # update remote files only if local is newer than remote give credit to http://www.thegeekstuff.com/2010/09/rsync-command-examples/
Views: 8758 fuzicast
Unix : For Software Testers-Day 7 :  Chmod command in details
 
14:39
Chmod command : How to set file permission Change different options
Views: 1737 Testing World
CLKF Course: Strip out Comments and Blank Lines with Grep (Linux/Unix)
 
02:10
http://www.linuxtrainingacademy.com/strip-out-comments-blank-lines-grep Use the following grep command to strip out comments and blank lines $ grep -Ev "^#|^$" file The -E options enables extended regular expressions. This allows us to use the pipe to represent the "or" condition in our pattern. The -v option inverts the match meaning that grep will only print lines that do not match our search pattern. The "^#" pattern matches all lines that begin with a pound sign (#) while the "^$" pattern matches all the blank lines. [[email protected] etc]$ head /etc/sysctl.conf # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 [[email protected] etc]$ grep -Ev '^#|^$' sysctl.conf net.ipv4.ip_forward = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.default.accept_source_route = 0 kernel.sysrq = 0 kernel.core_uses_pid = 1 net.ipv4.tcp_syncookies = 1 net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 kernel.msgmnb = 65536 kernel.msgmax = 65536 kernel.shmmax = 4294967295 kernel.shmall = 268435456 [[email protected] etc]$ http://www.linuxtrainingacademy.com