Skip to content

Latest commit

 

History

History

0x02-shell_redirections

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

0x02. Shell, I/O Redirections and filters

Print "Hello, World".

Print "(Ôo)'.

Print the content of /etc/passwd.

Print the content of /etc/passwd and /etc/hosts.

Print the last 10 lines of /etc/passwd.

Print the first 10 lines of /etc/passwd.

Print the third line of the file iacta.

Create a file named \*\\'"Best School"\'\\*$\?\*\*\*\*\*:) containing "Best School" and a new line.

Write the result of ls -la in the file ls_cwd_content.

Duplicate the last line of the file iacta and paste it to the end of the file.

Delete all the files in the current directory and sub-directories ending with .js.

Count the number of directories and sub-directories in the current one.

Print the 10 newest files in the current directory.

Take a list of input and print only the words appearing exactly once.

Print lines containg "root" in /etc/passwd.

Print the number of lines that contain "bin" in /etc/passwd.

Print lines containing "root" and the 3 following in /etc/passwd.

Print all lines that doesn't contain "bin" in /etc/passwd.

Print all lines /etc/ssh/sshd_config starting with a letter.

Replace all characters A and c from input to Z and e respectively.

Remove all letters c and C from input.

Reverse the input.

Print all users and their homes directories, sorted by users.

Print all empty files and directories in the current directory and all sub-directories.

Print all files with a .gif extension in the current directory and all sub-directories.

Decode acrostics and print it to the standard output.

Parses web servers logs in TSV format as input and print the 11 hosts or IP addresses which did the most requests.