Posts

Showing posts with the label linux

Some basic commands for Kali Linux

Some basic commands for Kali Linux File Operations pwd                        Print Name Of Current/Working Directory cd                         Changing The Working Directory cp                         Copy Files Or Directory rm                         Remove Files And Directory ls                         List Of Directory Contents mkdir                      Make Directory cat                        Concatenate Files And Print On Standard Output mv                         Move Files chmod         ...

Spotify installieren Linux Mint 18

Image
Spotify installieren Linux Mint 18 Spotify unter Linux Mint 18 Eine Anleitung, wie Ihr Spotify unter Linux Mint 18 installieren k�nnt... �ffnet das Terminal und f�hrt diese vier Befehle aus: [1] sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 [2] echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list [3] sudo apt-get update [4] sudo apt-get install spotify-client Nach der Installation k�nnt Ihr Spotify im Startmen� aufrufen. Beim ersten Start anmelden... Und schon k�nnt Ihr Spotify nutzen. Die Sprache wird nicht umgestellt, deshalb die Settings aufrufen (Einstellungen) Unter Choose language sucht Ihn in der Liste Deutsch (German) und wenn Ihr kein Problem mit der Datenmenge habt, dann gleich " High quality streaming " aktivieren, falls es euer Account zulassen sollte. Spotify in der Version 1.0.37.152.gc83ea995 funktioniert unter Linux Mint 18 fehler...

static MAJOR number allocation in character device driver in linux

static MAJOR number allocation in character device driver in linux # include < linux/module.h > # include < linux/fs.h > # include < linux/major.h > # include < linux/capability.h > # include < asm/uaccess.h > # include < linux/cdev.h > static ssize_t sample_char_read ( struct file * file , char __user * buf , size_t count , loff_t * ppos ) { printk ( " sample_char_read size( %ld ) " , count ) ; return 0 ; } static ssize_t sample_char_write ( struct file * filp , const char * buf , size_t size , loff_t * offp ) { printk ( " sample_char_write size( %ld ) " , size ) ; return size ; } int sample_char_open ( struct inode * inode , struct file * filp ) { printk ( " sample_char_open " ) ; return 0 ; } int sample_char_release ( struct inode * inode , struct file * filp ) { printk ( " sample_char_release " ) ; return 0 ; } static struct file_operations sample_char_fops = { ...

Special File permissions in linux

Image
Special File permissions in linux Pranaam to all bhai ji _/_ Today we will learn about some other Linux file system permissions aka special file permissions After setting up these permissions on  file/directory , any user who runs that executable file assumes the user id of the owner (or group) of the executable file. we must be careful during implementing these permissions because misconfiguration may rise risk of system security by normal user. Before proceeding to this article , you mus have knowledge about basic file permissions in linux else you wont feel comfortable with this post. here is the link for basic file permissions if you want to have a look on them   http://www.mannulinux.org/2013/08/file-permissions-in-linux.html there are 3 types of special permission in Linux system 1. Sticky Bit 2.Suid (set user id) 3.Sgid (set group id) permission symbols for these permissions are following permission            octal representation...

SOLVED 4 Step How to Install Broadcom Wireless Linux Ubuntu

SOLVED 4 Step How to Install Broadcom Wireless Linux Ubuntu [SOLVED] How to Install Broadcom Wireless Linux - usually the broadcom wireless was broken or error after you are upgrade ubuntu, updare kernel, or etc. So, here Im will explain how to repait it. First, for install broadcom wireless linux ubuntu , use LAN cable for getting internet access. Second, open your terminal and type the following this command  sudo apt-get purge bcmwl-kernel-source Third, to install broadcom wireless linux ubuntu , type this command  sudo apt-get install bcmwl-kernel-source Remove the module before  sudo modprobe -r b43 ssb wl After it, you can enable the module. I recommend using wl module, and than type this command sudo modprobe wl And than restart you PC. If this way are not working, you can following this tutorial in http://paperforshare.blogspot.com/2014/05/install-broadcom-bcm4311-wireless-on.html Source : here Paper 4Share - [SOLVED] How to Install Broadcom Wireless Linux U...

some usefull websites for linux users

some usefull websites for linux users 1.http://sourcedigit.com 2.linux.softpedia.com 3.http://ubuntuhandbook.org/ download file now

STEPS TO INSTALL NS2 ON LINUX

STEPS TO INSTALL NS2 ON LINUX 1) Download ns-allinone-2.35 from :   http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download 2)  Extract the downloaded zip file ns-allinone-2.35.tar.gz file to desktop. 3)  Now you need to download some essential packages for ns2,these packages can be downloaded by using the following command : applications>accessories>terminal or dashhome>trminal then type the below line on the terminal window     " sudo apt-get install build-essential autoconf automake libxmu-dev libtool gcc "     or type this command     " sudo apt-get install autoconf automake gcc g++ build-essential libxmu-dev libtool libxt-dev " 4)  Now change your directory(here i have already extracted the downloaded files to desktop,so my location is desktop) type the following codes in the command window to install NS2.     cd Desktop    ...

Some Bodhi Linux Video Goodness

Image
Some Bodhi Linux Video Goodness Id like to take a moment to share a few wonderful videos one of the Bodhi team members has taken the time to put together. This first is a short sound byte/advertisement for our upcoming 2.0.0 release: These next two show case the winners of our Desktop of the Week contest: 2nd Quarter Winners 2012 1st Quarter Winners 2012 Enjoy! ~Jeff Hoogland download file now

Spice Up Your Linux Desktop With The Moka Project GTK Icon Themes

Image
Spice Up Your Linux Desktop With The Moka Project GTK Icon Themes Many of you are probably already familiar with the Moka Project but, since I never covered it, and the project has evolved a lot recently, I though Id write an article about it now. Stark Ceru GTK theme / Faba Ceru icon theme in Unity (Ubuntu 14.04) Moka started as a single icon theme but it has evolved into an entire project which includes multiple GTK and icon themes for the Linux desktop as well as icon themes for Android, all designed / developed by +Sam Hewitt. Currently, the Moka Project consists of 3 beautiful GTK themes (Moka, Orchis and Stark) and 3 icon themes (Moka, Faba and Faba Colors) for Linux desktops, accompanied by a GNOME Shell and a Plank theme. Here are a few screenshots with some of the GTK / icon themes included in the Moka Project: Moka Icon Theme Faba Colors To allow you to choose from 6 different folder colors, theres a supplementary theme to Faba called Faba Colors (along with Faba Light/Dark) ...

Solution merge two files append two files in Linux

Solution merge two files append two files in Linux Code: cat file1 file2 .. fileN > mergedfile Note the > in the command: it points that the target file follows, dont forget to put it there. Advance:   If you accept that entries in the resulting file are sorted, you can use uniq to remove duplicates. Code: cat file1 file2 | sort | uniq > mergedfile download file now

some basic commands that we use in linux

Image
some basic commands that we use in linux Pranaam to all bhai ji _/_ in this post we will go through some basic commands which we use commonly in linux. but first of all let me clear term full path and relative path. full path is the path of something with respect to  /   for example if we are in /root directory and we have file i.txt , then full path for the file will be  /root/i.txt  for file , which exist in  var directory, having name log.txt , full path will be /var/log.txt relative path is path respect to current working directory in which we are working suppose, we are in directory /home/ica and there is file user.txt in directory document the relative path for file user.txt will be document/user.txt and full path will be /home/ica/document/user.txt   we will discuss about following commands in this tutorial pwd - to know present working directory cd - change directory cp - file/directory copy purpose rm - removing file/directory mkdir - create new d...